Skip to content

Commit

Permalink
Merge pull request #126 from shopware/adjust-order-expand-button
Browse files Browse the repository at this point in the history
Change AccountOrder orderExpandButton to locator
  • Loading branch information
pweyck authored Sep 19, 2024
2 parents 84096e7 + 2f1eec4 commit 282a104
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/page-objects/storefront/AccountOrder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export class AccountOrder implements PageObject {
public readonly digitalProductDownloadButton: Locator;

constructor(public readonly page: Page) {
this.orderExpandButton = page.getByRole('button', {name: 'Expand'}).first();
this.orderExpandButton = page.getByRole('button', {name: /Expand|Show details/}).first();
this.cartLineItemImages = page.locator('.line-item-img-link');
this.digitalProductDownloadButton = page.getByRole('link', { name: 'Download' }).first();
}
Expand Down

0 comments on commit 282a104

Please sign in to comment.