-
Couldn't load subscription status.
- Fork 678
Description
I am trying to run the following test in testcafe:
- Go to a specific page
- Click a box and type in the page's name
- Click on the page to edit
- Edit a particular field on the page and update the page
- Go to the actual page and verify that the update was successful
- Go back to the specific page
- Click a box and type in the page's name
- Click on the page to edit
- Click on the particular field and attempt to use typeText(field, text) and it fails
The error is
A JavaScript error occurred on "https://testcafe/website.com".
Repeat test actions in the browser and check the console for errors.
Enable the “skipJsErrors” option to ignore JavaScript errors during test execution. Learn more: "https://testcafe.io/documentation/404038/recipes/debugging/skip-javascript-errors"
If the website only throws this error when you test it with TestCafe, please create a new issue at:
"https://github.com/DevExpress/testcafe/issues/new?template=bug-report.md".
JavaScript error details:
Cannot read properties of null (reading 'root')
I have tried this every way I can think of and I am able to remove the text but I cannot add it back, I've tried:
ctrl+a delete
ctrl+a backspace
selectText and then putting spaces
This can be done on our testcafe instance just fine, just not through an automated test.
I would like to add if I do pressKey(element, 't e s t') it works but typeText(element, 'test') does not.