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...
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...
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...
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...
We prefer to run our end-to-end tests with headless Chrome. While it's a very stable solution overall...
When your Rails application server raises error, Capybara will fail your test when it clears the session after the last...
Browsers blocks abusable JavaScript API calls until the user has interacted with the document. Examples would be opening new tab...
capybara-lockstep can help you with flaky end-to-end tests: This Ruby gem synchronizes Capybara commands with client-side...
By default parallel_tests will spawn as many test processes as you have CPUs. If you have issues with flaky...
bundle outdated [--filter-major|--filter-minor|--filter-patch] Example output for bundle outdated --filter-major Other examples
When testing with Cucumber / Caypbara, iframes are ignored, so you can't interact with them. To interact with your iframe...
Headless Chrome is a way to run the Chrome browser without a visible window. Configuring Capybara Configure the Capybara driver...
Git diffs show the surrounding contexts for diff hunks. It does so by applying regular expressions to find the beginning...
Here is a short summary of Cucumber hooks in Ruby taken from https://github.com/cucumber/cucumber-ruby. Note that the BeforeStep is...
If you're using the webdrivers gem and VCR together, depending on your configuration, VCR will yell at you regulary...