Skip to content

Conversation

kmcfaul
Copy link
Contributor

@kmcfaul kmcfaul commented Aug 31, 2023

What: Closes #9527

@patternfly-build
Copy link
Contributor

patternfly-build commented Aug 31, 2023

Copy link
Contributor

@thatblindgeye thatblindgeye left a comment

Choose a reason for hiding this comment

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

Some files changes noted below. Could we also add tests for the following:

  • when isActive is passed
  • A test for checking the component renders without children (similar to the first Alert test)
  • having a single snapshot test for a basic button
  • when passing a custom className
  • checking that the pf-v5-c-button class is applied by default
  • checking that pf-m-progress is applied whenever isLoading is either true or false
    • also checking that pf-m-progress is not applied for the above if the variant is "plain"

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.

Button

4 participants