Fix password update (#71)
* Fix password update * Use next or callback params for retro-compatibility
This commit is contained in:
committed by
GitHub
parent
2fe8fc0231
commit
25adc2d1e3
@@ -80,4 +80,10 @@ export class AuthPageObject {
|
||||
|
||||
await this.visitConfirmEmailLink(email);
|
||||
}
|
||||
|
||||
async updatePassword(password: string) {
|
||||
await this.page.fill('[name="password"]', password);
|
||||
await this.page.fill('[name="repeatPassword"]', password);
|
||||
await this.page.click('[type="submit"]');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user