Merge branch 'main' into feature/203-demo-notice-wording
This commit is contained in:
@@ -14,6 +14,8 @@ export class OrdersPage {
|
||||
readonly continueShoppingButton: Locator;
|
||||
readonly backToShopButton: Locator;
|
||||
readonly anyDialog: Locator;
|
||||
readonly demoNotice: Locator;
|
||||
readonly demoOrderMarker: Locator;
|
||||
|
||||
constructor(private readonly page: Page) {
|
||||
this.heading = page.getByRole('heading', { name: 'Order History' });
|
||||
@@ -21,6 +23,8 @@ export class OrdersPage {
|
||||
this.continueShoppingButton = page.getByRole('button', { name: 'Continue Shopping' });
|
||||
this.backToShopButton = page.getByRole('button', { name: 'Back to Shop' });
|
||||
this.anyDialog = page.getByRole('dialog');
|
||||
this.demoNotice = page.getByText('Some of these are demo orders');
|
||||
this.demoOrderMarker = page.getByText('Demo (not charged)');
|
||||
}
|
||||
|
||||
async goto(): Promise<void> {
|
||||
|
||||
Reference in New Issue
Block a user