A flaky test is a test that is often green, but sometimes red. It may only fail on some PCs...
An end-to-end test (E2E test) is a script that remote-controls a web browser with tools like Selenium...
...re using an external UI component library, you've probably introduced a lot of flakyness to your spec. UI Components often introduce autoplay features, animations, take longer to initialize, are...
By default parallel_tests will spawn as many test processes as you have CPUs. If you have issues with flaky...
Unpoly's [up-observe], [up-autosubmit] and [up-validate] as well as their programmatic variants up.observe() and up.autosubmit...
We use Selenium WebDriver integrated with Cucumber/Capybara for full-stack integration testing. Try and use it Your forked MovieDB should...
When ending a Selenium test Capybara resets the browser state by closing the tab, clearing cookies, localStorage, etc.
Maintaining larger projects makes it more difficult to balance refactoring and upgrade tasks according to its actual value. Consider to...
If you run a Rails app that is using Turbo, you might observe that your integration tests are unstable depending...
In Rails 7.2 the new default for config.action_dispatch.show_exceptions is rescuable. :rescuable: It will show a Rails error page in...
testing-library are widely used testing utilities libraries for javascript dependent frontend testing. The main utilities provided are query methods...
I recently noticed a new kind of flaky tests on the slow free tier GitHub Action runners: Integration tests were...
Element finding is a central feature of Capybara. Since #find is normally used to get elements from the current page...
Find-as-you-type boxes are usually built by observing changes in a text field, and querying the server via...
Understand how we're dealing with exception notifications. Integrate exception notification into your MovieDB. Use your personal e-mail as...
Not all email clients support external images in all situations, e.g. an image within a link. In some cases, a...
Note Don't use reruns as a mean to work around flaky tests. You should always try to fix those...
Ruby's standard library includes a class for creating temporary directories. Similar to Tempfile it creates a unique directory name...
You can throttle the network in your headless chrome via Selenium. This might be useful for debugging issues with flaky...
ZSH is an alternative command line shell that includes some features like spelling correction, cd automation, better theme, and plugin...
If you have a flaky command you can use the nick-invision/retry to re-try a failing command, optionally...
To find an input with the type hidden, you need to specify the type hidden: find_field('Some label', type...
capybara-lockstep can help you with flaky end-to-end tests: This Ruby gem synchronizes Capybara commands with client-side...