perlstalker.vuser.org

While you can set your own font in your terminal or other tools, it will not change the default "Monospace...

Generally, Selenium tests use the browser to interact with the page. If it's unavailable, a timeout error is...

github.com

Takes a screenshot when you call it, or when a test fails.

makandra dev

This describes how to migrate an existing cucumber test suite to Spreewald. Add the gem Include spreewald into your cucumber...

web.archive.org

TL;DR Avoid before(:context) (formerly before(:all)), use before(:example) (formerly before(:each)) instead. If you do use before...

The step definition below allows you to write: Then I should see an HTML redirect to "http://www.makandracards.com" in the...

makandra dev

If a customer calls and tells you that she cannot see some content of her website beware of the following...

If you have an html_safe string, you won't be able to call gsub with a block and match...

A print stylesheet is easy to create. Choose a font suited for paper, hide some elements, done. Unfortunately print stylesheets...

github.com

Internet Explorer until version 9 has some limitations when parsing CSS files Summarized, these are: Up to 31 CSS files...

github.com

In Selenium features the server and client are running in separate processes. Therefore, when mocking time with a tool like...

github.com

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

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

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

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

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