Added waitForExist for the Unmute button to prevent race condition

This commit is contained in:
Oleksandr Zhurbenko 2017-10-27 13:02:00 -07:00
parent 3889efe81b
commit 0d50bcbfe1

View File

@ -15,6 +15,7 @@ describe('Screenshots:', function() {
it('Home page viewport looks good', function() {
$('.icon-bbb-listen').click();
browser.element('[aria-label="Unmute"]').waitForExist(5000);
expectImageMatch(browser.checkViewport(), 'Home page viewport isn\'t the same');
});