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.
LiveView provides real-time user interaction within an application. Some use cases where LiveView fit excellently in an application are input validation, button click, autocomplete and live search.
Tailwind comes with a bunch of variations of utilities out the box for example we can use w-2, h-8, left-0.5, rounded-sm and so on to style an elements dimensions, position and appearance.
Or how I learned to love the notch…
The Problem Tailwind is great, sometimes so great you find you can create a whole project without a single line of css.
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.
Looping through template variables The standard way to iterate through lists in Phoenix templates is to use for/1
<%= for post <- @posts do %> <%= render "post.
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.