- Issue created by @larowlan
- Status changed to Needs review
5 months ago 10:32pm 5 August 2024 - Status changed to Fixed
4 months ago 6:43pm 10 August 2024 Automatically closed - issue fixed for 2 weeks with no activity.
We're using enums that implement an interface to register component selectors.
We would like to be able to use a custom selector that is aware of these to avoid boilerplate.
We extend WebAssert and add componentExists
, componentWithTextExists
and their negative counterparts.
These internally call elementExists('component', ...)
i.e. a custom selector that knows how to translate the Enums into xpath.
However we can't easily add a new selector without copying all of setupMinkSession
which we'd rather avoid
Additional mink has deprecated Session::getSelectionHandler
so we need to do this at setup time.
Add a new extension point (method) for setting up the selection handler.
Fixed
Code
Automatically closed - issue fixed for 2 weeks with no activity.