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(RecsListTable) useState hook to distinguish safe for test state #204

Merged
merged 4 commits into from
Apr 11, 2022

Conversation

Fewwy
Copy link
Collaborator

@Fewwy Fewwy commented Apr 7, 2022

< Table ouiaSafe={testSafe} / > doesn't work it is always equal to true
OuiaSafe property is not described in the patternfly docs so I created an issue in their repository
We need to wait for their answer to understand it better
patternfly/patternfly-react#7185

If it won't get fixed we can add a custom property to the elements to distinguish that it's ready to test them
OR
use refs to add some "test ready flag" to the DOM elements

@Fewwy Fewwy added the enhancement New feature or request label Apr 7, 2022
@Fewwy Fewwy self-assigned this Apr 7, 2022
@codecov-commenter
Copy link

Codecov Report

Merging #204 (273e9d2) into master (1b04ece) will increase coverage by 0.07%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #204      +/-   ##
==========================================
+ Coverage   76.53%   76.60%   +0.07%     
==========================================
  Files          27       27              
  Lines         976      979       +3     
  Branches      362      362              
==========================================
+ Hits          747      750       +3     
  Misses        229      229              
Impacted Files Coverage Δ
src/Components/RecsListTable/RecsListTable.js 75.00% <100.00%> (+0.38%) ⬆️

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 0e1ef00...273e9d2. Read the comment docs.

@gkarat gkarat enabled auto-merge (squash) April 11, 2022 10:47
@gkarat gkarat merged commit b49dc20 into RedHatInsights:master Apr 11, 2022
gkarat pushed a commit that referenced this pull request Apr 11, 2022
## [1.3.4](v1.3.3...v1.3.4) (2022-04-11)

### Bug Fixes

* **Recommendations list table:** set OUIA test-safe attribute ([#204](#204)) ([b49dc20](b49dc20))
@gkarat
Copy link
Collaborator

gkarat commented Apr 11, 2022

🎉 This PR is included in version 1.3.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants