zombie
zombie copied to clipboard
Selection option which change location
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
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.