Last active
December 17, 2015 01:59
-
-
Save asciidisco/5532053 to your computer and use it in GitHub Desktop.
DalekJS login test (vimeo testcase)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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