Skip to content
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

Run is stoped after a fail/error in any before() method #4284

Open
olkaz opened this issue Oct 25, 2024 · 0 comments
Open

Run is stoped after a fail/error in any before() method #4284

olkaz opened this issue Oct 25, 2024 · 0 comments

Comments

@olkaz
Copy link

olkaz commented Oct 25, 2024

Description of the bug/issue

When run get a NightwatchAssertError (or any other fail/error) in before() method the all run a stopped. No report is created.

I'm expecting that only failed test will be skipped, not an entire suite.

Steps to reproduce

Clone an example project
Run npm install
run >> npx nightwatch ./test/mobile-app-tests/ --env app.android.real --reporter=html --open

Sample test

Check an example project

Command to run

npx nightwatch ./test/mobile-app-tests/ --env app.android.real --reporter=html --open

Verbose Output

No response

Nightwatch Configuration

Check an example project

Nightwatch.js Version

3.8.0

Node Version

No response

Browser

No response

Operating System

No response

Additional Information

Example test > https://github.com/pretorian121/test-proj

Problem in a discord chat > https://discord.com/channels/618399631038218240/935468415731253258/1298987835650605206

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant