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

fix(Cluster rules table): display table rows only when filtering is completed #261

Merged

Conversation

gkarat
Copy link
Collaborator

@gkarat gkarat commented May 6, 2022

The bug was discovered when the cypress rows counting test was failing (for a manual test, the bug is not visible, however, automated tests are able to identify them since they manipulate with interface way faster than users).

This makes the table show rows only when the data filtering and sorting are complete.

@gkarat gkarat added the bug Something isn't working label May 6, 2022
@gkarat gkarat requested review from ikerreyes and Fewwy May 6, 2022 16:24
@gkarat gkarat self-assigned this May 6, 2022
@codecov-commenter
Copy link

Codecov Report

Merging #261 (471ecae) into master (3d8f9de) will increase coverage by 0.05%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #261      +/-   ##
==========================================
+ Coverage   83.22%   83.27%   +0.05%     
==========================================
  Files          24       24              
  Lines         924      927       +3     
  Branches      331      331              
==========================================
+ Hits          769      772       +3     
  Misses        155      155              
Impacted Files Coverage Δ
src/Components/ClusterRules/ClusterRules.js 81.09% <100.00%> (+0.35%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3d8f9de...471ecae. Read the comment docs.

@gkarat gkarat changed the title fix(Cluster rules table): display table rows only when filerting is completed fix(Cluster rules table): display table rows only when filtering is completed May 6, 2022
Copy link
Collaborator

@ikerreyes ikerreyes left a comment

Choose a reason for hiding this comment

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

Good finding

src/Components/Cluster/Cluster.spec.ct.js Outdated Show resolved Hide resolved
@gkarat gkarat force-pushed the fix-check-row-counts-cluster-rules branch from 471ecae to 474804a Compare May 9, 2022 09:49
@gkarat gkarat enabled auto-merge (squash) May 9, 2022 09:50
Copy link
Collaborator

@Fewwy Fewwy left a comment

Choose a reason for hiding this comment

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

LGTM!

@gkarat gkarat disabled auto-merge May 9, 2022 13:01
@gkarat gkarat merged commit 8016533 into RedHatInsights:master May 9, 2022
gkarat pushed a commit that referenced this pull request May 9, 2022
## [1.3.12](v1.3.11...v1.3.12) (2022-05-09)

### Bug Fixes

* **Cluster rules table:** display table rows only when filerting is complete ([#261](#261)) ([8016533](8016533))
@gkarat
Copy link
Collaborator Author

gkarat commented May 9, 2022

🎉 This PR is included in version 1.3.12 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@gkarat gkarat added the released label May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants