Files
plane/web/tests/home.spec.ts
sriram veeraghanta c3a8d3497b fix: playwright setup
2024-10-10 13:49:32 +05:30

9 lines
355 B
TypeScript

import { test, expect } from "@playwright/test";
test("should check home page loads properly", async ({ page }) => {
// Start from the index page (the baseURL is set via the webServer in the playwright.config.ts)
await page.goto("/");
// Check for heading login is present
await expect(page.locator("h3")).toContainText("Log in or Sign up");
});