Skip to content

Commit 0851d5d

Browse files
Fix minor issue. It should return Promise
1 parent 529ce51 commit 0851d5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

selenium/test/pageobjects/VhostsAdminTab.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const TABLE_SECTION = By.css('div#main div#vhosts.section table.list')
1313

1414
module.exports = class VhostsAdminTab extends AdminTab {
1515
async isLoaded () {
16-
await this.waitForDisplayed(MAIN_SECTION)
16+
return this.waitForDisplayed(MAIN_SECTION)
1717
}
1818
async searchForVhosts(vhost, regex = false) {
1919
await this.sendKeys(FILTER_VHOST, vhost)

0 commit comments

Comments
 (0)