Root Insurance runs their application as a monolithic Rails application – but they've modularized it inside its repository. Here is...
Debugging image color profiles is hard. You can't trust your eyes in this matter, as the image rendering depends...
To test that an object was constructed by a given constructor function, use jasmine.any(Klass): describe('plus()', function() { it ('returns...
If you want to make your Rails application be capable of sending SMTP emails, check out the action mailer configuration...
There is a kind of features in web applications that hinder automated integration tests. Examples include cookie consent banners or...
ActiveSupport (since 4.1) includes test helpers to manipulate time, just like the Timecop gem: To travel a relative amount of...
Most of the time it is a tedious task to apply a code style guide to an existing code...
When using Chrome for Selenium tests, the chromedriver binary will be used to control Chrome. To debug problems that stem...
The main benefit of our convention to prefix commits by their corresponding Pivotal Tracker ID is that we can easily...
General hints on the DOM the root of the DOM is document custom elements inherit from HTMLElement. They need a...
When an AJAX request raises an exception on the server, Rails will show a minimal error page with only basic...
webpack is a very powerful asset bundler written in node.js to bundle (ES6) JavaScript modules, stylesheets, images, and other assets...
RubyMine comes with a nice way to grep through your project's files: The finder (ctrl + shift + f). Don't...
Element finding is a central feature of Capybara. Since #find is normally used to get elements from the current page...
The goal is to get Jasmine specs running in a Rails project using Webpacker, with the browser based test runner...
Travis changed their default distribution from Ubuntu 14.04 (trusty) to 16.04 (precise). This might break your test setup for new...
Download buttons can be difficult to test, especially with Selenium. Depending on browser, user settings and response headers, one of...
TL;DR Most web applications do not require action on this. SameSite=None (old browser default) will continue to work...
PostCSS is a tool for transforming styles with JS plugins. In Webpacker you can configure the plugins and their settings...
While deploying an Ruby update to an old application these days, we encountered the following misleading error: *** [err :: some-host.makandra.de] You...
When we want to use our own (or bought) fonts in an application with Webpack(er), we have two options...
RSpec >= 3.3 added aggregate_failures, which allows multiple failures in an example and list them all, rather than aborting on...
When building an application that sends e-mails to users, you want to avoid those e-mails from being classified...
Suggested Workflow Set the ruby version in .ruby-version to 2.3.5, then perform these steps one by one, fixing errors...