The current $ method returns actual Vaadin component instances. Testing via those is sometimes the easiest way, but may also cause "unexpeted" things. The primary way we should advocate would probably be via "Tester" APIs. Thus it would be handy if the "locators" (currently the $ thingie) could directly return "Testers". The component instance could then be aquired via tester or via separate API 🤷♂️
Note, I have not fully inspected the implementation so this is not a "finished plan", but more like an observation that "we should do somethign for this".
The current $ method returns actual Vaadin component instances. Testing via those is sometimes the easiest way, but may also cause "unexpeted" things. The primary way we should advocate would probably be via "Tester" APIs. Thus it would be handy if the "locators" (currently the $ thingie) could directly return "Testers". The component instance could then be aquired via tester or via separate API 🤷♂️
Note, I have not fully inspected the implementation so this is not a "finished plan", but more like an observation that "we should do somethign for this".