Skip to content

Commit

Permalink
headless only
Browse files Browse the repository at this point in the history
  • Loading branch information
noxify committed Dec 20, 2024
1 parent 3c764d7 commit 06336ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Install Playwright Browsers
run: pnpm playwright:init
- name: Run Playwright tests for our nextjs app
run: pnpm test:e2e:nextjs
run: pnpm test:e2e:nextjs --project=headless
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
Expand Down
6 changes: 1 addition & 5 deletions apps/nextjs/playwright.config.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
import playwrightConfig from "@acme/playwright"

const baseUrl = process.env.APPLICATION_URL
? `${process.env.APPLICATION_URL}`
: process.env.LOCAL_HTTPS
? "https://localhost:3000"
: "http://localhost:3000"
const baseUrl = process.env.APPLICATION_URL ?? "http://localhost:3000"

export default playwrightConfig({
basePath: "/",
Expand Down

0 comments on commit 06336ab

Please sign in to comment.