We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When my tests fail, the browser window it ran in doesn't close. What could I be doing wrong?
I think it might have something to do with the fact that the 'testComplete' method doesn't work for me as it is presented in the documentation.
The documentation suggests that I use it like this:
browser .chain .session() .open('/') .end(function(err){ browser.testComplete(function() { if(err) throw err; done() }); });
The 'done' callback in the previous code never gets called and my test never knows that it was completed.
This is what I currently use:
browser .chain .session() .open('/') .testComplete() .end(function(err){ if(err) throw err; done(); });
Any tips?
The text was updated successfully, but these errors were encountered:
When the test fails the chain of commands are exited. Ons should find a way to close the browser in the function that runs after each test.
Sorry, something went wrong.
No branches or pull requests
When my tests fail, the browser window it ran in doesn't close. What could I be doing wrong?
I think it might have something to do with the fact that the 'testComplete' method doesn't work for me as it is presented in the documentation.
The documentation suggests that I use it like this:
The 'done' callback in the previous code never gets called and my test never knows that it was completed.
This is what I currently use:
Any tips?
The text was updated successfully, but these errors were encountered: