Commit c4de0610953d7330319bd16f3235e3960fc68a94

Authored by Antonio Terceiro
1 parent 584df3ec

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 67 | contact_email |
68 68 And I follow "Register a new enterprise"
69 69 And I fill in the following:
70   - | Identifier | my-enterprise |
  70 + | Address | my-enterprise |
71 71 | Name | My Enterprise |
72 72 | Foundation year | |
73 73 | Contact person | |
... ... @@ -86,10 +86,10 @@ Feature: register enterprise
86 86 | Sample State |
87 87 And I follow "Register a new enterprise"
88 88 And I fill in the following:
89   - | Identifier | my-enterprise |
  89 + | Address | my-enterprise |
90 90 | Name | My Enterprise |
91 91 And I press "Next"
92   - Then I should see "Enterprise Registration completed"
  92 + Then I should see "Enterprise registration completed"
93 93 And I am logged in as admin
94 94 And I follow "Control panel"
95 95 When I follow "Tasks"
... ... @@ -110,10 +110,10 @@ Feature: register enterprise
110 110 | Sample State |
111 111 And I follow "Register a new enterprise"
112 112 And I fill in the following:
113   - | Identifier | my-enterprise |
  113 + | Address | my-enterprise |
114 114 | Name | My Enterprise |
115 115 And I press "Next"
116   - Then I should see "Enterprise Registration completed"
  116 + Then I should see "Enterprise registration completed"
117 117 And I am logged in as admin
118 118 And I follow "Control panel"
119 119 When I follow "Tasks"
... ... @@ -141,14 +141,15 @@ Feature: register enterprise
141 141 | Sample State | Validator |
142 142 And I follow "Register a new enterprise"
143 143 And I fill in the following:
144   - | Identifier | my-enterprise |
  144 + | Address | my-enterprise |
145 145 | Name | My Enterprise |
146 146 And I select "Sample State" from "Region"
147 147 And I press "Next"
148 148 Then I should see "Validator"
149 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 153 And I am on Validator's control panel
153 154 When I follow "Tasks"
154 155 Then I should see /Processing task: Enterprise registration: "My Enterprise"/
... ... @@ -173,14 +174,15 @@ Feature: register enterprise
173 174 | Sample State | Validator |
174 175 And I follow "Register a new enterprise"
175 176 And I fill in the following:
176   - | Identifier | my-enterprise |
  177 + | Address | my-enterprise |
177 178 | Name | My Enterprise |
178 179 And I select "Sample State" from "Region"
179 180 And I press "Next"
180 181 Then I should see "Validator"
181 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 186 And I am on Validator's control panel
185 187 When I follow "Tasks"
186 188 Then I should see /Processing task: Enterprise registration: "My Enterprise"/
... ...