View
Posted almost 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 1 day ago by Arne Hartherz. makandracards.com

Rewritten to prefer using device metrics.

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 20 days ago by Arne Hartherz.

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

Posted 27 days ago by Henning Koch. makandracards.com

Cucumber output doesn't show JavaScript errors with the default progress formatter Cucumber's "progress" formatter (many dots) do...

Posted about 4 years ago by Henning Koch.

Spreewald comes with a selector_for helper that matches an English term like the user's profile into a CSS...

Posted about 2 years ago by Daniel Straßner.

When you want to group rails models of a logical context, namespaces are your friend. However, if you have a...

Posted about 1 month ago by Dominik Schöler.

CSS transitions are a simple animation framework that is built right into browsers. No need for Javascript here. They're...

Posted almost 7 years ago by Henning Koch.

Selenium cannot reliably control a browser when its window is not in focus, or when you accidentally interact with the...

Posted almost 7 years ago by Arne Hartherz.

Around will not happen until after a feature's Background has been processed. Use Before and After to avoid that...

Posted about 2 years ago by Arne Hartherz.

When localizing model attributes via I18n you may run into errors like this: I18n::InvalidPluralizationData: translation data {...

...} can not be...

Posted 3 months ago by Tobias Kraze.

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

Posted almost 7 years ago by Henning Koch.

In a nutshell: Do not use evaluate_script. Use execute_script instead! Capybara gives you two different methods for executing...

Posted 4 months ago by Dominik Schöler.

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

Posted 4 months ago by Tobias Kraze.

The goal is to get Jasmine specs running in a Rails project using Webpacker, with the browser based test runner...

Posted 4 months ago by Stefan Wagner.

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

Posted about 2 years ago by Henning Koch.

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

Posted 5 months ago by Michael Leimstädtner.

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

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