In the previous article we learnt about the getByText() and getByRole() queries. The getByX() queries throw an error and immediately cause tests to fail if they are not present in the DOM.
REQUIRED VERSION > 0.58
If you’re in the early stages of developing a react native app or just want a quick and easy way to share an apk with your QA or a client who has an android phone, you can easily generate a debug apk file which is unsigned.
The Problem The user is part way through completing a form or wizard and then the accidently click a link or trigger back on their browser… 😞 Their progress is lost and you have a frustrated user on you hands.
Good old undefined properties We’ve all been caught out by undefined properties in JavaScript. Below is a ridiculous example to really highlight the point.
One of the limitations that I have come across with test automation, and specifically Cypress, in the past is the fact that it doesn’t have a built-in way to generate random test data.