Skip to content

Commit

Permalink
added host test
Browse files Browse the repository at this point in the history
  • Loading branch information
khuezy committed Aug 23, 2023
1 parent 8499e25 commit 8f69dcf
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/tests-e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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:*",
Expand Down
12 changes: 12 additions & 0 deletions packages/tests-e2e/tests/appDirOnly/host.test.ts
Original file line number Diff line number Diff line change
@@ -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();
// });

0 comments on commit 8f69dcf

Please sign in to comment.