Commit c4de0610953d7330319bd16f3235e3960fc68a94
1 parent
584df3ec
Exists in
master
and in
28 other branches
Adjusting tests to conform with new UI
Showing
1 changed file
with
13 additions
and
11 deletions
Show diff stats
features/register_enterprise.feature
@@ -67,7 +67,7 @@ Feature: register enterprise | @@ -67,7 +67,7 @@ Feature: register enterprise | ||
67 | | contact_email | | 67 | | contact_email | |
68 | And I follow "Register a new enterprise" | 68 | And I follow "Register a new enterprise" |
69 | And I fill in the following: | 69 | And I fill in the following: |
70 | - | Identifier | my-enterprise | | 70 | + | Address | my-enterprise | |
71 | | Name | My Enterprise | | 71 | | Name | My Enterprise | |
72 | | Foundation year | | | 72 | | Foundation year | | |
73 | | Contact person | | | 73 | | Contact person | | |
@@ -86,10 +86,10 @@ Feature: register enterprise | @@ -86,10 +86,10 @@ Feature: register enterprise | ||
86 | | Sample State | | 86 | | Sample State | |
87 | And I follow "Register a new enterprise" | 87 | And I follow "Register a new enterprise" |
88 | And I fill in the following: | 88 | And I fill in the following: |
89 | - | Identifier | my-enterprise | | 89 | + | Address | my-enterprise | |
90 | | Name | My Enterprise | | 90 | | Name | My Enterprise | |
91 | And I press "Next" | 91 | And I press "Next" |
92 | - Then I should see "Enterprise Registration completed" | 92 | + Then I should see "Enterprise registration completed" |
93 | And I am logged in as admin | 93 | And I am logged in as admin |
94 | And I follow "Control panel" | 94 | And I follow "Control panel" |
95 | When I follow "Tasks" | 95 | When I follow "Tasks" |
@@ -110,10 +110,10 @@ Feature: register enterprise | @@ -110,10 +110,10 @@ Feature: register enterprise | ||
110 | | Sample State | | 110 | | Sample State | |
111 | And I follow "Register a new enterprise" | 111 | And I follow "Register a new enterprise" |
112 | And I fill in the following: | 112 | And I fill in the following: |
113 | - | Identifier | my-enterprise | | 113 | + | Address | my-enterprise | |
114 | | Name | My Enterprise | | 114 | | Name | My Enterprise | |
115 | And I press "Next" | 115 | And I press "Next" |
116 | - Then I should see "Enterprise Registration completed" | 116 | + Then I should see "Enterprise registration completed" |
117 | And I am logged in as admin | 117 | And I am logged in as admin |
118 | And I follow "Control panel" | 118 | And I follow "Control panel" |
119 | When I follow "Tasks" | 119 | When I follow "Tasks" |
@@ -141,14 +141,15 @@ Feature: register enterprise | @@ -141,14 +141,15 @@ Feature: register enterprise | ||
141 | | Sample State | Validator | | 141 | | Sample State | Validator | |
142 | And I follow "Register a new enterprise" | 142 | And I follow "Register a new enterprise" |
143 | And I fill in the following: | 143 | And I fill in the following: |
144 | - | Identifier | my-enterprise | | 144 | + | Address | my-enterprise | |
145 | | Name | My Enterprise | | 145 | | Name | My Enterprise | |
146 | And I select "Sample State" from "Region" | 146 | And I select "Sample State" from "Region" |
147 | And I press "Next" | 147 | And I press "Next" |
148 | Then I should see "Validator" | 148 | Then I should see "Validator" |
149 | Then I should see "Sample methodology" | 149 | Then I should see "Sample methodology" |
150 | - When I press "Confirm" | ||
151 | - Then I should see "Enterprise Registration completed" | 150 | + When I choose "Validator" |
151 | + And I press "Confirm" | ||
152 | + Then I should see "Enterprise registration completed" | ||
152 | And I am on Validator's control panel | 153 | And I am on Validator's control panel |
153 | When I follow "Tasks" | 154 | When I follow "Tasks" |
154 | Then I should see /Processing task: Enterprise registration: "My Enterprise"/ | 155 | Then I should see /Processing task: Enterprise registration: "My Enterprise"/ |
@@ -173,14 +174,15 @@ Feature: register enterprise | @@ -173,14 +174,15 @@ Feature: register enterprise | ||
173 | | Sample State | Validator | | 174 | | Sample State | Validator | |
174 | And I follow "Register a new enterprise" | 175 | And I follow "Register a new enterprise" |
175 | And I fill in the following: | 176 | And I fill in the following: |
176 | - | Identifier | my-enterprise | | 177 | + | Address | my-enterprise | |
177 | | Name | My Enterprise | | 178 | | Name | My Enterprise | |
178 | And I select "Sample State" from "Region" | 179 | And I select "Sample State" from "Region" |
179 | And I press "Next" | 180 | And I press "Next" |
180 | Then I should see "Validator" | 181 | Then I should see "Validator" |
181 | Then I should see "Sample methodology" | 182 | Then I should see "Sample methodology" |
182 | - When I press "Confirm" | ||
183 | - Then I should see "Enterprise Registration completed" | 183 | + When I choose "Validator" |
184 | + And I press "Confirm" | ||
185 | + Then I should see "Enterprise registration completed" | ||
184 | And I am on Validator's control panel | 186 | And I am on Validator's control panel |
185 | When I follow "Tasks" | 187 | When I follow "Tasks" |
186 | Then I should see /Processing task: Enterprise registration: "My Enterprise"/ | 188 | Then I should see /Processing task: Enterprise registration: "My Enterprise"/ |