Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move tests to another folder #139

Merged
merged 3 commits into from
Jan 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
arguments: build release --scan -Pnpm.download=false -i

- name: Install dependencies
working-directory: ./src/frontend
run: npm ci

- name: Store Playwright's Version
Expand All @@ -44,23 +45,25 @@ jobs:

- name: Setup Playwright
if: steps.cache-playwright-browsers.outputs.cache-hit != 'true'
working-directory: ./src/frontend/tests
run: npx playwright install --with-deps

- name: Run Playwright tests
working-directory: ./src/frontend/tests
run: npx playwright test 2>&1

- uses: actions/upload-artifact@v3
if: always()
with:
name: screenshots
path: tests/screenshots/
path: ./src/frontend/tests/tests/screenshots/
retention-days: 3

- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
path: ./src/frontend/tests/playwright-report/
retention-days: 3

- uses: actions/upload-artifact@v3
Expand Down
19 changes: 0 additions & 19 deletions package.json

This file was deleted.

3 changes: 2 additions & 1 deletion runtests.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
cd src/frontend/tests
call npm ci
call npx playwright install --with-deps
call npx playwright test
call npx playwright test
Loading