File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
tests/e2e/ui-tests/pulsifi Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,10 @@ test.describe('smoke test for talent app', () => {
99 } ) ;
1010
1111 test ( 'should load the app successfully' , async ( { page } ) => {
12- await page . waitForTimeout ( 1 * 60 * 1000 ) ; // Wait for 1 minute to ensure the app is fully loaded
13- await page . getByPlaceholder ( 'yours@example.com' ) . fill ( 'test1 @gmail.com' ) ;
14- await page . getByPlaceholder ( 'your password' ) . fill ( 'Qa12345' ) ;
15- await page . getByLabel ( ' Log In') . click ( ) ;
12+ await page . waitForTimeout ( 30 * 1000 ) ;
13+ await page . getByRole ( 'textbox' , { name : 'Email' } ) . fill ( 'test2 @gmail.com' ) ;
14+ await page . getByRole ( 'textbox' , { name : 'Password' } ) . fill ( 'Qa12345' ) ;
15+ await page . getByRole ( 'button' , { name : ' Log In' } ) . click ( ) ;
1616
1717 } ) ;
1818} ) ;
You can’t perform that action at this time.
0 commit comments