Migrate billing from Paddle to Lemon Squeezy

This commit is contained in:
Codex Agent
2026-02-03 10:59:54 +01:00
parent 2f4ebfefd4
commit a0ef90e13a
228 changed files with 4369 additions and 4067 deletions

View File

@@ -6,7 +6,7 @@ import { test, expectFixture as expect } from '../helpers/test-fixtures';
* This suite is currently skipped until we have stable seed data and
* authentication helpers for Playwright. Once those are in place we can
* remove the skip and let the flow exercise the welcome -> packages -> summary
* steps with mocked Paddle APIs.
* steps with mocked Lemon Squeezy APIs.
*/
test.describe('Tenant Onboarding Welcome Flow', () => {
test('redirects unauthenticated users to login', async ({ page }) => {
@@ -47,8 +47,8 @@ test.describe('Tenant Onboarding Welcome Flow', () => {
await expect(page).toHaveURL(/\/event-admin\/mobile\/welcome\/summary/);
await expect(page.getByRole('heading', { name: /Bestellübersicht/i })).toBeVisible();
// Validate Paddle payment section.
await expect(page.getByRole('heading', { name: /^Paddle$/i })).toBeVisible();
// Validate billing CTA is present on summary.
await expect(page.getByRole('button', { name: /Go to billing|Zum Billing|Zu Billing/i })).toBeVisible();
// Continue to the setup step without completing a purchase.
await page.getByRole('button', { name: /Weiter zum Setup/i }).click();