-
Notifications
You must be signed in to change notification settings - Fork 379
Rupato/BOT-686/fix: added test case for filters #10586
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
Rupato/BOT-686/fix: added test case for filters #10586
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
A production App ID was automatically generated for this PR. (log)
Click here to copy & paste above information.
|
🚨 Lighthouse report for the changes in this PR:
Lighthouse ran with https://deriv-app-git-fork-rupato-deriv-rupato-bot-686testcases-132fd3.binary.sx/ |
it('should render filter component', () => { | ||
render( | ||
<Filters | ||
wrapper_ref={createMockRef} | ||
checked_filters={journal_filters} | ||
filters={journal_filters} | ||
filterMessage={mockFilterMessage} | ||
className='sample-classname' | ||
classNameLabel='sample-classname-label' | ||
id='test' | ||
/> | ||
); | ||
const el = screen.getByText('Errors'); | ||
userEvent.click(el); |
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.
@rupato-deriv Is this case completed?
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.
done ✅
Kudos, SonarCloud Quality Gate passed!
|
* fix: added test case for filters * fix: added expect to check active
Changes:
Added test case for filter component inside dashboard