import { test, expect } from "./fixtures"; test.describe("Connectivity smoke test", () => { test("visits the homepage and verifies it loads", async ({ page }) => { const response = await page.goto("/"); expect(response?.ok()).toBeTruthy(); // Verify the page has content await expect(page).toHaveTitle(/Firehose/); }); test("visits the contact page", async ({ page }) => { const response = await page.goto("/contact"); expect(response?.ok()).toBeTruthy(); await expect(page.locator("body")).not.toBeEmpty(); }); test("visits the blog engineering index", async ({ page }) => { const response = await page.goto("/blog/engineering"); expect(response?.ok()).toBeTruthy(); await expect(page.locator("body")).not.toBeEmpty(); }); test("visits the blog releases index", async ({ page }) => { const response = await page.goto("/blog/releases"); expect(response?.ok()).toBeTruthy(); await expect(page.locator("body")).not.toBeEmpty(); }); });