-
Notifications
You must be signed in to change notification settings - Fork 70
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
chore: 14263 create studio status radio group #14272
base: main
Are you sure you want to change the base?
Conversation
const user = userEvent.setup(); | ||
renderStudioStatusRadioGroup(); | ||
|
||
const successRadioButton = screen.getByRole('radio', { name: `${mockTitle1} ${mockText1}` }); // Any way to do it without having both title and text? |
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.
@framitdavid, do you have a better suggestion here? 🤔
await user.click(infoRadioButton); | ||
|
||
expect(mockOnChange).toHaveBeenCalledWith(mockValue2); | ||
expect(mockOnChange).toHaveBeenCalledTimes(2); // Why is this being called twice? |
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.
@framitdavid, do you have a suggestion here? 🤔
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #14272 +/- ##
=======================================
Coverage 95.52% 95.53%
=======================================
Files 1826 1828 +2
Lines 23757 23773 +16
Branches 2752 2753 +1
=======================================
+ Hits 22695 22711 +16
Misses 807 807
Partials 255 255 ☔ View full report in Codecov by Sentry. |
Description
Skjermopptak.2024-12-12.kl.12.49.42.mov
Related Issue(s)
Verification