The will_paginate gem will show a default of 30 records per page. If you want to test pagination in...

For my Gem Session project Holly I ran the Ironman of drag'n'drop implementations: Dragging in nested lists

makandracards.com

The step we used in the past (Then "foo" should not be visibile) doesn't reliably work in Selenium features...

makandra dev

Test suites usually grow over time as more and more development time is spent on a projects. Overall run-time...

Applications often show or hide elements based on viewport dimensions, or may have components that behave differently (like mobile vs...

When you are scrolling up to investigate a test failure it is super annoying when the terminal scrolls back down...

makandracards.com

Updated the card with our current best practice (shared app code and specs via symlinks).

Sometimes you need to remove high Unicode characters from a string, so all characters have a code point between 0...

LibreOffice Impress, Writer, etc. doesn't embed most fonts into the PDFs it generates. This means if you share a...

Note that this seems to affect only recent Rails 2 versions. You will not encounter this until you are writing...

makandra dev
robots.thoughtbot.com

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

If you are using VNC to run Selenium tests, it may be hard to see what's going on since...

makandra dev
github.com

Geoffrey Grosenbach has created Gruff for easily plotting graphs. It is written in pure Ruby and integrates with Rails applications...

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

makandra dev

Capistrano recently had some API changes that can results in deploys not working when running with old deploy.rb files.

Sometimes you need a special version of chrome because it has some features you need for testing, like in this...

You can set the resolution and user agent used in selenium tests with chrome with the method described in this...

When you want to test how an web-application reacts in a specific resolution, you can set up a specific...

All our projects have enum-like requirements like this: An attribute value must be included in a given set of...

By default, Google Analytics tracks the current URL for every request. Sometimes you will want to track another URL instead...

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.