Overview

See https://git.drupalcode.org/project/canvas/-/merge_requests/378#note_634030

It might be helpful to generically test that a component cannot be enabled (at least, not without validation getting mad) when it doesn't fulfill requirements. Right now we are testing this in a once-off way for each component type, but now that component candidate discovery is much saner, testing it generically is probably possible, and may be a good idea.

Proposed resolution

Decide whether or not to test this scenario generically, and do it if we choose.

User interface changes

None. This only touches tests.

Comments

phenaproxima created an issue. See original summary.

wim leers’s picture

Title: Consider testing component status validation generically » Consider testing component status validation generically, in `ComponentSourceTestBase`
Parent issue: » #3520484: [META] Production-ready ComponentSource plugins