Permalink
Browse files

Fixing Nightwatch tests broken by Chrome fix #504

  • Loading branch information...
napernik committed Jan 3, 2018
1 parent 11ce672 commit 1a0cc0227b6f90f631d43e66e989f1228fa5f306
Showing with 2 additions and 2 deletions.
  1. +1 −1 Website/test/e2e/pageObjects/login.js
  2. +1 −1 Website/test/e2e/suite/100_login/procedure.js
@@ -35,7 +35,7 @@ module.exports = {
.setUsername(username || 'admin')
.setPassword(password || '123456')
.click('@submitButton')
.waitForElementNotVisible('@usernameField', this.api.globals.timeouts.basic);
.waitForElementNotPresent('@usernameField', this.api.globals.timeouts.basic);
}
}
]
@@ -8,7 +8,7 @@ module.exports = {
.setUsername('admin')
.setPassword('123456')
.click('@submitButton')
.waitForElementNotVisible('@usernameField', 5000);
.waitForElementNotPresent('@usernameField', 5000);
// Check that start screen is shown
browser.page.appWindow().enter();
startScreen.waitForElementVisible('@startFrame', 5000);

0 comments on commit 1a0cc02

Please sign in to comment.