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

pass test cases having scenarios with skipped tags #1389

Open
MalikOvaiz opened this issue Apr 17, 2022 · 0 comments · May be fixed by #1420
Open

pass test cases having scenarios with skipped tags #1389

MalikOvaiz opened this issue Apr 17, 2022 · 0 comments · May be fixed by #1420

Comments

@MalikOvaiz
Copy link

MalikOvaiz commented Apr 17, 2022

I have migrated from 2.5 to 3.10 and I am executing test cases via following command:

behat --format=progress --tags '~@wip' features/feature-file.feature

Feature file has tag @wip and has one scenario.

So when I execute test case, it skips the scenario which is right but I get error

In ExerciseController.php line 111: No specifications found at path(s) features/feature-file.feature. This might be because of incorrect paths configuration in your suites.

How can I pass all those features file which are actually skipped? These skipped test cases are appearing as failed on pipeline.

Kingdutch added a commit to Kingdutch/Behat that referenced this issue Jan 11, 2023
This allows CIs to pass when running in a way that all scenarios in a
feature file are disabled.

Fixes Behat#1389
@Kingdutch Kingdutch linked a pull request Jan 11, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant