Skip to content

Commit ad66c3d

Browse files
committed
Adding a feature file
1 parent 1a92745 commit ad66c3d

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

features/issues/758.feature

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# https://github.com/badeball/cypress-cucumber-preprocessor/issues/758
2+
3+
Feature: visualizing hook with filter
4+
Scenario: visualizing hook with filter
5+
Given a file named "cypress/e2e/a.feature" with:
6+
"""
7+
@foo
8+
Feature: a feature x
9+
Scenario: a scenario a
10+
Given a step
11+
12+
Feature: a feature x
13+
Scenario: a scenario b
14+
Given a step
15+
"""
16+
And a file named "cypress/support/step_definitions/steps.js" with:
17+
"""
18+
const { BeforeAll, AfterAll, Given } = require("@badeball/cypress-cucumber-preprocessor");
19+
BeforeAll(() => {})
20+
Given("a step", function() {
21+
})
22+
AfterAll(() => {})
23+
"""
24+
When I run cypress
25+
Then it passes

0 commit comments

Comments
 (0)