Nesting Components
It would be interesting to be able to create components with components inside them to ease some heavy testings that require big setup steps.
It would be interesting to be able to create components with components inside them to ease some heavy testings that require big setup steps.
Log in to comment and vote
Comments3
LoupPetit
Nov 26, 2024
I have no insights of the technical limitations that your team might encounter with such demands, but I just thought it to be nice to have.
Currently I am testing a back-office webapplication and trying to cover many use-cases that often require setting-up (and cleaning-up) data on customers, invoices, products and such. Many “big” setup and cleanup steps are comprised of several '“mini” steps that are registered as components, but which are actually used elsewhere in many different ways.
The idea behind my feature request was to be able to organize these “mini” components into “supra” components and reuses these latest at will.
Provided of course we don’t mess with test variables and try to pass them from micro to macro and such, as I guess it would easily become a mess.
Paweł Bylina
Nov 26, 2024
That sounds reasonable. Maybe we need to limit the maximum nesting depth. I will definitely discuss this with our UX expert. Thanks!
Paweł Bylina
Nov 26, 2024
I approved this feature, but nested components introduce complexity and a lot of corner cases, so this may not be the best idea.
What are you trying to achieve?