Skip to content

Commit

Permalink
Increase growl duration
Browse files Browse the repository at this point in the history
  • Loading branch information
Boubker BRIBRI committed Dec 4, 2020
1 parent 6beb599 commit 6202920
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/UI/pages/BO/BObasePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ module.exports = class BOBasePage extends CommonPage {
async closeGrowlMessage(page) {
// Close growl message if exist
try {
await page.$eval(this.growlCloseButton, e => e.click());
await page.click(this.growlCloseButton);
await page.waitForSelector(this.growlMessageBlock, {state: 'hidden'});
} catch (e) {
// If element does not exist it's already not visible
Expand Down

0 comments on commit 6202920

Please sign in to comment.