Update Playwright staging flows and Paddle sandbox checkout
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user