You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scenario Outline: Sample test case
Given this is a test case
When I have the following data table
| <scenario_example> |
Then a JSON report will be generated
@critical
Examples:
| scenario_example |
| Test Child Tag 1 |
@blocker
Examples:
| scenario_example |
| Test Child Tag 2 |
When I run the test case above with the tag: "--tags @critical" and "-f json:reports/cucumber-report.json", the test case runs successfully, but the following error is thrown:
``[chrome #1]
[chrome #1] 8 scenarios (8 passed)
[chrome #1] 48 steps (48 passed)
[chrome #1] 2m58.724s (executing steps: 2m58.252s)
[chrome #1] [14:22:34] I/runnerCli - Cannot read property 'location' of undefined
[14:22:34] I/testLogger -
[14:22:34] E/launcher - Runner process exited unexpectedly with error code: 1
[14:22:34] I/launcher - 0 instance(s) of WebDriver still running
Is there any way to support tag at the example level (it was supported in the past )? why was that feature removed ?
The text was updated successfully, but these errors were encountered:
We have this feature that should be validating this is working. I'm not sure why all out examples are verify it failing though. Let me review that feature.
In the mean time can you provide a more complete example of what you are running? (ie a repo with the source and the exact command to run to reproduce the error). Based on the sample output it appears you are not running just basic cucumber-js
Cucumber Version: 7.0.1
Node Version: 14.14.31
Operating System: Win 10
Scenario Outline: Sample test case
Given this is a test case
When I have the following data table
| <scenario_example> |
Then a JSON report will be generated
@critical
Examples:
| scenario_example |
| Test Child Tag 1 |
@blocker
Examples:
| scenario_example |
| Test Child Tag 2 |
When I run the test case above with the tag: "--tags @critical" and "-f json:reports/cucumber-report.json", the test case runs successfully, but the following error is thrown:
``[chrome #1]
[chrome #1] 8 scenarios (8 passed)
[chrome #1] 48 steps (48 passed)
[chrome #1] 2m58.724s (executing steps: 2m58.252s)
[chrome #1] [14:22:34] I/runnerCli - Cannot read property 'location' of undefined
[14:22:34] I/testLogger -
[14:22:34] E/launcher - Runner process exited unexpectedly with error code: 1
[14:22:34] I/launcher - 0 instance(s) of WebDriver still running
Is there any way to support tag at the example level (it was supported in the past )? why was that feature removed ?
The text was updated successfully, but these errors were encountered: