verschieben des sofortigen verzichts auf das Widerrrufsrecht zum Anlegen des Events

This commit is contained in:
Codex Agent
2025-12-22 13:11:16 +01:00
parent 84234bfb8e
commit c947e638eb
29 changed files with 877 additions and 374 deletions

View File

@@ -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 {

View File

@@ -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 });

View File

@@ -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;