Skip to content

Instantly share code, notes, and snippets.

@asciidisco
Last active December 17, 2015 01:59
Show Gist options
  • 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', '[email protected]')
.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