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

Slides for Henning's talk on Sep 21st 2017. Understanding sync vs. async control flow Talking to synchronous (or "blocking...

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

askubuntu.com

While the hardware mute button of my Lenovo x230 worked on Ubuntu 14.04 out of the box, it does not...

github.com

FactoryBot allows a :class option to its factory definitions, to set the class to construct. However, this option is not...

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

...} can not be...

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

api.rubyonrails.org

Rails 5 (don't know about the others) comes with an initializer wrap_parameters.rb. Here you can tell rails to wrap...

When using geordi for integration tests you might get the following error when trying to run geordi cucumber:

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

makandra dev

ChromeDriver clicking works by simulating a mouse click in the middle of the element's first client rect (or bounding...

stackoverflow.com

This card will show you how to use git rebase --onto without confusion. Use case: You've got two feature...

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

chris.beams.io

Separate subject from body with a blank line Limit the subject line to 50 characters (max. 72), include reference (unique...

blog.jetbrains.com

RubyMine allows bookmarking lines of code. This is super-helpful when working on a complex problem. I've been using...

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

Sass lets you easily specify multiple selectors at once like this: .some-block &.has-hover, &:hover outline: 1px solid red...

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

makandra dev
activestate.com

Looks like ActiveState is trying to market a new Ruby distribution for Enterprises: ActiveRuby Enterprise Edition is designed for businesses...

makandra dev
labs.detectify.com

The postMessage API is an alternative to JSONP, XHR with CORS headers and other methods enabling sending data between origins...

makandra dev
brunildo.org

The pages listed here contain tests and experiments about features, possibilities, browsers’ bugs concerning CSS. That is, over 200 experiments...