дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-05 01:31:41 +02:00
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.
Цей коміт міститься в:
1 джерело
09d1f4a673
коміт
c6bb0b84ce
1 file changed
+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");
|
||||
|
||||
Reference in new issue
Заблокувати користувача