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
@@ -29,7 +29,10 @@ test("complete rail scrolls independently, jumps to unloaded history and returns
|
||||
await expectRailCentered();
|
||||
await expect.poll(() => rail.evaluate((node) => node.scrollHeight)).toBe(32024);
|
||||
expect(reads).toHaveLength(0);
|
||||
// Lazy markdown and content-visibility can change the scroll range during startup.
|
||||
// A stationary lazy-render fallback is not a settled transcript.
|
||||
await expect(body.locator('[data-thread-display-unit="a1999"] .markdown-content p')).toHaveCount(8);
|
||||
await page.evaluate(async () => { await document.fonts.ready; });
|
||||
// Content visibility and the camera can still settle after the renderer is ready.
|
||||
await body.evaluate(async (node) => {
|
||||
let previous = -1;
|
||||
let stable = 0;
|
||||
|
||||
Reference in new issue
Block a user