Skip to content

Conversation

@christophe-g
Copy link
Contributor

@@ -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
Contributor 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).

Copy link
Owner

Choose a reason for hiding this comment

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

Sorry it's been so long on this. Burn out is real and I'm trying to keep my head mostly in my current-employer's code base (which is React-based) to protect my own sanity. I definitely agree with Liz here that I'm happy to merge this but I don't want MWC radio as a dev dependency. If you can replicate the issue without MWC, I'll get this merged in.

@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.

4 participants