Actual result: it passes (because there is a descendant that matches the second selector)
Expected result: my understanding is that Selector.all allows us to find a single HTML element that matches all given selectors - if this is not the case, then I would say the description of this function should be clarified
To reproduce:
Another example with a
class
selector:Link to running examples: https://ellie-app.com/m7RYfvvLvjPa1
Actual result: it passes (because there is a descendant that matches the second selector)
Expected result: my understanding is that
Selector.all
allows us to find a single HTML element that matches all given selectors - if this is not the case, then I would say the description of this function should be clarified