Skip to content

Commit

Permalink
Adding a wait to prevent race condition
Browse files Browse the repository at this point in the history
  • Loading branch information
snake14 committed Jan 22, 2024
1 parent 3de7028 commit ffe63bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/UI/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ exports.sendFieldValue = async function (page, selector, text)
$(selector).val('').change();
}, selector);

await page.waitForTimeout(200);

// page.sendKeys(selector, text);

await page.evaluate((selector, text) => {
Expand Down

0 comments on commit ffe63bd

Please sign in to comment.