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] Extract common popup tests #1358

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

michaldudak
Copy link
Member

@michaldudak michaldudak commented Jan 27, 2025

To help ensure all our popup-based components work in a similar way, I added a popup test suite that's shared across all these components. I have included just the basic tests so far. It can be extended to test modality going forward.

Additional changes:
Created async versions of rerender and setProps functions returned from render in tests. They now behave similarly to render as they flush the microtask queue before returning.

Copy link

netlify bot commented Jan 27, 2025

Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit 4900296
🔍 Latest deploy log https://app.netlify.com/sites/base-ui/deploys/679a29b72f770f0008dbedf2
😎 Deploy Preview https://deploy-preview-1358--base-ui.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.

@michaldudak michaldudak marked this pull request as ready for review January 29, 2025 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant