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:
chengyongru authored and GitHub committed 2026-11-10 13:53:51 +08:00
1 parent 220d5e6970
commit 62c05e7f7e
7 files changed
+40 -22

No files matched your search

+1
View File
@@ -24,6 +24,7 @@ def test_timing_report_preserves_phases_and_failed_results(pytester: pytest.Pyte
cases = {key.rsplit("::", 1)[-1]: value for key, value in report["cases"].items()}
assert cases["test_pass"]["phases"]["call"]["outcome"] == "passed"
assert cases["test_fail"]["phases"]["call"]["outcome"] == "failed"
assert "AssertionError" in cases["test_fail"]["phases"]["call"]["failure"]
assert cases["test_skip"]["phases"]["setup"]["outcome"] == "skipped"
assert sum(phase["seconds"] for case in cases.values()
for phase in case["phases"].values()) > 0