There seems to be a nasty bug in Chrome 56 when testing with Selenium and Capybara: Slashes are not written...

If the application under test makes sound, you probably want to disable this during integration testing. You can use the...

web.archive.org

xargs is a powerful bash tool that can take input from $STDIN and pass it to a given command. I.e...

There is no CSS selector for matching elements that contains a given string ¹. Luckily, Capybara offers the :text option to...

makandra dev
web.archive.org

When testing your command line application with Aruba, you might need to stub out other binaries you don't want...

Same requests are recorded only once in vcr. Replaying a test fails, if you trigger the same request multiple times...

Similar to our snippet that runs all Cucumber features matching a given string, the following will run all modified or...

makandra dev
github.com

Improve geordi cucumber: Only attempt @solo run when the specified files contain the @solo tag, skip @solo run if any...

Capistrano is by default configured to exclude the gems of the groups development and test when deploying to the stages...

The following will search for all .feature files containing a search term and run them using geordi. find features/ -name...

At least Selenium cannot find disabled fields. Unless you find them explicitly: find_field 'This is disabled', disabled: true

Spreewald gives you the within meta step that will constrain page inspection to a given scope. Unfortunately, this does not...

developer.mozilla.org

When building a form with a file select field, you may want to offer your users a live preview before...

Cucumber's docstrings let you add long strings to a step like this: # foo.feature Given this text: """ First line

Let's say you want to find the element with the text hello in the following DOM tree: hello

makandra dev

Geordi is now (partially) tested with Cucumber. Yay! geordi cucumber supports a new @solo tag. Scenarios tagged with @solo...

makandra dev
github.com

Remove some old binaries (commands still exist in geordi) and mark others as deprecated Rewrite deploy command to support...

Until recently, you could open a new tab via window.open when using execute_script in Selenium tests. It no longer...

github.com

You know that Devise offers RSpec test helpers for controller specs. However, in request specs, they will not work.

You can now define this step without Cucumber raising Cucumber::Ambiguous: Then /^I should see "whatever I want"$/ do ...

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