Skip to content

Commit

Permalink
Retry.
Browse files Browse the repository at this point in the history
  • Loading branch information
mathewjordan committed Sep 17, 2024
1 parent f1d26b9 commit c7e47a2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,6 @@ jobs:
env:
NEXT_PUBLIC_DCAPI_ENDPOINT: ${{ secrets.NEXT_PUBLIC_DCAPI_ENDPOINT }}

- name: Set env as secret
run: 'echo "BASE_URL=${{ secrets.BASE_URL }} \nNEXT_PUBLIC_DCAPI_ENDPOINT=${{ secrets.NEXT_PUBLIC_DCAPI_ENDPOINT }}" >> .env.local'
shell: bash
env:
BASE_URL: ${{ secrets.BASE_URL }}
NEXT_PUBLIC_DCAPI_ENDPOINT: ${{ secrets.NEXT_PUBLIC_DCAPI_ENDPOINT }}

- name: Start app
run: npm run start:playwright &

Expand All @@ -41,7 +34,7 @@ jobs:
- name: Run Playwright tests
run: npx playwright test
env:
BASE_URL: ${{ secrets.BASE_URL }}
BASE_URL: http://localhost:3000
NEXT_PUBLIC_DCAPI_ENDPOINT: ${{ secrets.NEXT_PUBLIC_DCAPI_ENDPOINT }}

- uses: actions/upload-artifact@v4
Expand Down
2 changes: 0 additions & 2 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ const PORT = process.env.PORT || 3000;
const BASE_URL =
process.env.BASE_URL || `https://devbox.library.northwestern.edu:${PORT}`;

console.log({ BASE_URL });

export default defineConfig({
testDir: "./tests",
fullyParallel: false,
Expand Down

0 comments on commit c7e47a2

Please sign in to comment.