diff options
Diffstat (limited to 'tests/acceptance/features')
-rw-r--r-- | tests/acceptance/features/bootstrap/LoginPageContext.php | 2 | ||||
-rw-r--r-- | tests/acceptance/features/login.feature | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/acceptance/features/bootstrap/LoginPageContext.php b/tests/acceptance/features/bootstrap/LoginPageContext.php index 55db8c33bb7..4b0672f652c 100644 --- a/tests/acceptance/features/bootstrap/LoginPageContext.php +++ b/tests/acceptance/features/bootstrap/LoginPageContext.php @@ -111,7 +111,7 @@ class LoginPageContext implements Context, ActorAwareInterface { */ public function iAmLoggedIn() { $this->featureContext->iVisitTheHomePage(); - $this->iLogInWithUserAndPassword("user0", "123456"); + $this->iLogInWithUserAndPassword("user0", "123456acb"); $this->filesAppContext->iSeeThatTheCurrentPageIsTheFilesApp(); } diff --git a/tests/acceptance/features/login.feature b/tests/acceptance/features/login.feature index c4cd2add8e6..e414209206e 100644 --- a/tests/acceptance/features/login.feature +++ b/tests/acceptance/features/login.feature @@ -2,7 +2,7 @@ Feature: login Scenario: log in with valid user and password Given I visit the Home page - When I log in with user user0 and password 123456 + When I log in with user user0 and password 123456acb Then I see that the current page is the Files app Scenario: try to log in with valid user and invalid password @@ -25,20 +25,20 @@ Feature: login Scenario: try to log in with invalid user Given I visit the Home page - When I log in with user unknownUser and password 123456 + When I log in with user unknownUser and password 123456acb Then I see that the current page is the Login page And I see that a wrong password message is shown Scenario: log in with invalid user once fixed by admin Given I act as John - And I can not log in with user unknownUser and password 123456 + And I can not log in with user unknownUser and password 123456acb When I act as Jane And I am logged in as the admin And I open the User settings - And I create user unknownUser with password 123456 + And I create user unknownUser with password 123456acb And I see that the list of users contains the user unknownUser And I act as John - And I log in with user unknownUser and password 123456 + And I log in with user unknownUser and password 123456acb Then I see that the current page is the Files app Scenario: log out |