-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
test: add tests to model settings's Slider Input #3615
test: add tests to model settings's Slider Input #3615
Conversation
cc @dan-homebrew, regarding the test covers you mentioned. |
LGTU -> looks good to us 💚 |
Barecheck - Code coverage reportTotal: 54.09%Your code coverage diff: 0.00% ▴ ✅ All code changes are covered |
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.
@louis-jan Can I verify the nature of this bug:
- Is it UI related, or related to out-of-bounds error on params?
- The tests seem to be UI-related
- Do we need corresponding out-of-bounds tests at the API level?
Yes @dan-homebrew there is 1 more PR to add cover persistence layer. E.g. where all data are gathered and persisted. And that one is even more important. |
For the context, cc @hiento09 |
e17c59b
to
8047ed6
Compare
Describe Your Changes
This PR is a follow-up fix for #3609, where users could get stuck when inputting a value to the model settings input component.
In this PR, it covers the case where users could get stuck in a broken state after inputting an invalid settings value and then force quitting the app immediately. This behavior is hard to reproduce but possible.
Rework web test configurations to resolve the collision between Jest Babel and Next Babel.
Tests have been added to cover such cases.
Context
We've received a broken app report while testing a feature build; after investigating, we found the root cause and fixed it. However, tests have not been added in this PR due to the incomplete setup.
This PR is to add tests but it turned out that there are missing cases to handle.
Related PRs
Self Checklist