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...
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...
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...
Accessing pseudo elements via JavaScript or jQuery is often painful/impossible. However, accessing their styles is fairly simple. Using getComputedStyle
When you are using lambdas in RSpec to assert certain changes of a call, you know this syntax: expect { playlist.destroy...
Setting array columns When using PostgreSQL array columns, you can set an array attribute to a value with square brackets...
Percent Notation We already know that that we can create strings using the percent notation: %(<foo="bar's ton">) is...
Geordi uses parallel_tests if available for running the test suite. To debug an application it is very unhandy to...