test: Install deps before wait, use firefox

This commit is contained in:
Chris Coutinho
2025-10-13 19:31:13 +02:00
parent 6ce411094c
commit 949d383606
+5 -2
View File
@@ -34,6 +34,10 @@ jobs:
- name: Install the latest version of uv
uses: astral-sh/setup-uv@3259c6206f993105e3a61b142c2d97bf4b9ef83d # v7.1.0
- name: Install Playwright dependencies
run: |
uv run playwright install --with-deps
- name: Wait for service to be ready
run: |
echo "Waiting for service at http://localhost:8080/ocs/v2.php/apps/serverinfo/api/v1/info to return 401..."
@@ -57,5 +61,4 @@ jobs:
NEXTCLOUD_USERNAME: "admin"
NEXTCLOUD_PASSWORD: "admin"
run: |
uv run playwright install --with-deps
uv run --frozen python -m pytest
uv run pytest -v --browser firefox