From faffd76f7b9ace91c6dcd6becee2bc7396905a10 Mon Sep 17 00:00:00 2001 From: CloakHQ Date: Sun, 4 Oct 2026 23:55:39 +0200 Subject: [PATCH] test(js): zero random delays in the SecurePass humanType test to stop CI timeouts --- js/tests/stealth.test.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/js/tests/stealth.test.ts b/js/tests/stealth.test.ts index ac577bb..05ddc1b 100644 --- a/js/tests/stealth.test.ts +++ b/js/tests/stealth.test.ts @@ -447,7 +447,15 @@ describe("humanType mixed text with CDP", () => { }); it("password-like text 'SecurePass!123' uses CDP for '!'", async () => { - const cfg = resolveConfig("default", { mistype_chance: 0, typing_delay: 0 }); + // Zero every random sleep: thinking pauses alone can push 14 chars past the 5s test timeout on CI + const cfg = resolveConfig("default", { + mistype_chance: 0, + typing_delay: 0, + typing_pause_chance: 0, + shift_down_delay: [0, 0], + shift_up_delay: [0, 0], + key_hold: [0, 0], + }); const { raw } = buildRawKeyboard(); const page = buildMockPage(); const cdpCalls: Array<[string, any]> = [];