Skip to content

Commit

Permalink
fix: remove commercial only locator method (#307)
Browse files Browse the repository at this point in the history
  • Loading branch information
frobel authored Feb 5, 2025
1 parent 9532a88 commit ba108ea
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/page-objects/storefront/AccountOrder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,6 @@ export class AccountOrder implements PageObject {
totalGross: totalGross,
}
}
getViewSubscriptionLink = (orderNumber: string): Locator => {
const orderContainer = this.page.locator('.order-item-header', { hasText: `Order Number: ${orderNumber}`});
return orderContainer.getByText('View Subscription');
};

url() {
return 'account/order';
Expand Down

0 comments on commit ba108ea

Please sign in to comment.