Add TPA submit button for global continue locator
This commit is contained in:
parent
623c407357
commit
4525ce95ce
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ export class BasePage {
|
||||||
constructor(page: Page) {
|
constructor(page: Page) {
|
||||||
this.page = page;
|
this.page = page;
|
||||||
this.continueButton = page.locator('button[data-test-id="site-footer-main-button"]')
|
this.continueButton = page.locator('button[data-test-id="site-footer-main-button"]')
|
||||||
.and(page.locator('button', { hasText: /get\s*started|continue/i }));
|
.and(page.locator('button', { hasText: /get\s*started|continue|submit/i }));
|
||||||
this.pageSpinner = page.getByRole('status');
|
this.pageSpinner = page.getByRole('status');
|
||||||
this.buttonLoadSpin = page.getByRole('alert');
|
this.buttonLoadSpin = page.getByRole('alert');
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue