@@ -30,14 +30,14 @@ public function testLoginPageFormFieldsAreVisible(): void
3030
3131 $ this ->assertSelectorExists ('input[name="username"] ' );
3232 $ this ->assertSelectorExists ('input[name="password"] ' );
33- $ this ->assertSelectorTextContains ('label[for="username"] ' , 'Username ' );
33+ $ this ->assertSelectorTextContains ('label[for="username"] ' , 'Login ' );
3434 $ this ->assertSelectorTextContains ('label[for="password"] ' , 'Password ' );
3535 $ this ->assertSelectorExists ('button[type="submit"] ' );
36- $ this ->assertSelectorTextContains ('button[type="submit"] ' , 'Sign in ' );
36+ $ this ->assertSelectorTextContains ('button[type="submit"] ' , 'Sign In ' );
3737 $ this ->assertSelectorExists ('.login-container ' );
3838 $ this ->assertSelectorExists ('#vue-app ' );
3939
40- $ this ->assertSelectorTextContains ('h1 ' , 'Sign in to phpList ' );
40+ $ this ->assertSelectorTextContains ('h4 ' , 'Sign in to your account ' );
4141 }
4242
4343 public function testLoginFormSubmission (): void
@@ -48,7 +48,7 @@ public function testLoginFormSubmission(): void
4848 ]);
4949 $ client ->request ('GET ' , '/app_test.php/login ' );
5050
51- $ client ->submitForm ('Sign in ' , [
51+ $ client ->submitForm ('Sign In ' , [
5252 'username ' => 'invalid_user ' ,
5353 'password ' => 'invalid_password '
5454 ]);
0 commit comments