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

fix(test): ensure includeNullModifier value is honored #1638

Merged
merged 2 commits into from
Feb 8, 2024

Conversation

dancormier
Copy link
Contributor

After having visual failures of test(select): add a11y, visual tests #1498 after it had been updated with the latest test changes in develop, I realized something was not working as expected.

Turns out that we're not fully honoring the includeNullModifier option for secondary and global modifiers (this bug predates the recent test changes). This PR fixes that bug.

@dancormier dancormier requested a review from giamir February 7, 2024 20:03
@dancormier dancormier marked this pull request as ready for review February 7, 2024 20:04
Copy link

netlify bot commented Feb 7, 2024

Deploy Preview for stacks ready!

Name Link
🔨 Latest commit 9e7865d
🔍 Latest deploy log https://app.netlify.com/sites/stacks/deploys/65c3e22226af8700087b4553
😎 Deploy Preview https://deploy-preview-1638--stacks.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Feb 7, 2024

Deploy Preview for stacks ready!

Name Link
🔨 Latest commit 7851713
🔍 Latest deploy log https://app.netlify.com/sites/stacks/deploys/65c3e22f0de35700082608c6
😎 Deploy Preview https://deploy-preview-1638--stacks.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@giamir giamir left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks 🙏

Sidenote
I might be going a bit meta here but this specific test utils is getting so complex that might deserve its own set of unit tests. 😅

@dancormier dancormier merged commit e3f479c into develop Feb 8, 2024
10 checks passed
@dancormier dancormier deleted the dcormier/test-null-modifier-fix branch February 8, 2024 14:39
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