- Issue created by @balintbrews
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
AFAICT that test coverage belongs in
prop-types.cy.js
? Or perhaps both that andpage-data-form.cy.js
? - 🇳🇱Netherlands balintbrews Amsterdam, NL
We don't currently use checkboxes or radios for any of the component prop widgets, so this can't happen in
prop-types.cy.js
yet. I suggested to test them with the Article node form because they both appear there with the Standard profile, which is what we use in the tests already.The bulletproof way would be to create a test module that sets up an entity type for XB with all kinds of field widgets. I think we will need that long term, but the incremental improvement is to rely on what we already have for the sake of progress.
- 🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺
Aha! Let's get that fixed! 😄
Opened 📌 Automatically use radio buttons for "small enums" and dropdown for "big enums" Active with an MR that automatically uses
input[type=radio]
instead ofselect
when there's >3 values in an SDC'senum
. 🏓 That will allow (necessitate, even!) writing a test inprop-types.cy.js
! 😊