Browse Source

fix(av-moderation-test): random timing failures.

factor2
Hristo Terezov 4 months ago
parent
commit
0e831074c0
1 changed files with 4 additions and 2 deletions
  1. 4
    2
      tests/specs/3way/audioVideoModeration.spec.ts

+ 4
- 2
tests/specs/3way/audioVideoModeration.spec.ts View File

@@ -166,8 +166,8 @@ describe('AVModeration', () => {
166 166
 
167 167
         // p1 mute audio on p2 and check
168 168
         await p1.getFilmstrip().muteAudio(p2);
169
-        await p1.getFilmstrip().assertAudioMuteIconIsDisplayed(p1);
170
-        await p2.getFilmstrip().assertAudioMuteIconIsDisplayed(p1);
169
+        await p1.getFilmstrip().assertAudioMuteIconIsDisplayed(p2);
170
+        await p2.getFilmstrip().assertAudioMuteIconIsDisplayed(p2);
171 171
 
172 172
         // we try to unmute and test it that it was still muted
173 173
         await tryToAudioUnmuteAndCheck(p2, p1);
@@ -206,6 +206,8 @@ describe('AVModeration', () => {
206 206
 
207 207
         // mute and check
208 208
         await p1.getFilmstrip().muteAudio(p2);
209
+        await p1.getFilmstrip().assertAudioMuteIconIsDisplayed(p2);
210
+        await p2.getFilmstrip().assertAudioMuteIconIsDisplayed(p2);
209 211
 
210 212
         await tryToAudioUnmuteAndCheck(p2, p1);
211 213
     });

Loading…
Cancel
Save