View specs are a powerful tool to test several rendering paths by their cases instead of using a more costing...
The recommended additional setup of the spreewald gem, a useful set of cucumber steps, includes adding a file for defining...
We regularly have tasks that need to be performed around a deploy. Be it to notify operations about changed application...
Note Don't use reruns as a mean to work around flaky tests. You should always try to fix those...
Do you remember finding where a method is defined? I recently learned from a senior colleague that Method objects are...
The linked rbenv plugin rbenv-each is very helpful to keep QoL gems up to date that are not part...
By default, Devise sends all emails synchronously with deliver_now. To change that, Devise's readme suggests overwriting the send...
Chromedriver (or selenium-webdriver?) will not reliably scroll elements into view before clicking them, and actually not click the element...
You don't want sensitive user data in your logs. Background Rails per default filters sensitive data like...
Disclaimer This card is a collection of guides and things to have in mind when upgrading to a specific version...
Besides Plotting graphs in Ruby with Gruff, which comes handy for many uses cases, you sometimes might need configuration for...
Both knapsack and parallel_tests have the option to split groups by historic execution time. The required logs for this...
For my computer science bachelor's thesis I programmed and evaluated a CLI Test Case Prioritization (TCP) tool for makandra...
The git doc states on the difference of these two commands: git-restore[1] is about restoring files in the...
There are multiple ways to redirect URLs to a different URL in Rails, and they differ in small but important...
Rails' url_for is useful for generating routes from a Hash, but can lead to an open redirect vulnerability.
Rails' Strong Parameters enable you to allow only specific values from request params to e.g. avoid mass assignment.
In the linked page, Manuel Matuzović offers an FAQ regarding web components, and their accessibility in particular.
Newest versions of Chromedriver breaks the user agent for device emulation via device name. In previous versions the user agent...
Capybara allows you to filter elements that are focused. page.find(:fillable_field, focused: true) # Filtering only fillable inputs for performance...
An introduction to mangling When you minify ("compress", "optimize") your JavaScript for production, the names of your functions and variables...
In CI test runs I noticed that string sorting order changed after switching from a debian-based PostgreSQL docker image...
You can tell npm to install a package globally with npm -g install @puppeteer/browsers. However, it seems that its not...
Rails offers several methods to manage three types of different cookies along with a session storage for cookies. These...