Update marketing packages and checkout copy
This commit is contained in:
@@ -40,7 +40,7 @@ test.describe('Marketing frontend smoke', () => {
|
||||
await acceptCookies.click();
|
||||
}
|
||||
|
||||
const packageCards = page.locator('section >> text=/Starter|Standard|Premium/');
|
||||
const packageCards = page.locator('section >> text=/Starter|Classic|Premium/');
|
||||
await expect(packageCards.first()).toBeVisible();
|
||||
});
|
||||
});
|
||||
|
||||
@@ -65,7 +65,7 @@ test.describe('Paddle sandbox full flow (staging)', () => {
|
||||
});
|
||||
|
||||
try {
|
||||
// Jump directly into wizard for Standard package (2)
|
||||
// Jump directly into wizard for Classic package (2)
|
||||
await page.goto(`${baseUrl}/${locale}/${checkoutSlug}/2`);
|
||||
|
||||
await dismissConsentBanner(page);
|
||||
|
||||
@@ -2,7 +2,7 @@ import { test, expectFixture as expect } from '../helpers/test-fixtures';
|
||||
|
||||
const shouldRun = process.env.E2E_TESTING_API === '1';
|
||||
|
||||
test.describe('Standard package checkout with Paddle completion', () => {
|
||||
test.describe('Classic package checkout with Paddle completion', () => {
|
||||
test.skip(!shouldRun, 'Set E2E_TESTING_API=1 to enable checkout tests that use /api/_testing endpoints.');
|
||||
test('registers, applies coupon, and reaches confirmation', async ({
|
||||
page,
|
||||
@@ -67,7 +67,7 @@ test.describe('Standard package checkout with Paddle completion', () => {
|
||||
|
||||
const standardDetailsButton = page
|
||||
.locator('[data-slot="card"]')
|
||||
.filter({ hasText: /Standard/i })
|
||||
.filter({ hasText: /Classic/i })
|
||||
.getByRole('button', { name: /Details ansehen|Details anzeigen|View details/i })
|
||||
.first();
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ const demoTenantCredentials = {
|
||||
password: process.env.E2E_DEMO_TENANT_PASSWORD ?? 'Demo1234!',
|
||||
};
|
||||
|
||||
test.describe('Standard package checkout with coupons', () => {
|
||||
test.describe('Classic package checkout with coupons', () => {
|
||||
test.skip(!shouldRun, 'Set E2E_TESTING_API=1 to enable checkout tests that use /api/_testing endpoints.');
|
||||
test('applies seeded coupon and shows discount summary', async ({
|
||||
page,
|
||||
@@ -25,7 +25,7 @@ test.describe('Standard package checkout with coupons', () => {
|
||||
|
||||
const dialog = page.getByRole('dialog');
|
||||
await expect(dialog).toBeVisible();
|
||||
await expect(dialog.getByRole('heading', { name: /Standard/i })).toBeVisible();
|
||||
await expect(dialog.getByRole('heading', { name: /Classic/i })).toBeVisible();
|
||||
|
||||
await dialog.getByRole('link', { name: /Jetzt bestellen|Order now|Jetzt buchen/i }).click();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user