feat(website): initialize Next.js 15 project with @opennextjs/cloudflare

This commit is contained in:
justsisyphus
2026-01-24 05:07:42 +09:00
parent 5c7dd40751
commit ba93c42943
26 changed files with 2072 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
import { test, expect } from '@playwright/test';
test('has title', async ({ page }) => {
await page.goto('/');
// Expect a title "to contain" a substring.
await expect(page).toHaveTitle(/Create Next App/);
});
test('get started link', async ({ page }) => {
await page.goto('/');
// Click the get started link.
// Note: The default Next.js template might not have a "Get started" link exactly like this,
// but we can check for something that exists.
// For now, let's just check if the main element exists.
await expect(page.locator('main')).toBeVisible();
});