Skip to content

Commit

Permalink
Illustrate #788
Browse files Browse the repository at this point in the history
  • Loading branch information
badeball committed Aug 8, 2022
1 parent 9dc9938 commit 5dc35ab
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions features/issues/788.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# https://github.com/badeball/cypress-cucumber-preprocessor/issues/788

Feature: calculating common ancestor path
Scenario:
Given a file named "cypress/e2e/1/a.feature" with:
"""
Feature: a feature
Scenario: a scenario
Given a step
"""
And a file named "cypress/e2e/2/a.feature" with:
"""
Feature: a feature
Scenario: a scenario
Given a step
"""
And a file named "cypress/e2e/3/a.feature" with:
"""
Feature: a feature
Scenario: a scenario
Given a step
"""
And a file named "cypress/support/step_definitions/steps.js" with:
"""
const { Given } = require("@badeball/cypress-cucumber-preprocessor");
Given("a step", function() {})
"""
When I run cypress
Then it passes

0 comments on commit 5dc35ab

Please sign in to comment.