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

Unable to run 2 spec files under same directory one with full scenarios and other with specific scenarios with a single command #2489

Open
rushi-alation opened this issue Feb 16, 2024 · 0 comments

Comments

@rushi-alation
Copy link

Describe the bug
Upgraded the gauge version to 1.5.4 from 1.0.5. I want to run a scenario with a similar command as below:

gauge run specs/dir1/spec1.spec specs/dir1/spec2.spec --scenario="Scenario 1" --scenario="Scenario 2"

Worked on previous version of gauge. Want to run spec 1 file completely with all scenarios and from spec2 file want to run 2 specific scenarios using scenario name.
With the command above it runs only spec 2 with 2 scenarios and completely skips spec 1 for some reason
Using line number for scenario execution is not possible since we get the scenario names dynamically.

To Reproduce
Steps to reproduce the behavior:

  1. Initialise a gauge project
  2. Run the gauge command as above

Expected behavior
Test should execute all scenarios from spec1 and specified scenarios from spec2

Env Info
`Gauge version: 1.5.4
Commit Hash: 30a0c23

Plugins

html-report (4.2.0)
java (0.9.1)
python (0.4.1)
screenshot (0.1.0)
spectacle (0.1.4)
xml-report (0.4.0)`

@rushi-alation rushi-alation changed the title Unable to run 1 spec file from dir1 and spec2 from dir2 with scenario1 and scenario2 from a single command Unable to run 2 spec files under same directory one with full scenarios and other with specific scenarios Feb 16, 2024
@rushi-alation rushi-alation changed the title Unable to run 2 spec files under same directory one with full scenarios and other with specific scenarios Unable to run 2 spec files under same directory one with full scenarios and other with specific scenarios with a single command Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant