test: add reset password tests
This commit is contained in:
@@ -6,9 +6,11 @@ export class MyProfilePage extends AuthenticatedPage {
|
||||
|
||||
this.fullName = this.page.locator('[name="fullName"]');
|
||||
this.email = this.page.locator('[name="email"]');
|
||||
this.currentPassword = this.page.locator('[name="currentPassword"]');
|
||||
this.newPassword = this.page.locator('[name="password"]');
|
||||
this.passwordConfirmation = this.page.locator('[name="confirmPassword"]');
|
||||
this.updateProfileButton = this.page.getByTestId('update-profile-button');
|
||||
this.updatePasswordButton = this.page.getByTestId('update-password-button');
|
||||
this.settingsMenuItem = this.page.getByRole('menuitem', {
|
||||
name: 'Settings',
|
||||
});
|
||||
|
Reference in New Issue
Block a user