-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
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
Execution is stopped after beforeEach method #1947
Comments
I don't think we have enough here to properly diagnose the problem. Could you maybe include a better reproducible testcase and try to format the config so it's easier to read? |
I believe I encountered a similar (same?) issue.
If I enable either the
I checked and it happens both with the chrome and firefox driver. Possibly relevant nightwatch config:
|
@Shyiy is that with |
Script run is hanging after 'before' step |
This is the output wit the
|
I am having the same issue on 1.0.16. Placing commands in a regular testcase works fine and executes without issue. Moving that same code into Edit: I am running it on Windows using Internet Explorer 11 |
I also see the same issue on 1.0.15 and 1.0.16. And as @Shyiy mentions, it works as expected in 1.0.14. Here is my test:
The last line in verbose output is:
But the testCase |
I have a test which has a beforeEach method. I'm testing the new nightwatch version (1.0.16) and after the "beforeEach" method is ran the test execution is finished and the test is never executed.
The method that is called from the beforeEach is from another class.
This works great in Nightwatch 0.9.20, but it's not working in 1.0.15 and 1.0.16.
I'm using nightwatch@1.0.16, chromedriver@2.44.0, chrome@70.0 on MacOS Mojave (10.14.1), Node 10.12.0 and NPM 6.4.1
My nightwatch config is like :
The text was updated successfully, but these errors were encountered: