View
Posted 2 days ago by Tobias Kraze. makandracards.com

Simplified step Added section "Effect on other step definitions"

Posted 7 days ago by Tobias Kraze.

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

Posted 11 days ago by Tobias Kraze.

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

Posted about 5 years ago by Thomas Klemm. github.com

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

Posted 18 days ago by Michael Leimstädtner. github.com

We just released version 2.0 of CucumberFactory. The major version was increased because of the breaking change below.

Posted 23 days ago by Jakob Scholz.

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

Posted over 2 years ago by Emanuel De.

around(:suite) does not exist. around(:all) runs after before(:all) and before after(:all). around(:each) runs before...

Posted over 6 years ago by Arne Hartherz. makandracards.com

So you're hunting down a regression (or just a bug) and want to use git bisect to find out...

Posted over 8 years ago by Henning Koch.

Detecting if a Javascript is running under Selenium WebDriver is super-painful. It's much easier to detect the current...

Posted over 2 years ago by Henning Koch.

This card shows basic techniques for fixing a flaky integration test suite that sometimes passes and sometimes fails. "Integration test...

Posted over 5 years ago by Tobias Kraze.

In a JavaScript console, type this: > 9112347935156469760 9112347935156470000 Ooops. This occurs because JavaScript uses double precision floats to store numbers...

Posted 3 months ago by Dominik Schöler.

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

Posted 4 months ago by Dominik Schöler.

When text renders differently in Firefox and Chrome, it may be caused by a font alias that both browsers handle...

Posted 4 months ago by Tobias Kraze.

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

Posted 4 months ago by Jakob Scholz.

There is a practical short list for valid/invalid example email addresses - Thanks to Florian L.! The definition for valid emails...

Posted over 7 years ago by Tobias Kraze.

If you're using the Capybara webdriver, steps sometimes fail because the browser hasn't finished loading the next page...

Posted over 7 years ago by Arne Hartherz.

Applications often show or hide elements based on viewport dimensions, or may have components that behave differently (like mobile vs...

Posted 5 months ago by Arne Hartherz.

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

This website uses cookies to improve usability and analyze traffic.
Accept or learn more