test(agents): give the hidden session tab tests room for their own waits (#5759)

hiddenWindow.test.tsx renders a long conversation twice per test and waits up to 10 s for it, but ran under the default 5 s test timeout, so on a loaded CI runner the test failed before its own wait gave up (Frontend failed on #5723 and #5736 this way). The suite now has a 30 s timeout.
Цей коміт міститься в:
l0ng-ai authored and GitHub committed 2026-11-25 10:51:29 +08:00
1 джерело 09d1f4a673
коміт c6bb0b84ce
1 file changed
+3 -1
+3 -1
Переглянути файл
@@ -113,7 +113,9 @@ afterEach(() => {
vi.useRealTimers();
});
describe("a kept-alive session tab that stays hidden", () => {
// Each test renders a long conversation twice and waits up to 10 s for it (`settle`, Find); on a
// loaded CI runner that can pass the default 5 s test timeout before the wait itself gives up.
describe("a kept-alive session tab that stays hidden", { timeout: 30_000 }, () => {
it("keeps an unsent edit to an earlier message even after returning to the end", async () => {
const view = render(session(true));
await settle("Reply 59");