Which selectors your choose for your tests matter, a lot. In this lesson, we'll see the recommended Cypress best practices for selectors, and why we should prefer the data-cy attribute.
Error: CypressError: Timed out retrying: Expected to find element: 'Hello world', but never found it. for some reason. Haven't looked into it as this probably isn't a feature I would use, but just a heads up
why not to use id attribute?