-
-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8677 from nick-prater/contact-bank-account-testing
Field labels and BDD tests for Bank Account screen
- Loading branch information
Showing
6 changed files
with
111 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
@weasel | ||
Feature: Add Entity | ||
As a LedgerSMB user I want to add a bank account to an entity, edit that | ||
bank account, then delete it. | ||
|
||
Background: | ||
Given a standard test company | ||
And a logged in admin user | ||
|
||
Scenario: Create a company and add a bank account to it | ||
When I navigate the menu and select the item at "Contacts > Add Entity" | ||
Then I should see the Edit Contact screen | ||
And I expect the "Company" tab to be selected | ||
When I enter "Company A" into "Name" | ||
And I select "Germany" from the drop down "Country" | ||
And I press "Save" | ||
And I select the "Bank Accounts" tab | ||
Then I expect the "Bank Accounts" tab to be selected | ||
When I enter "DEUTDEFF500" into the "BIC/SWIFT Code" field | ||
And I enter "DE89370400440532013000" into the "Account Number" field | ||
And I enter "A remark" into the "Remark" field | ||
And I press "Save" | ||
Then I expect the Bank Accounts table to contain 1 row | ||
And I expect the 'BIC/SWIFT Code' column to contain 'DEUTDEFF500' for Account Number 'DE89370400440532013000' | ||
And I expect the 'Remark' column to contain 'A remark' for Account Number 'DE89370400440532013000' |
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