diff --git a/apps/website/e2e/website.spec.ts b/apps/website/e2e/website.spec.ts index 6ee385c1..4721d6da 100644 --- a/apps/website/e2e/website.spec.ts +++ b/apps/website/e2e/website.spec.ts @@ -29,8 +29,16 @@ test('pricing page shows plan cards', async ({ page }) => { test('pricing page lead form validates required fields', async ({ page }) => { await page.goto('/pricing'); - await page.click('button[type="submit"]'); - await expect(page.locator('form').first()).toBeVisible(); + // The pricing page also has Stripe-checkout submit buttons in + // PricingGrid; scope to the LeadForm's "Get in touch" button so this + // test exercises the lead form (not the checkout flow which would + // POST to /api/checkout/session and require Stripe to be configured). + const leadForm = page + .locator('form') + .filter({ has: page.getByRole('button', { name: /get in touch/i }) }) + .first(); + await leadForm.getByRole('button', { name: /get in touch/i }).click(); + await expect(leadForm).toBeVisible(); }); test('contact page submits a lead payload and renders success state', async ({ page }) => { diff --git a/libs/langgraph/src/lib/agent.provider.spec.ts b/libs/langgraph/src/lib/agent.provider.spec.ts index f01dee65..e3783363 100644 --- a/libs/langgraph/src/lib/agent.provider.spec.ts +++ b/libs/langgraph/src/lib/agent.provider.spec.ts @@ -40,7 +40,7 @@ describe('provideAgent', () => { const token = await signLicense( { sub: 'cus_test', - tier: 'developer-seat', + tier: 'developer_seat', iat: 1_700_000_000, exp: 2_000_000_000, seats: 1,