TL;DR When using Cache-Control on a Rails application, make sure the Vary: Accept header is set.
Field error steps Spreewald's The...
...field should have an error and The...
...field should have the error...
...steps now...
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...
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...
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...
The attached compiler() function below applies JavaScript behavior to matching HTML elements as they enter the DOM. This works like...
Our gem spreewald supports a few helpers for development. In case you notice errors in your Cucumber tests, you might...
When using custom properties in your stylesheets, you may want to set a specific property value to an existing variable...
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...
After switching a project from Sprockets to Webpack, I started observing a bug that was hard to debug: Our...
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...