Skip to content

Commit

Permalink
fixed wdio errorhandler test
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-bromann committed Jan 22, 2016
1 parent 6882800 commit 054f7ef
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/fixtures/specs/stale.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ describe('staleElementRetry', () => {
* results (isDisplayed === true), then finally (isDisplayed === false),
* which occurs well within the 6 second total wait time.
*/
goodElementRequest(scope, sessionId, 10)
goodElementRequest(scope, sessionId, 6)
isDisplayed(scope, sessionId, 1, true)
staleElementError(scope, sessionId, 1)
isDisplayed(scope, sessionId, 2, true)
Expand All @@ -102,6 +102,9 @@ describe('staleElementRetry', () => {

afterEach(() => {
nock.cleanAll()
})

after(() => {
nock.restore()
})
})

0 comments on commit 054f7ef

Please sign in to comment.