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,7 +11,7 @@ Feature: activate enterprise | ||
| 11 | 11 | ||
| 12 | Scenario: added an unexistent code | 12 | Scenario: added an unexistent code |
| 13 | Given feature "enterprise_activation" is enabled on environment | 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 | And I fill in "Enterprise activation code" with "abcde" | 15 | And I fill in "Enterprise activation code" with "abcde" |
| 16 | When I press "Activate" | 16 | When I press "Activate" |
| 17 | Then I should see "Invalid enterprise code" | 17 | Then I should see "Invalid enterprise code" |
| @@ -21,7 +21,7 @@ Feature: activate enterprise | @@ -21,7 +21,7 @@ Feature: activate enterprise | ||
| 21 | And the following enterprises | 21 | And the following enterprises |
| 22 | | identifier | name | enabled | | 22 | | identifier | name | enabled | |
| 23 | | products-factory | Products Factory | false | | 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 | And enterprise "Products Factory" is enabled | 25 | And enterprise "Products Factory" is enabled |
| 26 | And I fill in "Enterprise activation code" with code of "Products Factory" | 26 | And I fill in "Enterprise activation code" with code of "Products Factory" |
| 27 | When I press "Activate" | 27 | When I press "Activate" |
| @@ -32,7 +32,7 @@ Feature: activate enterprise | @@ -32,7 +32,7 @@ Feature: activate enterprise | ||
| 32 | And the following enterprises | 32 | And the following enterprises |
| 33 | | identifier | name | enabled | | 33 | | identifier | name | enabled | |
| 34 | | products-factory | Products Factory | false | | 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 | And I fill in "Enterprise activation code" with code of "Products Factory" | 36 | And I fill in "Enterprise activation code" with code of "Products Factory" |
| 37 | When I press "Activate" | 37 | When I press "Activate" |
| 38 | Then I should see "We don't have enough information about your enterprise to identify you." | 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,7 +43,7 @@ Feature: activate enterprise | ||
| 43 | And the following enterprises | 43 | And the following enterprises |
| 44 | | identifier | name | enabled | foundation_year | | 44 | | identifier | name | enabled | foundation_year | |
| 45 | | services-provider | Services Provider | false | 2000 | | 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 | And I fill in "Enterprise activation code" with code of "Services Provider" | 47 | And I fill in "Enterprise activation code" with code of "Services Provider" |
| 48 | And I press "Activate" | 48 | And I press "Activate" |
| 49 | And I fill in "What year your enterprise was founded? It must have 4 digits, eg 1990." with "1999" | 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,7 +56,7 @@ Feature: activate enterprise | ||
| 56 | And the following enterprises | 56 | And the following enterprises |
| 57 | | identifier | name | enabled | cnpj | | 57 | | identifier | name | enabled | cnpj | |
| 58 | | services-provider | Services Provider | false | 94.132.024/0001-48 | | 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 | And I fill in "Enterprise activation code" with code of "Services Provider" | 60 | And I fill in "Enterprise activation code" with code of "Services Provider" |
| 61 | And I press "Activate" | 61 | And I press "Activate" |
| 62 | And I fill in "What is the CNPJ of your enterprise?" with "12345678912345" | 62 | And I fill in "What is the CNPJ of your enterprise?" with "12345678912345" |
| @@ -70,9 +70,9 @@ Feature: activate enterprise | @@ -70,9 +70,9 @@ Feature: activate enterprise | ||
| 70 | And the following enterprises | 70 | And the following enterprises |
| 71 | | identifier | name | enabled | foundation_year | | 71 | | identifier | name | enabled | foundation_year | |
| 72 | | services-provider | Services Provider | false | 2000 | | 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 | And I fill in "Enterprise activation code" with code of "Services Provider" | 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 | And I fill in "What year your enterprise was founded? It must have 4 digits, eg 1990." with "2000" | 76 | And I fill in "What year your enterprise was founded? It must have 4 digits, eg 1990." with "2000" |
| 77 | And I press "Continue" | 77 | And I press "Continue" |
| 78 | And I check "I read the terms of use and accepted them" | 78 | And I check "I read the terms of use and accepted them" |
| @@ -91,9 +91,9 @@ Feature: activate enterprise | @@ -91,9 +91,9 @@ Feature: activate enterprise | ||
| 91 | | active-template | Active Template | false | 2000 | | 91 | | active-template | Active Template | false | 2000 | |
| 92 | And "Active Template" is the active enterprise template | 92 | And "Active Template" is the active enterprise template |
| 93 | And "Services Provider 2" doesnt have "Active Template" as template | 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 | And I fill in "Enterprise activation code" with code of "Services Provider 2" | 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 | And I fill in "What year your enterprise was founded? It must have 4 digits, eg 1990." with "2000" | 97 | And I fill in "What year your enterprise was founded? It must have 4 digits, eg 1990." with "2000" |
| 98 | And I press "Continue" | 98 | And I press "Continue" |
| 99 | And I check "I read the terms of use and accepted them" | 99 | And I check "I read the terms of use and accepted them" |
| @@ -113,9 +113,9 @@ Feature: activate enterprise | @@ -113,9 +113,9 @@ Feature: activate enterprise | ||
| 113 | | active-template | Active Template | false | 2000 | | 113 | | active-template | Active Template | false | 2000 | |
| 114 | And "Active Template" is the active enterprise template | 114 | And "Active Template" is the active enterprise template |
| 115 | And "Services Provider 3" doesnt have "Active Template" as template | 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 | And I fill in "Enterprise activation code" with code of "Services Provider 3" | 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 | And I fill in "What year your enterprise was founded? It must have 4 digits, eg 1990." with "2000" | 119 | And I fill in "What year your enterprise was founded? It must have 4 digits, eg 1990." with "2000" |
| 120 | And I press "Continue" | 120 | And I press "Continue" |
| 121 | And I check "I read the terms of use and accepted them" | 121 | And I check "I read the terms of use and accepted them" |