mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-06-26 18:26:38 +00:00
14 lines
373 B
TypeScript
14 lines
373 B
TypeScript
import { test, expect } from '@playwright/test';
|
|
|
|
test('should load the homepage', async ({ page }) => {
|
|
// Navigate to the homepage
|
|
await page.goto('/');
|
|
|
|
// Check that the page title is correct
|
|
const title = await page.title();
|
|
expect(title).toContain('Nut');
|
|
|
|
// Verify some key elements are visible
|
|
await expect(page.locator('header')).toBeVisible();
|
|
});
|