testing Posts

Angular, Protractor tests, and Sauce Connect config

So it took me days of trying to piece together the correct config options to make my local protractor test suite run in a bunch of different setups on Sauce Labs.

// An example configuration file.
exports.config = {

    sauceUser: 'jgrubb',
    sauceKey: 'fill-in-the-blank',
    sauceSeleniumAddress: 'localhost:4445/wd/hub',

    // Capabilities to be passed to the webdriver instance.
    // This option is called "capabilities" in the protractor docs
    // but whatever.  this also works.
...

How to test meta tags with CasperJS

Hi, this post is wildly out of date. I tried to follow it to set up some test within the last year and none of this stuff actually worked. The concepts are likely still valid, but don't expect to be able to copy much.

jg - Oct 2015


I went down to Drupaldelphia (the name should be self-explanatory) a couple weeks ago mainly for a session called "Testing your site with CasperJS". CasperJS is what's known as a "headless" Webkit testing framework. That means it's essentially a...