Jasmine is a great way to unit test your JavaScript components without writing an expensive end-to-end test for...
A flaky test is a test that is often green, but sometimes red. It may only fail on some PCs...
If you want Sidekiq to be able to talk to Redis on staging and production servers, you need to add...
Basic validations Read the Rails Guide on ActiveRecord Validations. You should have an overview which kinds of validations are built...
Within development and test environments, Rails is usually configured to show a detailed debug page instead of 404s. However, there...
This RailsCast demonstrated a very convenient method to activate VCR for a spec by simply tagging it with :vcr.
RSpec is smart when using the include-matcher in combination with .not_to. One could assume that .not_to include...
Sometimes a link or input field has no visible label. E.g. a text field with a magnifying glass icon 🔎 and...
The RSpec matcher tests if two HTML fragments are equivalent. Equivalency means: Whitespace is ignored Types of attribute quotes are...
We are using Spring in our tests for sequential test execution but not for parallel test execution. And Rails requires...
Our gem spreewald supports a few helpers for development. In case you notice errors in your Cucumber tests, you might...
It seems like changing the HTTP_ACCEPT_LANGUAGE is not possible for a headless chrome. On Ubuntu the headless Chrome...
You can throttle the network in your headless chrome via Selenium. This might be useful for debugging issues with flaky...
An extensive list of command line options when booting Chrome. This is useful for building a Capybara driver with custom...
To start a workflow manually it must have a trigger called workflow_dispatch: --- name: Tests on: push: branches: - master
If you have a flaky command you can use the nick-invision/retry to re-try a failing command, optionally...
Accessing other repositories in Gitlab CI is not straight forward, since the access rights of the current pipeline might not...
In case your integration tests crash with a message like below, try to upgrade Capybara to a newer version (3.35.3...
Capybara added a deprecation warning in version 3.35.3 (version from 2019) that shows up if your selector is not of...
6.0.0 2021-06-02 Compatible changes geordi commit will continue even if one of the given projects is inaccessible. It...
We recently noticed issues with Chrome 75+ when having the w3c option enabled within the Selenium webdriver. It looks like...
When testing JavaScript functionality in Selenium (E2E), you may need to access a class or function inside of a evaluate...
I encountered a unlucky behavior of byebug 11.1.3 (the most recent version at time of writing) when using it with...
rspec >= 3.1 brings a method and_wrap_original. It seems a bit complicated at first, but there are use cases...