Commit 748f7e324b9a5277af8dd4f55a9ba270552c10d2
1 parent
2a92f591
Exists in
master
and in
29 other branches
Fixed selenium tests for url change
(ActionItem2053)
Showing
1 changed file
with
6 additions
and
6 deletions
Show diff stats
features/edit_profile.feature
@@ -64,9 +64,9 @@ Feature: edit profile | @@ -64,9 +64,9 @@ Feature: edit profile | ||
64 | And feature "enable_organization_url_change" is enabled on environment | 64 | And feature "enable_organization_url_change" is enabled on environment |
65 | When I go to O Rappa's control panel | 65 | When I go to O Rappa's control panel |
66 | And I follow "Community Info and settings" and wait | 66 | And I follow "Community Info and settings" and wait |
67 | - Then I should not see "WARNING! You are about to change the address" | 67 | + Then the "#identifier-change-confirmation" should not be visible |
68 | When I fill in "Address" with "banda-o-rappa" | 68 | When I fill in "Address" with "banda-o-rappa" |
69 | - Then I should see "WARNING! You are about to change the address" | 69 | + Then the "#identifier-change-confirmation" should be visible |
70 | 70 | ||
71 | @selenium | 71 | @selenium |
72 | Scenario: Confirm url change | 72 | Scenario: Confirm url change |
@@ -77,9 +77,9 @@ Feature: edit profile | @@ -77,9 +77,9 @@ Feature: edit profile | ||
77 | When I go to O Rappa's control panel | 77 | When I go to O Rappa's control panel |
78 | And I follow "Community Info and settings" and wait | 78 | And I follow "Community Info and settings" and wait |
79 | When I fill in "Address" with "banda-o-rappa" | 79 | When I fill in "Address" with "banda-o-rappa" |
80 | - Then I should see "WARNING! You are about to change the address" | 80 | + Then the "#identifier-change-confirmation" should be visible |
81 | When I follow "Yes" | 81 | When I follow "Yes" |
82 | - Then I should not see "WARNING! You are about to change the address" | 82 | + Then the "#identifier-change-confirmation" should not be visible |
83 | 83 | ||
84 | @selenium | 84 | @selenium |
85 | Scenario: Cancel url change | 85 | Scenario: Cancel url change |
@@ -90,6 +90,6 @@ Feature: edit profile | @@ -90,6 +90,6 @@ Feature: edit profile | ||
90 | When I go to O Rappa's control panel | 90 | When I go to O Rappa's control panel |
91 | And I follow "Community Info and settings" and wait | 91 | And I follow "Community Info and settings" and wait |
92 | When I fill in "Address" with "banda-o-rappa" | 92 | When I fill in "Address" with "banda-o-rappa" |
93 | - Then I should see "WARNING! You are about to change the address" | 93 | + Then the "#identifier-change-confirmation" should be visible |
94 | When I follow "No" | 94 | When I follow "No" |
95 | - Then I should not see "WARNING! You are about to change the address" | 95 | + Then the "#identifier-change-confirmation" should not be visible |