A print stylesheet is easy to create. Choose a font suited for paper, hide some elements, done. Unfortunately print stylesheets...
Internet Explorer until version 9 has some limitations when parsing CSS files Summarized, these are: Up to 31 CSS files...
In Selenium features the server and client are running in separate processes. Therefore, when mocking time with a tool like...
No one wants to cry over regression issues in views; does testing HTML and CSS have to be such a...
Don't say is_a?(ActiveRecord::NamedScope::Scope) because that is no longer true in Rails 3 and also doesn...
The will_paginate gem will show a default of 30 records per page. If you want to test pagination in...
The step we used in the past (Then "foo" should not be visibile) doesn't reliably work in Selenium features...
Test suites usually grow over time as more and more development time is spent on a projects. Overall run-time...
When you are scrolling up to investigate a test failure it is super annoying when the terminal scrolls back down...
Updated the card with our current best practice (shared app code and specs via symlinks).
The Rails community has been abuzz with object-oriented programming, SOLID principles, laws, design patterns, and other principles, practices, and...
In large forms (30+ controls) new Capybara version become [extremely slow] when filling out fields. It takes several seconds per...
Localizing a non-trivial application can be a huge undertaking. This card will give you an overview over the many...
Note: You might also want to check out BoxCryptor which does pretty much the same, and is supported across many...
When you want to test how an web-application reacts in a specific resolution, you can set up a specific...
After installing Bundler 1.1 you will get the following warning when running tests: WARNING: Cucumber-rails required outside of env.rb...
Capybara has a global option (Capybara.ignore_hidden_elements) that determines whether Capybara sees or ignores hidden elements.
This is surprisingly difficult when there is a with the same text on the page, but you really want to...
Online tool to test how a site behaves in popular desktop, tablet and phone resolutions.
If you're responsible for gatekeeping in a projects, here is a guide, what to do. In order to reduce...
When your model is using a callback like before_save or before_validation to calculate an aggregated value from its...
Tooltips that are delivered through HTML attributes are encoded. Decode entities before checking for their presence. Capybara: Then /^there should...
Some helpers for poking around at your Capybara driven browser's cookies in integration tests. Supports Capybara's bundled drivers...
Possible Reason 1: parallel_tests - running more processes than features If you run old versions of parallel_tests with more...