If you have a flaky command you can use the nick-invision/retry to re-try a failing command, optionally...

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...

The Node Version Manager allows installing multiple NodeJS versions and switching between them. By default, it does not automatically switch...

makandra dev

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...

To attach files to your records, you will need a new database column representing the filename of the file...

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...

makandra dev

In Ruby (almost) everything is an Object. While this enables a lot of powerful features, this concept might be confusing...

makandra dev
github.com

capybara-lockstep can help you with flaky end-to-end tests: This Ruby gem synchronizes Capybara commands with client-side...

makandra dev

5.4.0 2021-02-01 Compatible changes Add geordi branch command that checks out a feature branch based on a story...

ZSH is an alternative command line shell that includes some features like spelling correction, cd automation, better theme, and plugin...

By default parallel_tests will spawn as many test processes as you have CPUs. If you have issues with flaky...

If your project depends on an old version of ImageMagick that you can no longer install in your system, you...

bundle outdated [--filter-major|--filter-minor|--filter-patch] Example output for bundle outdated --filter-major Other examples

getbootstrap.com

Recently I made an upgrade from Bootstrap 3 to Bootstrap 4 in a bigger project. Here are some tips how...

When running an older version of docker-compose you might see the following error: ERROR: Version in "./docker-compose.yml" is unsupported...

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...

makandra dev

Feature Queries (Edge 12+): Similar to @media queries, @supports blocks can be scoped to browsers that support a given declaration...

When deploying a Rails application that is using Webpacker and Capistrano, there are a few configuration tweaks that optimize the...