Skip to content

Commit

Permalink
Merge pull request #68 from Hugo-C/feature/GH-65
Browse files Browse the repository at this point in the history
Feature/gh 65
  • Loading branch information
Hugo-C authored Aug 13, 2024
2 parents 16d61f7 + e30233c commit 61df72d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 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: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
/target
.env # Expected to contains VUE_APP_SENTRY_DSN and ROCKET_SENTRY_DSN
.env # Expected to contains VUE_APP_SENTRY_DSN and ROCKET_SENTRY_DSN

/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 61df72d

Please sign in to comment.