test(js): zero random delays in the SecurePass humanType test to stop CI timeouts

This commit is contained in:
CloakHQ committed 2026-10-04 23:55:39 +02:00
1 parent 6dcfa264dd
commit faffd76f7b
1 file changed
+9 -1
+9 -1
View File
@@ -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]> = [];