Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions apps/website/e2e/website.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) => {
Expand Down
2 changes: 1 addition & 1 deletion libs/langgraph/src/lib/agent.provider.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading