Skip to content

Commit

Permalink
GH-65 # Add playwright traces
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo-C committed Aug 13, 2024
1 parent 35d1302 commit 73efa6d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Run playwright test
run: docker compose -f docker-compose.playwright.yml run pytest_runner
run: docker compose -f docker-compose.playwright.yml run pytest_runner --tracing=retain-on-failure --output=/code/tests/playwright-test-results/
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-traces
path: tests/playwright-test-results/
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ run_integration_tests:
docker compose -f docker-compose.integration.yml down

run_e2e_tests:
docker compose -f docker-compose.playwright.yml build jarm_online_gui
docker compose -f docker-compose.playwright.yml build jarm_online_api
docker compose -f docker-compose.playwright.yml run pytest_runner
docker compose -f docker-compose.playwright.yml run pytest_runner --tracing=retain-on-failure --output=/code/tests/playwright-test-results/
docker compose -f docker-compose.playwright.yml down

# e2e test with headed browser can't run in docker as a Xserver is required
Expand Down

0 comments on commit 73efa6d

Please sign in to comment.