Commit e4defc23d69eda22461398d7156cd3028fe76cdb
Committed by
Daniela Feitosa
1 parent
3b8292e4
Exists in
master
and in
22 other branches
activate_enterprise.feature
Showing
1 changed file
with
11 additions
and
11 deletions
Show diff stats
features/activate_enterprise.feature
| ... | ... | @@ -11,7 +11,7 @@ Feature: activate enterprise |
| 11 | 11 | |
| 12 | 12 | Scenario: added an unexistent code |
| 13 | 13 | Given feature "enterprise_activation" is enabled on environment |
| 14 | - And I am on Joao Silva's control panel | |
| 14 | + And I am on joaosilva's control panel | |
| 15 | 15 | And I fill in "Enterprise activation code" with "abcde" |
| 16 | 16 | When I press "Activate" |
| 17 | 17 | Then I should see "Invalid enterprise code" |
| ... | ... | @@ -21,7 +21,7 @@ Feature: activate enterprise |
| 21 | 21 | And the following enterprises |
| 22 | 22 | | identifier | name | enabled | |
| 23 | 23 | | products-factory | Products Factory | false | |
| 24 | - And I am on Joao Silva's control panel | |
| 24 | + And I am on joaosilva's control panel | |
| 25 | 25 | And enterprise "Products Factory" is enabled |
| 26 | 26 | And I fill in "Enterprise activation code" with code of "Products Factory" |
| 27 | 27 | When I press "Activate" |
| ... | ... | @@ -32,7 +32,7 @@ Feature: activate enterprise |
| 32 | 32 | And the following enterprises |
| 33 | 33 | | identifier | name | enabled | |
| 34 | 34 | | products-factory | Products Factory | false | |
| 35 | - And I am on Joao Silva's control panel | |
| 35 | + And I am on joaosilva's control panel | |
| 36 | 36 | And I fill in "Enterprise activation code" with code of "Products Factory" |
| 37 | 37 | When I press "Activate" |
| 38 | 38 | Then I should see "We don't have enough information about your enterprise to identify you." |
| ... | ... | @@ -43,7 +43,7 @@ Feature: activate enterprise |
| 43 | 43 | And the following enterprises |
| 44 | 44 | | identifier | name | enabled | foundation_year | |
| 45 | 45 | | services-provider | Services Provider | false | 2000 | |
| 46 | - And I am on Joao Silva's control panel | |
| 46 | + And I am on joaosilva's control panel | |
| 47 | 47 | And I fill in "Enterprise activation code" with code of "Services Provider" |
| 48 | 48 | And I press "Activate" |
| 49 | 49 | And I fill in "What year your enterprise was founded? It must have 4 digits, eg 1990." with "1999" |
| ... | ... | @@ -56,7 +56,7 @@ Feature: activate enterprise |
| 56 | 56 | And the following enterprises |
| 57 | 57 | | identifier | name | enabled | cnpj | |
| 58 | 58 | | services-provider | Services Provider | false | 94.132.024/0001-48 | |
| 59 | - And I am on Joao Silva's control panel | |
| 59 | + And I am on joaosilva's control panel | |
| 60 | 60 | And I fill in "Enterprise activation code" with code of "Services Provider" |
| 61 | 61 | And I press "Activate" |
| 62 | 62 | And I fill in "What is the CNPJ of your enterprise?" with "12345678912345" |
| ... | ... | @@ -70,9 +70,9 @@ Feature: activate enterprise |
| 70 | 70 | And the following enterprises |
| 71 | 71 | | identifier | name | enabled | foundation_year | |
| 72 | 72 | | services-provider | Services Provider | false | 2000 | |
| 73 | - And I visit "Joao Silva's control panel" and wait | |
| 73 | + And I go to joaosilva's control panel | |
| 74 | 74 | And I fill in "Enterprise activation code" with code of "Services Provider" |
| 75 | - And I press "Activate" and wait | |
| 75 | + And I press "Activate" | |
| 76 | 76 | And I fill in "What year your enterprise was founded? It must have 4 digits, eg 1990." with "2000" |
| 77 | 77 | And I press "Continue" |
| 78 | 78 | And I check "I read the terms of use and accepted them" |
| ... | ... | @@ -91,9 +91,9 @@ Feature: activate enterprise |
| 91 | 91 | | active-template | Active Template | false | 2000 | |
| 92 | 92 | And "Active Template" is the active enterprise template |
| 93 | 93 | And "Services Provider 2" doesnt have "Active Template" as template |
| 94 | - And I visit "Joao Silva's control panel" and wait | |
| 94 | + And I go to joaosilva's control panel | |
| 95 | 95 | And I fill in "Enterprise activation code" with code of "Services Provider 2" |
| 96 | - And I press "Activate" and wait | |
| 96 | + And I press "Activate" | |
| 97 | 97 | And I fill in "What year your enterprise was founded? It must have 4 digits, eg 1990." with "2000" |
| 98 | 98 | And I press "Continue" |
| 99 | 99 | And I check "I read the terms of use and accepted them" |
| ... | ... | @@ -113,9 +113,9 @@ Feature: activate enterprise |
| 113 | 113 | | active-template | Active Template | false | 2000 | |
| 114 | 114 | And "Active Template" is the active enterprise template |
| 115 | 115 | And "Services Provider 3" doesnt have "Active Template" as template |
| 116 | - When I visit "Joao Silva's control panel" and wait | |
| 116 | + When I go to joaosilva's control panel | |
| 117 | 117 | And I fill in "Enterprise activation code" with code of "Services Provider 3" |
| 118 | - And I press "Activate" and wait | |
| 118 | + And I press "Activate" | |
| 119 | 119 | And I fill in "What year your enterprise was founded? It must have 4 digits, eg 1990." with "2000" |
| 120 | 120 | And I press "Continue" |
| 121 | 121 | And I check "I read the terms of use and accepted them" | ... | ... |