system-prompts-and-models-o.../salesflow-saas/frontend/e2e/launch-smoke.spec.ts
Sami Assiri d8bb836614 feat(dealix): ship revenue discovery launch hardening
Add revenue discovery APIs/services, launch verification gates, CI quality checks, and frontend E2E/docs updates to prepare the branch for production go-live.

Made-with: Cursor
2026-04-15 17:51:23 +03:00

19 lines
603 B
TypeScript

import { test, expect } from "@playwright/test";
/**
* Public / low-auth smoke for launch readiness (strategy docs shell, landing).
*/
test.describe("Launch smoke — public routes", () => {
test("strategy page loads without 5xx", async ({ page }) => {
const res = await page.goto("/strategy");
expect(res?.ok()).toBeTruthy();
await expect(page.locator("body")).toBeVisible();
});
test("landing or root resolves", async ({ page }) => {
const res = await page.goto("/landing");
expect(res?.ok()).toBeTruthy();
await expect(page.locator("body")).toBeVisible();
});
});