refactor: organize E2E tests with page objects

This commit is contained in:
2026-10-07 21:13:40 +09:00
parent 1e03e8f4ff
commit 48ef396ec1
28 changed files with 1494 additions and 834 deletions
+2 -1
View File
@@ -28,10 +28,11 @@ test("mutations require exact Origin even with same-origin Fetch Metadata", asyn
test("server functions also reject foreign identity and cross-site calls", async ({
page,
deckPage,
request,
}) => {
const serverRequest = page.waitForRequest((request) => request.url().includes("/_serverFn/"));
await page.goto("/deck");
await deckPage.goTo();
const url = (await serverRequest).url();
expect(
(