Skip to content

Commit 2ae7151

Browse files
Fix flake due to timing issue
And bump up chromedriver
1 parent 9f4853c commit 2ae7151

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

selenium/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"author": "",
1313
"license": "ISC",
1414
"dependencies": {
15-
"chromedriver": "^130.0.4",
15+
"chromedriver": "^132.0",
1616
"ejs": "^3.1.8",
1717
"express": "^4.18.2",
1818
"geckodriver": "^3.0.2",

selenium/test/pageobjects/BasePage.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ module.exports = class BasePage {
4545
return this.selectOption(SELECT_REFRESH, option)
4646
}
4747
async waitForOverviewTab() {
48+
await this.driver.sleep(250)
4849
return this.waitForDisplayed(OVERVIEW_TAB)
4950
}
5051

@@ -56,13 +57,15 @@ module.exports = class BasePage {
5657
return this.click(CONNECTIONS_TAB)
5758
}
5859
async waitForConnectionsTab() {
60+
await this.driver.sleep(250)
5961
return this.waitForDisplayed(CONNECTIONS_TAB)
6062
}
6163

6264
async clickOnAdminTab () {
6365
return this.click(ADMIN_TAB)
6466
}
6567
async waitForAdminTab() {
68+
await this.driver.sleep(250)
6669
return this.waitForDisplayed(ADMIN_TAB)
6770
}
6871

0 commit comments

Comments
 (0)