Fix flaky global continue button locator
This commit is contained in:
parent
72e4269fd8
commit
ad228f735c
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ export class BasePage {
|
|||
|
||||
constructor(page: Page) {
|
||||
this.page = page;
|
||||
this.continueButton = page.locator('[id="infoBox"]').getByRole('button');
|
||||
this.continueButton = page.locator('button', { hasText: /get\s*started|continue/i });
|
||||
this.pageSpinner = page.getByRole('status');
|
||||
this.buttonLoadSpin = page.getByRole('alert');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue