Skip to content

Commit

Permalink
await "human" typing
Browse files Browse the repository at this point in the history
  • Loading branch information
jonycoo committed Jul 22, 2024
1 parent 3ad1064 commit 43f42fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/features/step_definitions/stepdefs.js
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ When('I insert {string} into the field {string}', async function fillTextField(t
await Promise.any(promises)
.then(async (elem) => {
await elem.clear()
typing(elem, value)
await typing(elem, value)
})
.catch(async (e) => {
await driver.takeScreenshot().then(async (buffer) => {
Expand Down

0 comments on commit 43f42fb

Please sign in to comment.