This repository has been archived by the owner on Jul 30, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
107 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
Feature: Credit Card Form URL | ||
As a vendor on the platform | ||
I want to see the Credit Card Form URL stored for my account | ||
So that I can make sure payments are going to the right place | ||
|
||
Scenario: Vendor views Credit Card Form URL | ||
Given I am an authenticated vendor | ||
And there is a Credit Card Form URL associated with my account | ||
When I visit my profile page | ||
Then I should see my credit card form URL in the "Credit Card Form URL" field | ||
|
||
Scenario: Vendor saves a payment URL | ||
Given I am an authenticated vendor | ||
And there is no Credit Card Form URL associated with my account | ||
When I visit my profile page | ||
And I fill in the Credit Card Form URL field on my profile page | ||
And I click on the "Submit" button | ||
Then I should be on the home page | ||
|
||
When I visit my profile page | ||
Then I should see my credit card form URL in the "Credit Card Form URL" field | ||
|
||
Scenario: Vendor edits an existing Payment URL | ||
Given I am an authenticated vendor | ||
And there is a Credit Card Form URL associated with my account | ||
And I visit my profile page | ||
When I fill in the Credit Card Form URL field on my profile page | ||
And I click on the "Submit" button | ||
Then I should be on the home page | ||
|
||
When I visit my profile page | ||
Then the new value should be stored as my Credit Card Form URL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters