-
Notifications
You must be signed in to change notification settings - Fork 538
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
chore(Banner): Remove the CSS modules feature flag from Banner #5282
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: fc2735c 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 |
👋 Hi, this pull request contains changes to the source code that github/github depends on. If you are GitHub staff, we recommend testing these changes with github/github using the integration workflow. Thanks! |
size-limit report 📦
|
@@ -115,9 +115,9 @@ describe('Banner', () => { | |||
/>, | |||
) | |||
|
|||
expect(screen.getByRole('button', {name: 'test primary action'})).toBeInTheDocument() | |||
expect(screen.queryAllByText('test primary action')[0]).toBeInTheDocument() |
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.
is this because the tests where failing? If so maybe we should run integration tests to make sure it doesn't happen in dotcom
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.
For responsiveness we're rendering 2 elements now. I couldn't figure out if I could only getByRole
for visible ones so I ended updating to get the first result
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.
I think the jest tests couldn't differentiate between seen and not seen 🤔 will most likely need to fix tests in dotcom when this one lands
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.
Is it possible to make the change in dotcom now so it doesn't break the release? We've been trying to do that if possible. If not, can we have the changes ready to go in a commit so that they can be cherry-picked into the release branch?
👋 Hi from github/github! Your integration PR is ready: https://github.com/github/github/pull/351263 |
🔴 golden-jobs completed with status |
Changelog
New
Changed
Removed
Remove the CSS modules feature flag from Banner
Rollout strategy
Testing & Reviewing
Merge checklist