A JavaScript error in an E2E test with Selenium will not cause your test to fail. This may cause you...

Geordi's cucumber command has a --rerun option that reruns failing tests the given number of times. Usage: geordi cucumber...

At makandra, we've built a few gems over the years. Some of these are quite popular: spreewald (> 1M downloads...

If you want to fill in textareas with multiple lines of text (containing line breaks / new lines) you can use...

rspec.info

RSpec let's you chain a matcher with .or. The expectation will then pass if at least one matcher matches...

When you find yourself constantly ignoring a RubyMine warning, you can simple disable that warning and de-clutter your editor...

You need to update a lof gems. Make sure you don't have any version constraints in your...

makandracards.com

In Spreewald 1.10.4+, nested patiently blocks are now patient. Here is an example: patiently do outer_code patiently do

Trying to open a vnc window with geordi geordi vnc ended up with this error: > VNC viewer could not be...

w3c.github.io

Here is how to use Chromedriver without libraries like selenium-webdriver. This can be useful for debugging. The following example...

When you have a pending Cucumber step (or feature) that also uses an existing VCR cassette, your pending test may...

This cucumber step is useful for testing an image (looking at the src of the image). Then(/^I should see...

blog.bigbinary.com

This error is raised because your old database does not have a configured environment yet, which Rails 5 enforces.

relishapp.com

In most projects I know, Cucumber test suite speed is not an issue. Of course, running 350 features takes its...

If you already selected an element and want to get its parent, you can call find(:xpath, '..') on it.

You are not using javascript tests The file is served from a public folder (not via controller) Problem description...

makandra dev

An end-to-end test (E2E test) is a script that remote-controls a web browser with tools like Selenium...

before(:all) runs the block once before all of the examples. before(:each) runs the block once before each...

Capybara clears cookies before each scenario, but not other client-side data stores. If your app is using localStorage or...

Webpack is the future. We're using it in our latest Rails applications. For tests, we want to compile assets...

I needed to make sure that an element is visible and not overshadowed by an element that has a higher...

Middleman is a static page generator that brings many of the goodies that Rails developers are used to.

When filling out forms in Selenium tests, Chrome shows the (usual) bubble, asking to store those credentials. While the bubble...

Note: The behaviour of Spreewald's within step is as described below for version < 1.9.0; For Spreewald >= 1.9.0 it is...