Skip to content

Instantly share code, notes, and snippets.

@michaelBenin
Created March 8, 2014 21:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaelBenin/9438779 to your computer and use it in GitHub Desktop.
Save michaelBenin/9438779 to your computer and use it in GitHub Desktop.
'use strict';
var expect = require('chai').expect;
describe('Page testing', function () {
it('Page title test.', function (done) {
browser
.url('http://127.0.0.1:8000')
//.setValue('#js-command-bar-field', 'grunt-webdriver')
//.submitForm('.command-bar-form')
.getTitle(function (err, title) {
expect(title).to.equal('Page title');
})
.end(done);
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment