test: use click instead of enter
This commit is contained in:
parent
f2a4697bfe
commit
33d9a7f622
1 changed files with 2 additions and 3 deletions
|
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue