In most projects I know, Cucumber test suite speed is not an issue. Of course, running 350 features takes its...
When you're using Sidekiq::Web to monitor the Sidekiq status AND have your session cookie configured to a wildcard...
We're usually running Ubuntu LTS versions. Sometimes newer hardware requires packages from more recent Ubuntu releases that only come...
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...
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...
While the hardware mute button of my Lenovo x230 worked on Ubuntu 14.04 out of the box, it does not...
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...
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...
ChromeDriver clicking works by simulating a mouse click in the middle of the element's first client rect (or bounding...
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.
Separate subject from body with a blank line Limit the subject line to 50 characters (max. 72), include...
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...