forked from AgileVentures/shf-project
-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
2c3c0ed
commit 75f5e10
Showing
7 changed files
with
55 additions
and
41 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -99,4 +99,5 @@ end | |
|
||
group :test do | ||
gem 'poltergeist' | ||
gem 'selenium-webdriver' | ||
end |
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 |
---|---|---|
|
@@ -17,7 +17,7 @@ Feature: "Other/Custom" waiting reason comes from locale file and Admin cannot e | |
Background: | ||
|
||
# it is important that this statement is first so that tables are empty, so that things will be seeded | ||
Given the system is seeded with initial data | ||
# Given the system is seeded with initial data | ||
|
||
|
||
Given the following users exists | ||
|
@@ -55,7 +55,7 @@ Feature: "Other/Custom" waiting reason comes from locale file and Admin cannot e | |
And I am logged in as "[email protected]" | ||
|
||
|
||
@admin | ||
@admin @javascript | ||
Scenario: The "other/custom" reason is listed as a reason for the 'waiting for...' status | ||
Given I am on "AnnaWaiting" application page | ||
Then "membership_application_member_app_waiting_reasons_id" should have t("admin_only.member_app_waiting_reasons.other_custom_reason") as an option | ||
|
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 |
---|---|---|
|
@@ -33,7 +33,6 @@ Feature: Admin sets or enters the reason they are waiting for info from a user | |
|
||
And the following member app waiting reasons exist | ||
| name_sv | description_sv | name_en | description_en | is_custom | | ||
| Annat (skriv in orsaken) | Annat | Other (enter the reason) | other | false | | ||
| need doc | need doc | need documentation | need more documents proving qualifications | false | | ||
| waiting for payment | still waiting for payment | waiting for payment | still waiting for payment | false | | ||
|
||
|
@@ -47,8 +46,10 @@ Feature: Admin sets or enters the reason they are waiting for info from a user | |
Scenario: Admin selects 'need more documentation' as the reason SHF is waiting_for_applicant | ||
Given I am on "AnnaWaiting" application page | ||
When I set "membership_application_member_app_waiting_reasons_id" to "need doc" | ||
And show me the page | ||
And I am on the list applications page | ||
And I am on "AnnaWaiting" application page | ||
And show me the page | ||
Then "membership_application_member_app_waiting_reasons_id" should have "need doc" selected | ||
And I should not see t("admin_only.member_app_waiting_reasons.other_custom_reason") | ||
|
||
|
@@ -104,4 +105,3 @@ Feature: Admin sets or enters the reason they are waiting for info from a user | |
Given I am logged in as "[email protected]" | ||
And I am on the application page for "AnnaWaiting" | ||
Then I should not see t("membership_applications.need_info.reason_title") | ||
|
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