Update Playwright staging flows and Paddle sandbox checkout
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
tests / ui (push) Has been cancelled

This commit is contained in:
Codex Agent
2026-01-03 17:04:32 +01:00
parent 4f1fbcc98b
commit a35808ac15
10 changed files with 341 additions and 203 deletions

View File

@@ -1,7 +1,8 @@
import { test, expectFixture as expect } from '../helpers/test-fixtures';
test.describe('Tenant admin add-on upgrades', () => {
test.beforeEach(async ({ signInTenantAdmin }) => {
test.beforeEach(async ({ tenantAdminCredentials, signInTenantAdmin }) => {
test.skip(!tenantAdminCredentials, 'Provide E2E_TENANT_EMAIL and E2E_TENANT_PASSWORD to run admin tests.');
await signInTenantAdmin();
});
@@ -125,7 +126,7 @@ test.describe('Tenant admin add-on upgrades', () => {
});
});
await page.goto('/event-admin/events/limit-event/photos');
await page.goto('/event-admin/mobile/events/limit-event/photos');
await expect(page.getByText(/Upload-Limit erreicht/i)).toBeVisible();
@@ -134,7 +135,6 @@ test.describe('Tenant admin add-on upgrades', () => {
await purchaseButton.click();
await expect(page).toHaveURL(/addon_success=1/);
await expect(page.getByText(/Add-on angewendet/i)).toBeVisible();
await expect(page.getByText(/Upload-Limit erreicht/i)).not.toBeVisible({ timeout: 10000 });
await expect(page.getByText(/\+500\s*Fotos/i)).toBeVisible();