Skip to content

chore(Hint): react testing library test revamps#7626

Merged
nicolethoen merged 4 commits into
patternfly:mainfrom
andyyvo:iss7616
Jul 11, 2022
Merged

chore(Hint): react testing library test revamps#7626
nicolethoen merged 4 commits into
patternfly:mainfrom
andyyvo:iss7616

Conversation

@andyyvo

@andyyvo andyyvo commented Jun 28, 2022

Copy link
Copy Markdown
Contributor

What: Closes #7616 . Added new tests for the Hint component (and subcomponents).

Additional issues:

@patternfly-build

patternfly-build commented Jun 28, 2022

Copy link
Copy Markdown
Collaborator

@wise-king-sullyman wise-king-sullyman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This is looking great! I just have a handful of small requests.

Comment thread packages/react-core/src/components/Hint/__tests__/Hint.test.tsx Outdated
Comment thread packages/react-core/src/components/Hint/__tests__/Hint.test.tsx Outdated
Comment thread packages/react-core/src/components/Hint/__tests__/Hint.test.tsx Outdated
Comment thread packages/react-core/src/components/Hint/__tests__/HintBody.test.tsx Outdated
@nicolethoen nicolethoen self-requested a review July 8, 2022 13:56

@wise-king-sullyman wise-king-sullyman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I have one tiny nit about a test name, but other than that this is looking really solid!

Comment thread packages/react-core/src/components/Hint/__tests__/Hint.test.tsx Outdated

@wise-king-sullyman wise-king-sullyman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

🚀 🚀 🚀 awesome work on this!

@nicolethoen nicolethoen merged commit 4216bfd into patternfly:main Jul 11, 2022
jenny-s51 pushed a commit to jenny-s51/patternfly-react that referenced this pull request Jul 26, 2022
* chore(Hint): react testing library test revamps

* chore(Hint): added tests for testing actions options

* chore(Hint): added action prop and inherited prop tests

* chore(Form): quick test name change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hint test revamp

4 participants