File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11import { test , expect , type Page } from "@playwright/test" ;
22
33const adminLogin = async ( page : Page ) => {
4- await page . getByPlaceholder ( "Account name or email" ) . fill ( process . env . NEXTCLOUD_ADMIN_USER ! ) ;
5- await page . getByPlaceholder ( "Account name or email" ) . press ( "Tab" ) ;
4+ await page . getByPlaceholder ( "Login with username or email" ) . fill ( process . env . NEXTCLOUD_ADMIN_USER ! ) ;
5+ await page . getByPlaceholder ( "Login with username or email" ) . press ( "Tab" ) ;
66 await page . getByPlaceholder ( "Password" ) . fill ( process . env . NEXTCLOUD_ADMIN_PASSWORD ! ) ;
77 await page . getByPlaceholder ( "Password" ) . press ( "Enter" ) ;
88} ;
99
1010const testUserLogin = async ( page : Page ) => {
1111 // Log in as other user
12- await page . getByPlaceholder ( "Account name or email" ) . fill ( "testuser-1" ) ;
13- await page . getByPlaceholder ( "Account name or email" ) . press ( "Tab" ) ;
12+ await page . getByPlaceholder ( "Login with username or email" ) . fill ( "testuser-1" ) ;
13+ await page . getByPlaceholder ( "Login with username or email" ) . press ( "Tab" ) ;
1414 await page . getByPlaceholder ( "Password" ) . fill ( "testuser-1-password" ) ;
1515 await page . getByPlaceholder ( "Password" ) . press ( "Enter" ) ;
1616} ;
You can’t perform that action at this time.
0 commit comments