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

test(button): add ghost variant darkmode and lightmode screenshot tests #901

Closed
wants to merge 6 commits into from

Conversation

max-umain
Copy link
Collaborator

@max-umain max-umain commented Dec 12, 2024

Describe pull-request

Adds screenshot tests for button in primary and second mode variants for the ghost variant.

Issue Linking:

How to test

  1. Run npm run test
  2. Visually inspect the files generated by the tests

Checklist before submission

  • I have added unit tests for my changes (if applicable)
  • All existing tests pass
  • I have updated the documentation (if applicable)
  • Not breaking production behavior
  • Behavior available in storybook with documented descriptions (if applicable)
  • npm run build-all without errors

Suggested test steps

  • Browser testing (Chrome, Safari, Firefox)
  • Keyboard operability
  • Interactive elements have labels.
  • Storybook controls
  • Design/controls/props is aligned with other components
  • Dark/light mode and variants
  • Input fields – values should be displayed properly
  • Events

Screenshots

Not applicable

Additional context

None

Copy link
Contributor

github-actions bot commented Dec 12, 2024

Playwright test results

passed  396 passed
skipped  1 skipped

Details

stats  397 tests across 136 suites
duration  56 seconds
commit  cf80a02

Skipped tests

src/components/table/table/test/expandable-row-autocollapse/expandable-row-autocollapse.e2e.ts › tds-table-expandable-row-autoCollapse › NEEDS FIXING: expanding one row collapses the others when autoCollapse is true

Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-901.d3fazya28914g3.amplifyapp.com

@max-umain max-umain force-pushed the test/button-ghost-variant-screenshot-tests branch from 5f0c176 to cf80a02 Compare December 16, 2024 08:57
Copy link
Collaborator

@ckrook ckrook left a comment

Choose a reason for hiding this comment

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

Looks good!

@max-umain max-umain changed the title test(button): add ghost variant screenshot tests test(button): add ghost variant darkmode and lightmode screenshot tests Dec 16, 2024
@max-umain max-umain closed this Dec 17, 2024
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.

2 participants