Cucumber raises a Cucumber::Ambiguous if more than one step definitions match a step. Our new cucumber_priority gem provides...

makandra dev
github.com

SitePrism gives you a simple, clean and semantic DSL for describing your site using the Page Object Model pattern, for...

Spreewald comes with a selector_for helper that matches an English term like the user's profile into a CSS...

When running capybara with Chrome you might start seeing frequent "no alert open" errors when trying to interact with browser...

In most of our applications, users have their first and last name stored in separate columns. However, specifying them separately...

If you need to follow links, click buttons, etc. using Capybara inside an , you can do it like this:

github.com

If you have FactoryGirl traits like this: factory :movie do title 'Sunshine' year 2007 trait :vintage do year 1951

Please don't use the horrible datetime_select helper. It has a terrible UI. Always prefer to use a visual...

You might wonder about this request in your test.log: Started GET "/__identify__" for 127.0.0.1 at 2015-04-29 18:00...

makandra dev

Code folding is a very useful feature to me. It gives me a quick overview over a file and keeps...

When ending a Selenium test Capybara resets the browser state by closing the tab, clearing cookies, localStorage, etc.

Here's a pretty useful steps that hasn't made it into Spreewald yet. It is best used with the...

When you are using the #selector_for helper in Cucumber steps, as e.g. Spreewald does, the following snippet will save...

I got the following error after updating the selenium-webdriver gem: wrong number of arguments (0 for 1) (ArgumentError) /home/pointoo-dev/.rvm/gems/ruby-1.8.7-p374/gems/selenium-webdriver-2.35.1/lib/selenium/webdriver/common/platform.rb...

I've pushed an update to Cucumber factory that simplifies working with FactoryGirl factories. Say you define a factory with...

makandra dev
github.com

Geordi 1.0 features a command line application geordi, that holds most of Geordi's previous commands. New features

Add gem 'database_cleaner' to your Gemfile. Then: Cucumber & Rails 3+ # features/support/database_cleaner.rb DatabaseCleaner.clean_with(:deletion) # clean once, now DatabaseCleaner.strategy = :transaction...

github.com

Jonas Nicklas, the author of Carrierwave and Capybara, has released Refile, a gem for handling file uploads in Rails. It...

When navigating back to a page that was received from a POST request, undesired side effects may happen. Therefore, modern...

When running Selenium features with parallel_tests, some browser-server interaction might take longer than usual and the impatient Capybara...

Run bundle update cucumber capybara cucumber-rails to update to the newest versions. Backup your features/support/path.rb to be able to...

This is a problem when using Selenium with Firefox. We recommend using ChromeDriver for your Selenium tests. This setup allows...

github.com

Capybara-screenshot can automatically save screenshots and the HTML for failed Capybara tests in Cucumber, RSpec or Minitest. Requires Capybara...

capybara_element['attribute_name'] allows accessing an element's attributes in Capybara. A few examples: find('#my_element')['class']