Skip to content

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

Merged
dancormier merged 2 commits intodevelopfrom
dcormier/test-null-modifier-fix
Feb 8, 2024
Merged

fix(test): ensure includeNullModifier value is honored#1638
dancormier merged 2 commits intodevelopfrom
dcormier/test-null-modifier-fix

Conversation

@dancormier
Copy link
Copy Markdown
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
@netlify
Copy link
Copy Markdown

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.

@netlify
Copy link
Copy Markdown

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
Copy Markdown
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
@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