Skip to content

Commit 75d6acd

Browse files
update tags feature (#1643)
1 parent 1a8bc79 commit 75d6acd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

features/target_specific_scenarios_by_tag.feature

+6-6
Original file line numberDiff line numberDiff line change
@@ -30,29 +30,29 @@ Feature: Target specific scenarios
3030
"""
3131
const {Given} = require('@cucumber/cucumber')
3232
33-
Given(/^a step is (.*)$/, function() {})
33+
Given('a step', function() {})
3434
"""
3535

3636
Scenario: run a single scenario
3737
When I run cucumber-js with `--tags @a`
38-
Then it fails
38+
Then it passes
3939
And it runs the scenario "first scenario"
4040

4141
Scenario: filter out scenarios with ~
4242
When I run cucumber-js with `--tags "not @b"`
43-
Then it fails
43+
Then it passes
4444
And it runs the scenario "first scenario"
4545

4646
Scenario: merge multiple tag expressions
4747
When I run cucumber-js with `--tags @b --tags "not @c"`
48-
Then it fails
48+
Then it passes
4949
And it runs the scenarios:
5050
| NAME |
5151
| second scenario - Z |
5252

5353
Scenario: run a single scenario outline
5454
When I run cucumber-js with `--tags @b`
55-
Then it fails
55+
Then it passes
5656
And it runs the scenarios:
5757
| NAME |
5858
| second scenario - X |
@@ -61,7 +61,7 @@ Feature: Target specific scenarios
6161

6262
Scenario: run a single scenario outline examples
6363
When I run cucumber-js with `--tags @c`
64-
Then it fails
64+
Then it passes
6565
And it runs the scenarios:
6666
| NAME |
6767
| second scenario - X |

0 commit comments

Comments
 (0)