diff --git a/packages/tests-e2e/package.json b/packages/tests-e2e/package.json index bf0cc5777..be93b951f 100644 --- a/packages/tests-e2e/package.json +++ b/packages/tests-e2e/package.json @@ -3,12 +3,11 @@ "version": "0.0.0", "private": true, "scripts": { - "e2e:dev": "playwright test --retries=5", + "e2e:dev": "playwright test --retries=5 --headed", "e2e:test": "playwright test --retries=5", "clean": "rm -rf .turbo && rm -rf node_modules" }, - "dependencies": { - }, + "dependencies": {}, "devDependencies": { "@playwright/test": "1.37.0", "@open-next/utils": "workspace:*", diff --git a/packages/tests-e2e/tests/appDirOnly/host.test.ts b/packages/tests-e2e/tests/appDirOnly/host.test.ts new file mode 100644 index 000000000..9457029fb --- /dev/null +++ b/packages/tests-e2e/tests/appDirOnly/host.test.ts @@ -0,0 +1,12 @@ +// TOD: enable when 13.4.13 PRs are merged +// import { test, expect } from "@playwright/test"; + +// /** +// * Tests that the request.url is the deployed host and not localhost +// */ +// test("API call from client", async ({ baseURL, page }) => { +// await page.goto("/api/host"); + +// let el = page.getByText(`{"url":"${baseURL}/api/host"}`); +// await expect(el).toBeVisible(); +// });