We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
toFill
toFill matcher fails when input type is number
<input id="input" type="number">
await expect(page).toFill('#input', '2018') await expect(page).toFill('#input', '2018')
Clear value before fill new value
The error occurs on selectAll method. When line 8 is executed it through this error:
Then the code: elementHandle.focus() is executed but it seems that content is not selected.
elementHandle.focus()
I confirm that this code on my chrome / firefox console, does not work either:
I'm runing test on chrome headless using jest-puppeteer 5.0.3
await page.click(selector, {clickCount: 3}) await page.keyboard.press('Backspace')
The text was updated successfully, but these errors were encountered:
This should be fixed in v5.0.4 🎉
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
🐛 Bug Report
toFill
matcher fails when input type is numberTo Reproduce
Expected behavior
Clear value before fill new value
Technical details
The error occurs on selectAll method. When line 8 is executed it through this error:
Then the code:
elementHandle.focus()
is executed but it seems that content is not selected.I confirm that this code on my chrome / firefox console, does not work either:
I'm runing test on chrome headless using jest-puppeteer 5.0.3
Possible alternatives
The text was updated successfully, but these errors were encountered: