Skip to content

Commit 057a8fc

Browse files
committed
increase the wait time for local remote e2e testing
Once the Jenkins server is also deployed to AWS at https://ci.taskagile.com, the wait time will be decreased
1 parent 06d5c49 commit 057a8fc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

front-end/tests/e2e/specs/0.register.e2e.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module.exports = {
2929

3030
registerPage
3131
.navigate()
32-
.waitForElementVisible('@app', 500)
32+
.waitForElementVisible('@app', 30000)
3333
.assert.visible('@usernameInput')
3434
.assert.visible('@emailAddressInput')
3535
.assert.visible('@firstNameInput')

front-end/tests/e2e/specs/1.login.e2e.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module.exports = {
66

77
loginPage
88
.navigate()
9-
.waitForElementVisible('@app', 500)
9+
.waitForElementVisible('@app', 30000)
1010
.assert.visible('@usernameInput')
1111
.assert.visible('@passwordInput')
1212
.assert.visible('@submitButton')
@@ -20,7 +20,7 @@ module.exports = {
2020
.navigate()
2121
.login('not-exist', 'incorrect')
2222

23-
browser.pause(500)
23+
browser.pause(2000)
2424

2525
loginPage
2626
.assert.visible('@formError')

0 commit comments

Comments
 (0)