Skip to content
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

Merged
merged 6 commits into from
Sep 30, 2024

Conversation

Skaiir
Copy link
Contributor

@Skaiir Skaiir commented Sep 29, 2024

Closes #1282

@Skaiir Skaiir requested a review from vsgoulart September 29, 2024 12:42
@Skaiir Skaiir self-assigned this Sep 29, 2024
@bpmn-io-tasks bpmn-io-tasks bot added the needs review Review pending label Sep 29, 2024
@Skaiir
Copy link
Contributor Author

Skaiir commented Sep 29, 2024

@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.

Copy link
Contributor

@vsgoulart vsgoulart left a 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}');
Copy link
Contributor

@vsgoulart vsgoulart Sep 30, 2024

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?

Suggested change
await userEvent.keyboard('{enter}');
await userEvent.keyboard('{Enter}');

@Skaiir Skaiir merged commit 037bdda into main Sep 30, 2024
2 checks passed
@Skaiir Skaiir deleted the update-preact-fix-options branch September 30, 2024 13:08
@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review pending label Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants