diff --git a/tests/playwright/pages/CheckoutPageSFRA5.mjs b/tests/playwright/pages/CheckoutPageSFRA5.mjs index 30e965d41..6cb40f553 100644 --- a/tests/playwright/pages/CheckoutPageSFRA5.mjs +++ b/tests/playwright/pages/CheckoutPageSFRA5.mjs @@ -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(); };