At least Selenium cannot find disabled fields. Unless you find them explicitly: find_field 'This is disabled', disabled: true
TL;DR If you want to support most browsers, then don't exceed 50 cookies per domain, and don't...
Spreewald gives you the within meta step that will constrain page inspection to a given scope. Unfortunately, this does not...
When you find yourself in the situation that you would like to define a custom matcher in your specs, but...
To delay your entire Jasmine test suite until the DOM is ready, add the following: beforeAll(function(done) { $(done); });
fake_stripe spins up a local server that acts like Stripe’s and also serves a fake version of Stripe.js...
Expecting a primitive value as an argument to a method invocation is easy: expect(object).to receive(:foo).with('arg1...
When building a form with a file select field, you may want to offer your users a live preview before...
Cucumber's docstrings let you add long strings to a step like this: # foo.feature Given this text: """ First line
OAuth requires a set of params to be carried along requests, among which a nonce. Some libraries pass these along...
RSpec provides a nice diff when certain matchers fail. Here is an example where this diff is helpful while comparing...
Don't write resources :people, :concerns => :trashable Write resources :people do concerns :trashable end Why Writing a controller...
Let's say you want to find the element with the text hello in the following DOM tree: hello
Our preferred way of testing ActiveRecord is to simply create/update/destroy the record and then check if the expected behavior has...
RSpec supports a one-liner syntax for setting an expectation on the subject: describe Array do describe "when first created...
Validations should be covered by a model's spec. This card shows how to test an individual validation. This is...
If you expect method calls in RSpec 3, be aware that the argument matchers use very liberal equality rules (more...
Don't use be_true to check if a value is true. It actually checks if it anything other than...
I got this error when running Rails 2.3 tests for Rails LTS. More stacktrace: NoMethodError: undefined method `cache' for Gem...
Geordi is now (partially) tested with Cucumber. Yay! geordi cucumber supports a new @solo tag. Scenarios tagged with @solo...
Using Scenic, you can bring the power of SQL views to your Rails application without having to switch your schema...
A comprehensive script to convert test suites from RSpec 2 to RSpec 3. This converts more than should/expect syntax.
Remove some old binaries (commands still exist in geordi) and mark others as deprecated Rewrite deploy command to support...
Until recently, you could open a new tab via window.open when using execute_script in Selenium tests. It no longer...