Skip to content

Commit

Permalink
change Given to And
Browse files Browse the repository at this point in the history
Signed-off-by: Antal Nemes <antal.nemes.hu@gmail.com>
  • Loading branch information
furiel committed Jun 20, 2023
1 parent 0b094c1 commit d73a44b
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions features/retry.feature
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Feature: Retry flaky tests
Scenario: Failing
Given a failing step
"""
Given a file named "features/step_definitions/cucumber_steps.js" with:
And a file named "features/step_definitions/cucumber_steps.js" with:
"""
const {Given} = require('@cucumber/cucumber')
Expand All @@ -47,7 +47,7 @@ Feature: Retry flaky tests
Scenario: Failing
Given a failing step
"""
Given a file named "features/step_definitions/cucumber_steps.js" with:
And a file named "features/step_definitions/cucumber_steps.js" with:
"""
const {Given} = require('@cucumber/cucumber')
Expand All @@ -67,7 +67,7 @@ Feature: Retry flaky tests
Scenario: Flaky
Given a flaky step
"""
Given a file named "features/step_definitions/cucumber_steps.js" with:
And a file named "features/step_definitions/cucumber_steps.js" with:
"""
const {Given} = require('@cucumber/cucumber')
Expand Down Expand Up @@ -107,7 +107,7 @@ Feature: Retry flaky tests
Scenario: Flaky
Given a flaky step
"""
Given a file named "features/step_definitions/cucumber_steps.js" with:
And a file named "features/step_definitions/cucumber_steps.js" with:
"""
const {Given} = require('@cucumber/cucumber')
Expand Down Expand Up @@ -149,7 +149,7 @@ Feature: Retry flaky tests
Scenario: Good
Given a good step
"""
Given a file named "features/step_definitions/cucumber_steps.js" with:
And a file named "features/step_definitions/cucumber_steps.js" with:
"""
const {Given} = require('@cucumber/cucumber')
Expand Down Expand Up @@ -197,7 +197,7 @@ Feature: Retry flaky tests
Scenario: Good
Given a good step
"""
Given a file named "features/step_definitions/cucumber_steps.js" with:
And a file named "features/step_definitions/cucumber_steps.js" with:
"""
const {Given} = require('@cucumber/cucumber')
Expand Down Expand Up @@ -246,7 +246,7 @@ Feature: Retry flaky tests
Scenario: Bad
Given a bad step
"""
Given a file named "features/step_definitions/cucumber_steps.js" with:
And a file named "features/step_definitions/cucumber_steps.js" with:
"""
const {Given} = require('@cucumber/cucumber')
Expand Down Expand Up @@ -305,7 +305,7 @@ Feature: Retry flaky tests
Scenario: Failing
Given a failing step
"""
Given a file named "features/step_definitions/cucumber_steps.js" with:
And a file named "features/step_definitions/cucumber_steps.js" with:
"""
const {Given} = require('@cucumber/cucumber')
Expand All @@ -330,7 +330,7 @@ Feature: Retry flaky tests
Scenario: Flaky
Given a flaky step
"""
Given a file named "features/step_definitions/cucumber_steps.js" with:
And a file named "features/step_definitions/cucumber_steps.js" with:
"""
const {Given} = require('@cucumber/cucumber')
Expand All @@ -357,7 +357,7 @@ Feature: Retry flaky tests
Scenario: Flaky
Given a flaky step
"""
Given a file named "features/step_definitions/cucumber_steps.js" with:
And a file named "features/step_definitions/cucumber_steps.js" with:
"""
const {Given} = require('@cucumber/cucumber')
Expand Down Expand Up @@ -386,7 +386,7 @@ Feature: Retry flaky tests
Scenario: Also Flaky
Given an other flaky step
"""
Given a file named "features/step_definitions/cucumber_steps.js" with:
And a file named "features/step_definitions/cucumber_steps.js" with:
"""
const {Given} = require('@cucumber/cucumber')
Expand Down Expand Up @@ -430,7 +430,7 @@ Feature: Retry flaky tests
Scenario: Third Flaky
Given one more flaky step
"""
Given a file named "features/step_definitions/cucumber_steps.js" with:
And a file named "features/step_definitions/cucumber_steps.js" with:
"""
const {Given} = require('@cucumber/cucumber')
Expand Down Expand Up @@ -479,7 +479,7 @@ Feature: Retry flaky tests
Scenario: Flaky
Given a flaky step
"""
Given a file named "features/step_definitions/cucumber_steps.js" with:
And a file named "features/step_definitions/cucumber_steps.js" with:
"""
const {Before, After, Given, setWorldConstructor} = require('@cucumber/cucumber')
Expand Down Expand Up @@ -526,7 +526,7 @@ Feature: Retry flaky tests
Scenario: Passing
Given a passing step
"""
Given a file named "features/step_definitions/cucumber_steps.js" with:
And a file named "features/step_definitions/cucumber_steps.js" with:
"""
const {Given} = require('@cucumber/cucumber')
Expand Down Expand Up @@ -558,7 +558,7 @@ Feature: Retry flaky tests
Scenario: Passing
Given a passing step
"""
Given a file named "features/step_definitions/cucumber_steps.js" with:
And a file named "features/step_definitions/cucumber_steps.js" with:
"""
const {Given} = require('@cucumber/cucumber')
Expand All @@ -578,7 +578,7 @@ Feature: Retry flaky tests
Scenario: Flaky
Given a flaky step
"""
Given a file named "lib/custom_formatter.js" with:
And a file named "lib/custom_formatter.js" with:
"""
const { ProgressFormatter, RerunFormatter } = require('@cucumber/cucumber')
Expand All @@ -591,7 +591,7 @@ Feature: Retry flaky tests
module.exports = Formatter
"""
Given a file named "features/step_definitions/cucumber_steps.js" with:
And a file named "features/step_definitions/cucumber_steps.js" with:
"""
const {Given} = require('@cucumber/cucumber')
Expand Down

0 comments on commit d73a44b

Please sign in to comment.