Skip to content

Commit

Permalink
Move login to the scenario to get the driver started
Browse files Browse the repository at this point in the history
  • Loading branch information
Prometee committed Sep 26, 2024
1 parent eae33b1 commit a9e3b9e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ Feature: Adding a new Stripe Checkout Session payment method

Background:
Given the store operates on a single channel in "United States"
And I am logged in as an administrator

@ui @javascript
Scenario: Adding a new stripe payment method using authorize
Given I want to create a new Stripe Checkout Session payment method
Given I am logged in as an administrator
And I want to create a new Stripe Checkout Session payment method
When I name it "Stripe Checkout Session" in "English (United States)"
And I specify its code as "stripe_sca_test"
And I configure it with test stripe gateway data "TEST", "TEST"
Expand All @@ -23,7 +23,8 @@ Feature: Adding a new Stripe Checkout Session payment method

@ui @javascript
Scenario: Adding a new stripe payment method not using authorize
Given I want to create a new Stripe Checkout Session payment method
Given I am logged in as an administrator
And I want to create a new Stripe Checkout Session payment method
When I name it "Stripe Checkout Session" in "English (United States)"
And I specify its code as "stripe_sca_test"
And I configure it with test stripe gateway data "TEST", "TEST"
Expand Down
7 changes: 4 additions & 3 deletions features/admin/stripe_js/managing_payment_method.feature
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ Feature: Adding a new Stripe JS payment method

Background:
Given the store operates on a single channel in "United States"
And I am logged in as an administrator

@ui @javascript
Scenario: Adding a new stripe payment method using authorize
Given I want to create a new Stripe JS payment method
Given I am logged in as an administrator
And I want to create a new Stripe JS payment method
When I name it "Stripe JS" in "English (United States)"
And I specify its code as "stripe_sca_test"
And I configure it with test stripe gateway data "TEST", "TEST"
Expand All @@ -23,7 +23,8 @@ Feature: Adding a new Stripe JS payment method

@ui @javascript
Scenario: Adding a new stripe payment method not using authorize
Given I want to create a new Stripe JS payment method
Given I am logged in as an administrator
And I want to create a new Stripe JS payment method
When I name it "Stripe JS" in "English (United States)"
And I specify its code as "stripe_sca_test"
And I configure it with test stripe gateway data "TEST", "TEST"
Expand Down

0 comments on commit a9e3b9e

Please sign in to comment.