diff --git a/integration/abort-signal-test.ts b/integration/abort-signal-test.ts index da0cb2b2bac..34d148e0ca9 100644 --- a/integration/abort-signal-test.ts +++ b/integration/abort-signal-test.ts @@ -2,7 +2,11 @@ import { test } from "@playwright/test"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; -import { createAppFixture, createFixture, js } from "./helpers/create-fixture.js"; +import { + createAppFixture, + createFixture, + js, +} from "./helpers/create-fixture.js"; let fixture: Fixture; let appFixture: AppFixture; diff --git a/integration/action-test.ts b/integration/action-test.ts index 3171448fa25..aeb54ad30e7 100644 --- a/integration/action-test.ts +++ b/integration/action-test.ts @@ -1,6 +1,10 @@ import { test, expect } from "@playwright/test"; -import { createFixture, createAppFixture, js } from "./helpers/create-fixture.js"; +import { + createFixture, + createAppFixture, + js, +} from "./helpers/create-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { PlaywrightFixture, selectHtml } from "./helpers/playwright-fixture.js"; diff --git a/integration/browser-entry-test.ts b/integration/browser-entry-test.ts index a7a9d41302b..b5eeb96d141 100644 --- a/integration/browser-entry-test.ts +++ b/integration/browser-entry-test.ts @@ -1,7 +1,11 @@ import { test, expect } from "@playwright/test"; import type { AppFixture, Fixture } from "./helpers/create-fixture.js"; -import { createFixture, js, createAppFixture } from "./helpers/create-fixture.js"; +import { + createFixture, + js, + createAppFixture, +} from "./helpers/create-fixture.js"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; let fixture: Fixture; diff --git a/integration/bug-report-test.ts b/integration/bug-report-test.ts index 221ccb26895..54f3e094d4b 100644 --- a/integration/bug-report-test.ts +++ b/integration/bug-report-test.ts @@ -2,7 +2,11 @@ import { test, expect } from "@playwright/test"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; -import { createAppFixture, createFixture, js } from "./helpers/create-fixture.js"; +import { + createAppFixture, + createFixture, + js, +} from "./helpers/create-fixture.js"; let fixture: Fixture; let appFixture: AppFixture; diff --git a/integration/catch-boundary-data-test.ts b/integration/catch-boundary-data-test.ts index e4a3c852bdc..0d6d3b88b8c 100644 --- a/integration/catch-boundary-data-test.ts +++ b/integration/catch-boundary-data-test.ts @@ -1,6 +1,10 @@ import { test, expect } from "@playwright/test"; -import { createAppFixture, createFixture, js } from "./helpers/create-fixture.js"; +import { + createAppFixture, + createFixture, + js, +} from "./helpers/create-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; diff --git a/integration/catch-boundary-test.ts b/integration/catch-boundary-test.ts index e4a8f5e78a2..c92611bdf96 100644 --- a/integration/catch-boundary-test.ts +++ b/integration/catch-boundary-test.ts @@ -1,6 +1,10 @@ import { test, expect } from "@playwright/test"; -import { createAppFixture, createFixture, js } from "./helpers/create-fixture.js"; +import { + createAppFixture, + createFixture, + js, +} from "./helpers/create-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; diff --git a/integration/custom-entry-server-test.ts b/integration/custom-entry-server-test.ts index 80ef0afe11a..dea6e9f4961 100644 --- a/integration/custom-entry-server-test.ts +++ b/integration/custom-entry-server-test.ts @@ -2,7 +2,11 @@ import { expect, test } from "@playwright/test"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; -import { createAppFixture, createFixture, js } from "./helpers/create-fixture.js"; +import { + createAppFixture, + createFixture, + js, +} from "./helpers/create-fixture.js"; let fixture: Fixture; let appFixture: AppFixture; diff --git a/integration/defer-loader-test.ts b/integration/defer-loader-test.ts index c73abc03bdb..141c507eeb9 100644 --- a/integration/defer-loader-test.ts +++ b/integration/defer-loader-test.ts @@ -1,6 +1,10 @@ import { test, expect } from "@playwright/test"; -import { createAppFixture, createFixture, js } from "./helpers/create-fixture.js"; +import { + createAppFixture, + createFixture, + js, +} from "./helpers/create-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; diff --git a/integration/defer-test.ts b/integration/defer-test.ts index 77004a83bca..8694b73c751 100644 --- a/integration/defer-test.ts +++ b/integration/defer-test.ts @@ -3,7 +3,11 @@ import type { ConsoleMessage, Page } from "@playwright/test"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; -import { createAppFixture, createFixture, js } from "./helpers/create-fixture.js"; +import { + createAppFixture, + createFixture, + js, +} from "./helpers/create-fixture.js"; const ROOT_ID = "ROOT_ID"; const INDEX_ID = "INDEX_ID"; diff --git a/integration/error-boundary-test.ts b/integration/error-boundary-test.ts index 7966970f3c6..c01c0f7588d 100644 --- a/integration/error-boundary-test.ts +++ b/integration/error-boundary-test.ts @@ -1,7 +1,11 @@ import { test, expect } from "@playwright/test"; import { ServerMode } from "../build/node_modules/@remix-run/server-runtime/dist/mode.js"; -import { createAppFixture, createFixture, js } from "./helpers/create-fixture.js"; +import { + createAppFixture, + createFixture, + js, +} from "./helpers/create-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; diff --git a/integration/error-boundary-v2-test.ts b/integration/error-boundary-v2-test.ts index c47b3708737..2d4ba38a3d6 100644 --- a/integration/error-boundary-v2-test.ts +++ b/integration/error-boundary-v2-test.ts @@ -2,7 +2,11 @@ import type { Page } from "@playwright/test"; import { test, expect } from "@playwright/test"; import { ServerMode } from "../build/node_modules/@remix-run/server-runtime/dist/mode.js"; -import { createAppFixture, createFixture, js } from "./helpers/create-fixture.js"; +import { + createAppFixture, + createFixture, + js, +} from "./helpers/create-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; diff --git a/integration/error-data-request-test.ts b/integration/error-data-request-test.ts index 5c3264dd198..366ede08b23 100644 --- a/integration/error-data-request-test.ts +++ b/integration/error-data-request-test.ts @@ -1,6 +1,10 @@ import { test, expect } from "@playwright/test"; -import { createAppFixture, createFixture, js } from "./helpers/create-fixture.js"; +import { + createAppFixture, + createFixture, + js, +} from "./helpers/create-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; test.describe("ErrorBoundary", () => { diff --git a/integration/error-sanitization-test.ts b/integration/error-sanitization-test.ts index 11ca66c72ed..fdefbca4769 100644 --- a/integration/error-sanitization-test.ts +++ b/integration/error-sanitization-test.ts @@ -2,7 +2,11 @@ import { test, expect } from "@playwright/test"; import { ServerMode } from "../build/node_modules/@remix-run/server-runtime/dist/mode.js"; import type { Fixture } from "./helpers/create-fixture.js"; -import { createAppFixture, createFixture, js } from "./helpers/create-fixture.js"; +import { + createAppFixture, + createFixture, + js, +} from "./helpers/create-fixture.js"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; const routeFiles = { diff --git a/integration/fetch-globals-test.ts b/integration/fetch-globals-test.ts index 836eeccc1c5..3592f230aea 100644 --- a/integration/fetch-globals-test.ts +++ b/integration/fetch-globals-test.ts @@ -1,7 +1,11 @@ import { test, expect } from "@playwright/test"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; -import { createAppFixture, createFixture, js } from "./helpers/create-fixture.js"; +import { + createAppFixture, + createFixture, + js, +} from "./helpers/create-fixture.js"; let fixture: Fixture; let appFixture: AppFixture; diff --git a/integration/fetcher-layout-test.ts b/integration/fetcher-layout-test.ts index 8bb70103e57..ae878cc7047 100644 --- a/integration/fetcher-layout-test.ts +++ b/integration/fetcher-layout-test.ts @@ -1,6 +1,10 @@ import { test, expect } from "@playwright/test"; -import { createAppFixture, createFixture, js } from "./helpers/create-fixture.js"; +import { + createAppFixture, + createFixture, + js, +} from "./helpers/create-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; diff --git a/integration/fetcher-test.ts b/integration/fetcher-test.ts index 0f24cd3338a..216e83d3421 100644 --- a/integration/fetcher-test.ts +++ b/integration/fetcher-test.ts @@ -1,6 +1,10 @@ import { expect, test } from "@playwright/test"; -import { createAppFixture, createFixture, js } from "./helpers/create-fixture.js"; +import { + createAppFixture, + createFixture, + js, +} from "./helpers/create-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; diff --git a/integration/flat-routes-test.ts b/integration/flat-routes-test.ts index cb570a9a284..53eae110e1d 100644 --- a/integration/flat-routes-test.ts +++ b/integration/flat-routes-test.ts @@ -4,7 +4,11 @@ import { test, expect } from "@playwright/test"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { createFixtureProject } from "./helpers/create-fixture.js"; -import { createAppFixture, createFixture, js } from "./helpers/create-fixture.js"; +import { + createAppFixture, + createFixture, + js, +} from "./helpers/create-fixture.js"; let fixture: Fixture; let appFixture: AppFixture; diff --git a/integration/form-test.ts b/integration/form-test.ts index 3ee83b4d4cf..f2331ad2987 100644 --- a/integration/form-test.ts +++ b/integration/form-test.ts @@ -1,6 +1,10 @@ import { test, expect } from "@playwright/test"; -import { createAppFixture, createFixture, js } from "./helpers/create-fixture.js"; +import { + createAppFixture, + createFixture, + js, +} from "./helpers/create-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { getElement, PlaywrightFixture } from "./helpers/playwright-fixture.js"; diff --git a/integration/helpers/create-fixture.ts b/integration/helpers/create-fixture.ts index cf4259c15fe..e946e496e06 100644 --- a/integration/helpers/create-fixture.ts +++ b/integration/helpers/create-fixture.ts @@ -43,7 +43,9 @@ export function json(value: JsonObject) { export async function createFixture(init: FixtureInit, mode?: ServerMode) { installGlobals(); let projectDir = await createFixtureProject(init, mode); - let buildPath = url.pathToFileURL(path.join(projectDir, "build/index.js")).href; + let buildPath = url.pathToFileURL( + path.join(projectDir, "build/index.js") + ).href; let app: ServerBuild = await import(buildPath); let handler = createRequestHandler(app, mode || ServerMode.Production); diff --git a/integration/hmr-log-test.ts b/integration/hmr-log-test.ts index 7607087d1b6..750b893430d 100644 --- a/integration/hmr-log-test.ts +++ b/integration/hmr-log-test.ts @@ -6,7 +6,12 @@ import type { Readable } from "node:stream"; import getPort, { makeRange } from "get-port"; import type { FixtureInit } from "./helpers/create-fixture.js"; -import { createFixtureProject, css, js, json } from "./helpers/create-fixture.js"; +import { + createFixtureProject, + css, + js, + json, +} from "./helpers/create-fixture.js"; test.setTimeout(120_000); diff --git a/integration/hook-useSubmit-test.ts b/integration/hook-useSubmit-test.ts index 7e220c8b1ee..ec5703eded9 100644 --- a/integration/hook-useSubmit-test.ts +++ b/integration/hook-useSubmit-test.ts @@ -1,6 +1,10 @@ import { test, expect } from "@playwright/test"; -import { createAppFixture, createFixture, js } from "./helpers/create-fixture.js"; +import { + createAppFixture, + createFixture, + js, +} from "./helpers/create-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; diff --git a/integration/js-routes-test.ts b/integration/js-routes-test.ts index 13e7c5651ac..cf774bf9b38 100644 --- a/integration/js-routes-test.ts +++ b/integration/js-routes-test.ts @@ -1,6 +1,10 @@ import { test } from "@playwright/test"; -import { createAppFixture, createFixture, js } from "./helpers/create-fixture.js"; +import { + createAppFixture, + createFixture, + js, +} from "./helpers/create-fixture.js"; import type { AppFixture } from "./helpers/create-fixture.js"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; diff --git a/integration/layout-route-test.ts b/integration/layout-route-test.ts index 412dcb2de95..0f43512807d 100644 --- a/integration/layout-route-test.ts +++ b/integration/layout-route-test.ts @@ -1,6 +1,10 @@ import { test } from "@playwright/test"; -import { createAppFixture, createFixture, js } from "./helpers/create-fixture.js"; +import { + createAppFixture, + createFixture, + js, +} from "./helpers/create-fixture.js"; import type { AppFixture } from "./helpers/create-fixture.js"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; diff --git a/integration/loader-test.ts b/integration/loader-test.ts index 52f942db983..c81201e8404 100644 --- a/integration/loader-test.ts +++ b/integration/loader-test.ts @@ -1,6 +1,10 @@ import { test, expect } from "@playwright/test"; -import { createAppFixture, createFixture, js } from "./helpers/create-fixture.js"; +import { + createAppFixture, + createFixture, + js, +} from "./helpers/create-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; diff --git a/integration/matches-test.ts b/integration/matches-test.ts index 666d298ff55..34cbb4c0b21 100644 --- a/integration/matches-test.ts +++ b/integration/matches-test.ts @@ -1,6 +1,10 @@ import { test, expect } from "@playwright/test"; -import { createAppFixture, createFixture, js } from "./helpers/create-fixture.js"; +import { + createAppFixture, + createFixture, + js, +} from "./helpers/create-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; diff --git a/integration/meta-test.ts b/integration/meta-test.ts index f0dfdda6be8..2d3afc52fe1 100644 --- a/integration/meta-test.ts +++ b/integration/meta-test.ts @@ -1,6 +1,10 @@ import { test, expect } from "@playwright/test"; -import { createAppFixture, createFixture, js } from "./helpers/create-fixture.js"; +import { + createAppFixture, + createFixture, + js, +} from "./helpers/create-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; diff --git a/integration/multiple-cookies-test.ts b/integration/multiple-cookies-test.ts index c35747c738c..d1d3bb88b91 100644 --- a/integration/multiple-cookies-test.ts +++ b/integration/multiple-cookies-test.ts @@ -1,6 +1,10 @@ import { test, expect } from "@playwright/test"; -import { createAppFixture, createFixture, js } from "./helpers/create-fixture.js"; +import { + createAppFixture, + createFixture, + js, +} from "./helpers/create-fixture.js"; import type { AppFixture } from "./helpers/create-fixture.js"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; diff --git a/integration/navigation-state-test.ts b/integration/navigation-state-test.ts index dee25f62ee3..909ff573453 100644 --- a/integration/navigation-state-test.ts +++ b/integration/navigation-state-test.ts @@ -1,6 +1,10 @@ import { test, expect } from "@playwright/test"; -import { createAppFixture, createFixture, js } from "./helpers/create-fixture.js"; +import { + createAppFixture, + createFixture, + js, +} from "./helpers/create-fixture.js"; import type { Fixture, AppFixture } from "./helpers/create-fixture.js"; import { PlaywrightFixture } from "./helpers/playwright-fixture.js"; diff --git a/integration/playwright-report/index.html b/integration/playwright-report/index.html index 0e2d6dbf2e8..51dec645d9f 100644 --- a/integration/playwright-report/index.html +++ b/integration/playwright-report/index.html @@ -1,62 +1,21359 @@ - -
- - - + + +