From 33d9a7f622d792a1fb2fe6db25607015ed1ac430 Mon Sep 17 00:00:00 2001 From: Ejaaz Khan Date: Sat, 6 Dec 2025 00:56:28 +0530 Subject: [PATCH] test: use click instead of enter --- cypress/integration/form.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cypress/integration/form.js b/cypress/integration/form.js index f8792a4198..d83c304c71 100644 --- a/cypress/integration/form.js +++ b/cypress/integration/form.js @@ -3,12 +3,11 @@ const jump_to_field = (field_label) => { .type("{esc}") // lose focus if any .type("{ctrl+j}") // jump to field .type(field_label) - .type("{downArrow}") - .type("{enter}") .wait(500) .type("{enter}") .wait(200) - .type("{enter}") + .findByRole("button", { name: "Go" }) + .click() .wait(1000); };