Last active
October 27, 2015 21:31
-
-
Save wilmoore/d9283673c8ccef06853d to your computer and use it in GitHub Desktop.
An example test case using WebdriverIO, Mocha, and ES6 Generators
This file contains hidden or 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
'use strict' | |
/*! | |
* imports. | |
*/ | |
var assert = require('assert') | |
/*! | |
* tests. | |
*/ | |
describe('Functional Tests', () => { | |
it('google.com title', function * () { | |
assert.equal(yield browser.url('http://google.com').getTitle(), 'Google') | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment