Skip to content

Commit

Permalink
🚧 Debugging webkit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SilviaAmAm committed Oct 7, 2024
1 parent e405cd6 commit 44403fd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -247,14 +247,14 @@ jobs:
PLAYWRIGHT_BROWSER: ${{ matrix.browser }}
PLAYWRIGHT_TRACE_PATH: ${{ matrix.browser }}-playwright-trace.zip

# # Uncomment if you are recording traces for debug purposes
# - uses: actions/upload-artifact@v4
# if: ${{ failure() }}
# with:
# name: ${{ matrix.browser }}-playwright-trace.zip
# path: ${{ github.workspace }}/backend/${{ matrix.browser }}-playwright-trace.zip
# retention-days: 1
# if-no-files-found: error
# Uncomment if you are recording traces for debug purposes
- uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
name: ${{ matrix.browser }}-playwright-trace.zip
path: ${{ github.workspace }}/backend/${{ matrix.browser }}-playwright-trace.zip
retention-days: 1
if-no-files-found: error

docs:
name: Build and check documentation
Expand Down
4 changes: 2 additions & 2 deletions backend/src/openarchiefbeheer/api/tests/test_oidc_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from playwright.async_api import expect

from openarchiefbeheer.utils.tests.e2e import browser_page
from openarchiefbeheer.utils.tests.e2e import browser_page, browser_page_with_tracing
from openarchiefbeheer.utils.tests.gherkin import GherkinLikeTestCase


Expand All @@ -11,7 +11,7 @@ class OIDCLoginTest(GherkinLikeTestCase):
fixtures = ["permissions.json", "oidc_config_test.json"]

async def test_login_admin_superuser_with_oidc(self):
async with browser_page() as page:
async with browser_page_with_tracing() as page:
await page.goto(f"{self.live_server_url}/admin")

link = page.get_by_role("link", name="Login with OIDC")
Expand Down

0 comments on commit 44403fd

Please sign in to comment.