test(ci): isolate flaky scenarios and retain failure diagnostics (#6622)
* test(ci): isolate HTTP stubs and retain failure diagnostics * test(agent): scope compaction watchdogs to each phase * test(webui): isolate settings skeleton scenarios * test(webui): await rendered rail content before scroll checks
This commit is contained in:
1 parent
220d5e6970
commit
62c05e7f7e
7 files changed
+40
-22
No files matched your search
@@ -185,6 +185,7 @@ jobs:
|
||||
run: >-
|
||||
uv run --no-sync python -m pytest
|
||||
${{ matrix.pytest_args }}
|
||||
-o faulthandler_timeout=60
|
||||
--junitxml=test-results/main.xml --timing-report=test-results/main.json
|
||||
--durations=25 --durations-min=1.0
|
||||
|
||||
@@ -371,7 +372,18 @@ jobs:
|
||||
|
||||
- name: Test browser layout and history motion
|
||||
working-directory: webui
|
||||
run: bun run test:browser
|
||||
run: bun run test:browser --trace=retain-on-failure
|
||||
|
||||
- name: Retain browser failure details
|
||||
if: failure()
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: browser-failures
|
||||
path: |
|
||||
webui/test-results/browser/**/trace.zip
|
||||
webui/test-results/browser/**/test-failed-*.png
|
||||
webui/test-results/browser/**/error-context.md
|
||||
retention-days: 7
|
||||
|
||||
webui:
|
||||
needs: [changes, webui_checks, webui_browser]
|
||||
|
||||
Reference in new issue
Block a user