- 
                Notifications
    You must be signed in to change notification settings 
- Fork 640
          Dialog: Add sx styles back to the footer styled-component & add visual regression tests for both Dialogs
          #3935
        
          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
Conversation
| 🦋 Changeset detectedLatest commit: f2375ad The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
 Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR | 
| size-limit report 📦
 | 
sx styles back to the footer styled-component & add visual regression tests for both Dialogs
      There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oof, sorry about this! Good catch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These should help with the timeouts 🤞
Co-authored-by: Josh Black <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love the tests! 🥳
Caught an issue on the dotcom integration tests where our dialog was showing the footer when it is not supposed to. (file reference). It turns out the
sxprop wasn't applied in the below code. I think #3918 introduced a regression. I believe removing thesxstyles from the footer styled-component wasn't intentional.Changelog
New
Added visual regression tests for Dialog and Dialog1. (We should be able to catch these issues on our end before merged now 🤗)
Changed
Added the
sxstyles back to the styled footer.Removed
Rollout strategy
Testing & Reviewing
Can be looked into the custom rendering story and make sure the sx styles are applied.
Merge checklist
Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.