The step definition below lets you write: When I click on "Foo" This is useful in Selenium features where the...
Test suites usually grow over time as more and more development time is spent on a projects. Overall run-time...
Your account profile now links to a personal RSS feed. This RSS feed contains the newest public and private cards...
Makandra cards will auto-detect the language used for syntax highlighting. This auto-detection sometimes fails for short code snippets...
When refactoring a sequence of steps to a new, more descriptive step, you can use the steps method and Ruby...
Applications often show or hide elements based on viewport dimensions, or may have components that behave differently (like mobile vs...
If you use rails_admin, your specs pass with the rspec binary, but not using rake spec (or rake parallel...
ActiveSupport::Memoizable will be removed from Rails and has a lot of strange caveats that will ruin your day.
In a nutshell: Capybara's find will not work properly on nodes from a list. Don't find on elements...
Note that this seems to affect only recent Rails 2 versions. You will not encounter this until you are writing...
Last week saw a security issue with rails 2.3 that required a fix. While an official patch was provided, the...
In large forms (30+ controls) new Capybara version become [extremely slow] when filling out fields. It takes several seconds per...
When using the asset pipeline your assets (images, javascripts, stylesheets, fonts) live in folders inside app: app/assets/fonts app/assets/images...
If you are using VNC to run Selenium tests, it may be hard to see what's going on since...
Quick introduction to git internals for people who are not scared by words like Directed Acyclic Graph. The linked page...
Geoffrey Grosenbach has created Gruff for easily plotting graphs. It is written in pure Ruby and integrates with Rails applications...
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...
In order to navigate through the browser history. you can manipulate the window.history object via javascript like follows:
Basic box shadow support is available in all browsers today, but you need to check to which extend they are...
After installing Bundler 1.1 you will get the following warning when running tests: WARNING: Cucumber-rails required outside of env.rb...
validates_acceptance_of :terms only works if terms is set to a value. The validation is skipped silently when terms...