Skip to content

Commit

Permalink
Set working directory
Browse files Browse the repository at this point in the history
  • Loading branch information
sanders41 committed Aug 6, 2023
1 parent ff96713 commit 3b39fb9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,10 @@ jobs:
env:
VITE_API_PATH: "http://127.0.0.1:8000/api/v1"
run: just frontend-test-ci
- name: Upload test results
if: always()
uses: actions/upload-artifact@v2
with:
name: playwright-report
path: test-results
working-directory: frontend
5 changes: 4 additions & 1 deletion frontend/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ const config: PlaywrightTestConfig = {
port: 4173
},
testDir: 'tests',
testMatch: /(.+\.)?(test|spec)\.[jt]s/
testMatch: /(.+\.)?(test|spec)\.[jt]s/,
use: {
trace: 'on'
}
};

export default config;

0 comments on commit 3b39fb9

Please sign in to comment.