Переглянути джерело

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

factor2
Hristo Terezov 4 місяці тому
джерело
коміт
0e831074c0
1 змінених файлів з 4 додано та 2 видалено
  1. 4
    2
      tests/specs/3way/audioVideoModeration.spec.ts

+ 4
- 2
tests/specs/3way/audioVideoModeration.spec.ts Переглянути файл

@@ -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
     });

Завантаження…
Відмінити
Зберегти