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...
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...
We recently noticed issues with Chrome 75+ when having the w3c option enabled within the Selenium webdriver. It looks like...
When giving a presentation where you do some coding, the font size you usually use is probably a bit too...
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...
Matching the "space" character class For matching whitespaces in a regular expression, the most common and best-known shorthand expression...
rspec >= 3.1 brings a method and_wrap_original. It seems a bit complicated at first, but there are use cases...
When dealing with external data sources, you may have to deal with improperly encoded strings. While you should prefer deciding...
You can publish pre-release versions of an npm package. Naming convention for pre-release versions An npm package must...
When a Ruby version gem has a letter in its version number, it is considered a pre-release:
The usual way to build a relation in a ActiveSupport::Concern is this: module MyModule extend ActiveSupport::Concern
In RubyMine folders can be excluded from search, navigation etc. by marking it as excluded. You might sometimes wish to...
When storing files for lots of records in the server's file system, Carrierwave's default store_dir approach may...
When deleting a record in your Rails app, Carrierwave automatically takes care of removing all associated files. However, the file...
If your Webpack build is slow, you can use the Speed Measure Plugin for Webpack to figure out where time...
To run additional code before an existing Rake tasks you can add a dependency like this: task :before_task...
Sometimes you want to load code on demand. For instance, when a a large library is only used on a...
Use rules to include or exclude jobs in pipelines. Rules are evaluated in order until the first match. When a...
Installing gems on a server that has no access to the internet (especially rubygems.org) requires to bundle the gems into...
Generate a password htpasswd -Bn firstname.lastname This will ask you for a password and use bcrypt (-B, more secure) and...
In newer passenger versions the output of passenger -v has changed. capistrano-passenger tries to parse the version and now...