diff --git a/features/login.feature b/features/login.feature index b75bca7..838a1db 100644 --- a/features/login.feature +++ b/features/login.feature @@ -28,29 +28,29 @@ Feature: login And the following articles | owner | name | homepage | | mariasilva | my home page | true | - And I go to Maria Silva's homepage + And I go to mariasilva's homepage And I follow "Login" And I fill in the following: | Username | joaosilva | | Password | 123456 | When I press "Log in" - Then I should be on Maria Silva's homepage + Then I should be on mariasilva's homepage Scenario: view my control panel Given feature "allow_change_of_redirection_after_login" is disabled on environment And I am not logged in - And I go to Joao Silva's control panel + And I go to joaosilva's control panel And I should be on login page And I fill in the following: | Username | joaosilva | | Password | 123456 | When I press "Log in" - Then I should be on Joao Silva's control panel + Then I should be on joaosilva's control panel Scenario: be redirected if user goes to login page and is logged Given I am logged in as "joaosilva" And I go to login page - Then I should be on Joao Silva's control panel + Then I should be on joaosilva's control panel Scenario: stay on the same page after login if this is the environment default Given feature "allow_change_of_redirection_after_login" is enabled on environment @@ -62,19 +62,19 @@ Feature: login And the following articles | owner | name | homepage | | mariasilva | my home page | true | - And I go to Maria Silva's homepage + And I go to mariasilva's homepage And I follow "Login" And I fill in the following: | Username | joaosilva | | Password | 123456 | When I press "Log in" - Then I should be on Maria Silva's homepage + Then I should be on mariasilva's homepage Scenario: go to site homepage if this is the environment default Given feature "allow_change_of_redirection_after_login" is enabled on environment And I am not logged in And the environment is configured to redirect to site homepage after login - And I go to Joao Silva's homepage + And I go to joaosilva's homepage And I follow "Login" And I fill in the following: | Username | joaosilva | @@ -92,7 +92,7 @@ Feature: login | Username | joaosilva | | Password | 123456 | When I press "Log in" - Then I should be on Joao Silva's profile + Then I should be on joaosilva's profile Scenario: go to profile homepage after login if this is the environment default Given the following articles @@ -107,7 +107,7 @@ Feature: login | Username | joaosilva | | Password | 123456 | When I press "Log in" - Then I should be on Joao Silva's homepage + Then I should be on joaosilva's homepage Scenario: go to profile control panel after login if this is the environment default Given feature "allow_change_of_redirection_after_login" is enabled on environment @@ -119,7 +119,7 @@ Feature: login | Username | joaosilva | | Password | 123456 | When I press "Log in" - Then I should be on Joao Silva's control panel + Then I should be on joaosilva's control panel Scenario: stay on the same page after login if this is the profile default Given feature "allow_change_of_redirection_after_login" is enabled on environment @@ -132,20 +132,20 @@ Feature: login And the following articles | owner | name | homepage | | mariasilva | my home page | true | - And I go to Maria Silva's homepage + And I go to mariasilva's homepage And I follow "Login" And I fill in the following: | Username | joaosilva | | Password | 123456 | When I press "Log in" - Then I should be on Maria Silva's homepage + Then I should be on mariasilva's homepage Scenario: go to site homepage if this is the profile default Given feature "allow_change_of_redirection_after_login" is enabled on environment And I am not logged in And the environment is configured to stay on the same page after login And the profile joaosilva is configured to redirect to site homepage after login - And I go to Joao Silva's homepage + And I go to joaosilva's homepage And I follow "Login" And I fill in the following: | Username | joaosilva | @@ -164,7 +164,7 @@ Feature: login | Username | joaosilva | | Password | 123456 | When I press "Log in" - Then I should be on Joao Silva's profile + Then I should be on joaosilva's profile Scenario: go to profile homepage after login if this is the profile default Given the following articles @@ -180,7 +180,7 @@ Feature: login | Username | joaosilva | | Password | 123456 | When I press "Log in" - Then I should be on Joao Silva's homepage + Then I should be on joaosilva's homepage Scenario: go to profile control panel after login if this is the profile default Given feature "allow_change_of_redirection_after_login" is enabled on environment @@ -193,4 +193,4 @@ Feature: login | Username | joaosilva | | Password | 123456 | When I press "Log in" - Then I should be on Joao Silva's control panel + Then I should be on joaosilva's control panel -- libgit2 0.21.2