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 prevent false positive is valid #131

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

christophe-g
Copy link

@@ -1,4 +1,6 @@
import { expect, fixture, html } from '@open-wc/testing';
import '@material/web/radio/radio.js'

Choose a reason for hiding this comment

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

drive-by comment, I wouldn't recommend importing a final implementation of a component, there's a lot going on in MWC's radio that would make this difficult to reliably test.

Instead, I'd try to see what <md-radio> is doing that isn't working and create a minimal reproduction class like TestInput.

Copy link
Author

Choose a reason for hiding this comment

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

tahnks @asyncLiz you are rigth - however, my own bandwidth is too limited at the moment to dive deeper into radio internals (and no webkit available to play around with devtools).

src/ValidityState.ts Outdated Show resolved Hide resolved
@christophe-g christophe-g force-pushed the fix-prevent-false-positive-isValid branch from e3b61ce to a2e203a Compare May 24, 2024 17:58
@christophe-g christophe-g force-pushed the fix-prevent-false-positive-isValid branch from a2e203a to 18145e1 Compare May 26, 2024 13:26
@kkachniarz220
Copy link

any updates?

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.

3 participants