When working with large Sass files you will notice that the first request after a change to a Sass file...

When you click a link or a press a button on a Selenium-controlled browser, the call will return control...

api.jquery.com

jQuery offers many different methods to move a selection through the DOM tree. These are the most important: $element.find(selector...

web.archive.org

When you style multiple adjacent block elements with float: left, they will be rendered next to each other similar to...

When calling a Sass mixins, you usually don't need to quote arguments: +tint_article(#f21) However, when a CSS...

If you have content inside a page that is hidden by CSS, the following will work with Selenium, but not...

en.wikipedia.org

Although you can access many symbols using the AltGr key you may be missing some, like the en-dash (–) or...

blog.plataformatec.com.br

A while ago we were working on an application that had an entire version specially created for mobiles, such as...

This note describes a Cucumber step definition that lets you say: Then "Mow lawn" should be an option for "Activity...

When you use the send_file method to send a local file to the browser, you can save resources on...

getfirebug.com

You know Firebug as a Firefox extension but there is also a "Lite" version which runs purely off JavaScript.

Are you adding a "Then show me the page" and re-run Cucumber whenever there is a failing scenario? Don...

cssdiscussion.com

If you want your application to display properly on iPad, iPhone or Android there are two things to do:

imperialviolet.org

In January this year (2010), Gmail switched to using HTTPS for everything by default. Previously it had been introduced as...

The following Sass will do the trick: button, input[type="reset"], input[type="button"], input[type="submit"], input[type="file...

alistapart.com

I was recently confronted with the task of creating a two-column liquid layout with a header and footer in...

While you can use Capybara matchers like have_css and have_content for expectations, they are not too helpful for...

makandra dev
railsforzombies.org

Learning Rails for the first time should be fun, and Rails for Zombies allows you to get your feet wet...

Styling button tags across all major browsers is not easy. Many times you should be fine by using the native...

Using this step definition you can check if any form field (text field, checkbox, etc) or button is disabled:

You can usually just use the eq matched to compare two numbers: expect(deal.total).to eq(120)

Use the Launchy gem: Launchy.open('http://www.ruby-lang.org/')

prototypejs.org

jQuery's selector engine, live()-like event handlers, pixel-perfect layout measuring.

makandra dev

In order to go back one page in your Cucumber tests, you can use the following step definition for Capybara...