-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
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
Update lockfile preactversion to 10.15.1 and fix null default options serialization issue #1283
Conversation
… update Reason the tests failed: preactjs/preact#3354
@vsgoulart I changed how we do UI tests with the userEvent library (instead of sending discrete events), because preact 10.6.3 had this change which made a ton of tests fail. I haven't removed all the instances of fireEvent, mostly those which failed. But I will try to get rid of fireEvent everywhere it makes sense in a follow-up PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will have to check if nothing will break on the web modeler because of conflicts in the Preact version but you said it's within our update range so it should be ok
fireEvent.focus(filterInput); | ||
fireEvent.keyDown(filterInput, { key: 'Enter', code: 'Enter' }); | ||
await userEvent.click(filterInput); | ||
await userEvent.keyboard('{enter}'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think enter is capitalized, could you check if it's really working or if it doesn't make any difference?
await userEvent.keyboard('{enter}'); | |
await userEvent.keyboard('{Enter}'); |
Closes #1282