diff --git a/features/register_enterprise.feature b/features/register_enterprise.feature index 0acaa05..c981773 100644 --- a/features/register_enterprise.feature +++ b/features/register_enterprise.feature @@ -9,7 +9,7 @@ Feature: register enterprise | joaosilva | Joao Silva | joaosilva@example.com | And I am logged in as "joaosilva" - And I am on Joao Silva's control panel + And I am on joaosilva's control panel And feature "enterprise_registration" is enabled on environment Scenario: enterprise registration is disabled by admin @@ -92,7 +92,7 @@ Feature: register enterprise And I press "Next" Then I should see "Enterprise registration completed" And I am logged in as admin - And I go to the Control panel + And I go to admin_user's control panel When I follow "Tasks" within ".control-panel" Then I should see "Joao Silva wants to create enterprise My Enterprise." And the first mail is to admin_user@example.com @@ -100,7 +100,7 @@ Feature: register enterprise And I press "Apply!" Then the last mail is to joaosilva@example.com And I am logged in as "joaosilva" - And I am on Joao Silva's control panel + And I am on joaosilva's control panel When I follow "Manage my groups" Then I should see "My Enterprise" @@ -119,7 +119,7 @@ Feature: register enterprise And I press "Next" Then I should see "Enterprise registration completed" And I am logged in as admin - And I go to the Control panel + And I go to admin_user's control panel When I follow "Tasks" within ".control-panel" Then I should see "Joao Silva wants to create enterprise My Enterprise." And the first mail is to admin_user@example.com @@ -128,7 +128,7 @@ Feature: register enterprise And I press "Apply!" Then the last mail is to joaosilva@example.com And I am logged in as "joaosilva" - And I am on Joao Silva's control panel + And I am on joaosilva's control panel When I follow "Manage my groups" Then I should not see "My Enterprise" @@ -156,12 +156,12 @@ Feature: register enterprise When I choose "Validator" And I press "Confirm" Then I should see "Enterprise registration completed" - And I am on Validator's control panel + And I am on validator's control panel When I follow "Tasks" Then I should see "Joao Silva wants to create enterprise My Enterprise." And I choose "Accept" And I press "Apply!" - And I am on Joao Silva's control panel + And I am on joaosilva's control panel When I follow "Manage my groups" Then I should see "My Enterprise" @@ -189,13 +189,13 @@ Feature: register enterprise When I choose "Validator" And I press "Confirm" Then I should see "Enterprise registration completed" - And I am on Validator's control panel + And I am on validator's control panel When I follow "Tasks" Then I should see "Joao Silva wants to create enterprise My Enterprise." And I choose "Reject" And I fill in "Rejection explanation" with "This enterprise has some irregularities." And I press "Apply" - And I am on Joao Silva's control panel + And I am on joaosilva's control panel When I follow "Manage my groups" Then I should not see "My Enterprise" -- libgit2 0.21.2