If you are trying to integrate VCR and Cucumber 4 and you're using the use_scenario_name: true option...

Here is an example with the --tags option. You need to wrap them inside --cucumber-options option of parallel_cucumber...

Running Cucumber tests while your cucumber.yml is 100% valid may still produce the following error. cucumber.yml was found, but could...

tl;dr Don't forget require 'English' if you use a named global such as $LAST_MATCH_INFO. Otherwise this...

Test-Driven Development (TDD) in its most dogmatic form (red-green-refactor in micro-iterations) can be tedious. It does...

Simplecov is a code coverage tool. This helps you to find out which parts of your application are not tested...

Turns out, Cucumber::MultilineArgument::DataTable#diff! caches some stuff. Code of the following form will not work as intended:

To find an input with the type hidden, you need to specify the type hidden: find_field('Some label', type...

Imagine you want to write a cucumber test for a user-to-user chat. To do this, you need the...

Sometimes, you might have duplicate links on a page. Trying to click those links will by default cause Capybara to...

When you have two inputs, where one contains the name of the other (eg. Name and Name with special treatment...

makandra dev

Fixed #68: The "cucumber" command now fails early when @solo features fail. Added: The "setup" command now prints the db...

Capybara provides execute_script and evaluate_script to execute JavaScript code in a Selenium-controlled browser. This however is not...

When using Chrome for Selenium tests, the chromedriver binary will be used to control Chrome. To debug problems that stem...

makandra dev

webpack is a very powerful asset bundler written in node.js to bundle (ES6) JavaScript modules, stylesheets, images, and other assets...

Element finding is a central feature of Capybara. Since #find is normally used to get elements from the current page...

If your Ruby project includes a gem like Spreewald that comes with some external step definition, RubyMine does not know...

When you update your ChromeDriver to version 75 or beyond, you might get w3c errors in your tests.

Cucumber up to version 2 had a neat feature called Step Argument Transforms which was dropped in favor of Cucumber...

Until Capybara 2, node finders that accept a text option were able to find nodes based on rendered text, even...

Download buttons can be difficult to test, especially with Selenium. Depending on browser, user settings and response headers, one of...

Suggested Workflow Set the ruby version in .ruby-version to 2.3.5, then perform these steps one by one, fixing errors...

Cucumber factory supports polymorphic associations out of the box. Just keep in mind that you need to use named associations...

Cucumber has an output format that prints step definitions only. You can use this to find unused ones: Temporarily add...