Skip to content

Conversation

rupato-deriv
Copy link
Contributor

Changes:

Added test case for filter component inside dashboard

@vercel
Copy link

vercel bot commented Oct 11, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
deriv-app ✅ Ready (Inspect) Visit Preview Oct 19, 2023 3:20am

@rupato-deriv rupato-deriv changed the title fix: added test case for filters Rupato/BOT-686/fix: added test case for filters Oct 11, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Oct 11, 2023

A production App ID was automatically generated for this PR. (log)

Click here to copy & paste above information.
- **PR**: [https://github.com/binary-com/deriv-app/pull/10586](https://github.com/binary-com/deriv-app/pull/10586)
- **URLs**:
    - **w/ App ID + Server**: https://deriv-app-git-fork-rupato-deriv-rupato-bot-686testcases-132fd3.binary.sx?qa_server=red.binaryws.com&app_id=32761
    - **Original**: https://deriv-app-git-fork-rupato-deriv-rupato-bot-686testcases-132fd3.binary.sx
- **App ID**: `32761`

@github-actions
Copy link
Contributor

github-actions bot commented Oct 11, 2023

🚨 Lighthouse report for the changes in this PR:

Category Score
🔺 Performance 21
🟧 Accessibility 75
🟢 Best practices 92
🟧 SEO 85
🟢 PWA 90

Lighthouse ran with https://deriv-app-git-fork-rupato-deriv-rupato-bot-686testcases-132fd3.binary.sx/

Comment on lines +25 to +38
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);
Copy link
Contributor

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done ✅

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 39 Code Smells

No Coverage information No Coverage information
8.4% 8.4% Duplication

@sandeep-deriv sandeep-deriv merged commit 83f3a0d into deriv-com:master Oct 23, 2023
aum-deriv pushed a commit to aum-deriv/deriv-app that referenced this pull request Oct 23, 2023
* fix: added test case for filters

* fix: added expect to check active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants