Skip to content

Instantly share code, notes, and snippets.

@ruanyl
Forked from asciidisco/dalek_vimeo_login_TEST.js
Created August 13, 2014 20:14
Show Gist options
  • Save ruanyl/987b095a53e895577bde to your computer and use it in GitHub Desktop.
Save ruanyl/987b095a53e895577bde to your computer and use it in GitHub Desktop.
module.exports = {
'can log in at vimeo': function (test) {
'use strict';
test.expect(1)
.open('http://vimeo.com/log_in')
.type('#email', 'foo@bar.com')
.type('#password', 'baz')
.click('.submit .btn')
.assert.text('#page_header h1 a', 'foobar')
.done();
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment