Skip to content

Commit

Permalink
chore: clicking consent button if visible
Browse files Browse the repository at this point in the history
  • Loading branch information
zenit2001 committed Dec 4, 2024
1 parent 7d5a8d6 commit f291240
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/playwright/pages/CheckoutPageSFRA5.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ export default class CheckoutPageSFRA5 {
await this.successMessage.waitFor({ visible: true });

await this.navigateToCheckout(locale);
if (this.consentButton.isVisible()) {
this.consentButton.click();
}
await this.checkoutGuest.click();
};

Expand Down

0 comments on commit f291240

Please sign in to comment.