Skip to content

Instantly share code, notes, and snippets.

@asciidisco
Last active December 17, 2015 01:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save asciidisco/5532053 to your computer and use it in GitHub Desktop.
Save asciidisco/5532053 to your computer and use it in GitHub Desktop.
DalekJS login test (vimeo testcase)
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