verschieben des sofortigen verzichts auf das Widerrrufsrecht zum Anlegen des Events
This commit is contained in:
@@ -164,11 +164,6 @@ async function acceptCheckoutTerms(page: import('@playwright/test').Page) {
|
||||
const termsCheckbox = page.locator('#checkout-terms-hero');
|
||||
await expect(termsCheckbox).toBeVisible();
|
||||
await termsCheckbox.click();
|
||||
|
||||
const waiverCheckbox = page.locator('#checkout-waiver-hero');
|
||||
if (await waiverCheckbox.isVisible()) {
|
||||
await waiverCheckbox.click();
|
||||
}
|
||||
}
|
||||
|
||||
declare global {
|
||||
|
||||
@@ -44,11 +44,6 @@ test.describe('Paddle sandbox full flow (staging)', () => {
|
||||
await expect(termsCheckbox).toBeVisible();
|
||||
await termsCheckbox.click();
|
||||
|
||||
const waiverCheckbox = page.locator('#checkout-waiver-hero');
|
||||
if (await waiverCheckbox.isVisible()) {
|
||||
await waiverCheckbox.click();
|
||||
}
|
||||
|
||||
const checkoutCta = page.getByRole('button', { name: /Weiter mit Paddle|Continue with Paddle/i }).first();
|
||||
await expect(checkoutCta).toBeVisible({ timeout: 20000 });
|
||||
|
||||
|
||||
@@ -103,11 +103,6 @@ test.describe('Standard package checkout with Paddle completion', () => {
|
||||
await expect(termsCheckbox).toBeVisible();
|
||||
await termsCheckbox.click();
|
||||
|
||||
const waiverCheckbox = page.locator('#checkout-waiver-hero');
|
||||
if (await waiverCheckbox.isVisible()) {
|
||||
await waiverCheckbox.click();
|
||||
}
|
||||
|
||||
await page.getByRole('button', { name: /Weiter mit Paddle|Continue with Paddle/i }).first().click();
|
||||
|
||||
let checkoutMode: 'inline' | 'hosted' | null = null;
|
||||
|
||||
Reference in New Issue
Block a user