zombie icon indicating copy to clipboard operation
zombie copied to clipboard

Selection option which change location

Open xluk9 opened this issue 7 years ago • 1 comments

Hello, I have a problem with options which changes the location of the browser. This is my code

before(function (done) {
      browser.select('#orderBy', 'Rating High', done)
      // Selecting the options should do the same as visit the path below
      // this.browser.visit('/profiles?orderBy=5', done)
    })

And then I assert something on the resulting page.

But I get this error

Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves

xluk9 avatar Apr 26 '17 19:04 xluk9

You're not giving enough time to get an error. Try adding: this.timeout(5000); To your describe function and then post the error it provides once you re run the test.

sparkhead95 avatar May 03 '17 15:05 sparkhead95