Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Most of the tests of panopoly_magic depend on using a widget from panopoly_widgets (see livepreview.widget for example). Testing that the panopoly_widgets works with panopoly_magic is essential, like with the Table widget for example. But were ever we can, we should test the core functionality of panopoly_magic without needing to depend on panopoly_widgets.
I'd like to propose that panopoly_test should:
- Declare it's own FPP, which can use in the simple case. It should mimick the "Add text" widget, which is currently being used for this purpose in most tests. And...
- Create a new View which can be use in the very general and simple case. This would be better than trying to re-purpose "panopoly_test_magic_view_modes" which is pretty specific and complex and I don't want to break those tests.
I'll post a patch where I sort of started working on #1, but I just don't have time to finish it now..
Comment | File | Size | Author |
---|---|---|---|
#1 | panopoly_test-decouple-magic-and-widgets-2433037-1.patch | 1017 bytes | dsnopek |
Comments
Comment #1
dsnopekHere's the patch I mentioned - doesn't really do anything yet.
Comment #2
dsnopek