File tree Expand file tree Collapse file tree 2 files changed +1
-23
lines changed
Expand file tree Collapse file tree 2 files changed +1
-23
lines changed Original file line number Diff line number Diff line change @@ -21,26 +21,6 @@ export class LoginPage {
2121 }
2222
2323
24- /*
25-
26- test('test', async ({ page }) => {
27- await page.goto('http://localhost:3000/');
28- await page.goto('http://localhost:3000/apps');
29- await page.goto('http://localhost:3000/user/auth/login');
30- await page.getByPlaceholder('Please enter your email').click();
31- await page.getByPlaceholder('Please enter your email').fill('admin@admin .com');
32- await page.getByRole('button', { name: 'Continue' }).click();
33- await page.getByPlaceholder('Please enter your password').click();
34- await page.getByPlaceholder('Please enter your password').fill('admin1234');
35- await page.getByRole('button', { name: 'Sign In' }).click();
36- await page.getByTitle('admin@admin.com', { exact: true }).click();
37- await page.getByText('admin@admin.com', { exact: true }).click();
38- await page.getByText('My Profile').click();
39- });
40-
41- */
42-
43-
4424 async loadPage ( ) {
4525 await this . page . goto ( '/user/auth/login' ) ;
4626 }
Original file line number Diff line number Diff line change @@ -25,9 +25,7 @@ export class SignUpPage {
2525 await expect ( this . page . getByText ( 'Password' , { exact : true } ) , '"password" text input is displayed' ) . toBeVisible ( ) ;
2626 await expect ( this . page . getByText ( 'Confirm Password' ) , '"confirm password" text input is displayed' ) . toBeVisible ( ) ;
2727 await expect ( this . page . getByText ( 'I Have Read and Agree to the' ) , 'agree to ToS checkbox is displayed' ) . toBeVisible ( ) ;
28-
29- // TODO: uncomment and add testId once it's added in frontend
30- // await expect(this.page.getByTestId(''), 'agree to ToS checkbox is checked').toBeChecked();
28+ await expect ( this . page . getByTestId ( 'agree-terms-checkbox' ) , 'agree to ToS checkbox is checked' ) . toBeChecked ( ) ;
3129
3230 /** Fill inputs and clicn sign up */
3331 await this . txtEmail . click ( ) ;
You can’t perform that action at this time.
0 commit comments