Added waitForExist for the Unmute button to prevent race condition
This commit is contained in:
parent
3889efe81b
commit
0d50bcbfe1
1
bigbluebutton-html5/tests/webdriverio/specs/visual-regression/modals.spec.js
Normal file → Executable file
1
bigbluebutton-html5/tests/webdriverio/specs/visual-regression/modals.spec.js
Normal file → Executable file
@ -15,6 +15,7 @@ describe('Screenshots:', function() {
|
|||||||
|
|
||||||
it('Home page viewport looks good', function() {
|
it('Home page viewport looks good', function() {
|
||||||
$('.icon-bbb-listen').click();
|
$('.icon-bbb-listen').click();
|
||||||
|
browser.element('[aria-label="Unmute"]').waitForExist(5000);
|
||||||
expectImageMatch(browser.checkViewport(), 'Home page viewport isn\'t the same');
|
expectImageMatch(browser.checkViewport(), 'Home page viewport isn\'t the same');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user