test: use click instead of enter

This commit is contained in:
Ejaaz Khan 2025-12-06 00:56:28 +05:30
parent f2a4697bfe
commit 33d9a7f622

View file

@ -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);
};