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

Feature/gh 65 #68

Merged
merged 1 commit into from
Aug 13, 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: 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
Loading