Skip to content

Instantly share code, notes, and snippets.

@chrislaughlin
Created May 26, 2014 10:16
Show Gist options
  • Save chrislaughlin/cce12b3458e3030f32f8 to your computer and use it in GitHub Desktop.
Save chrislaughlin/cce12b3458e3030f32f8 to your computer and use it in GitHub Desktop.
example e2e test
describe('Login', function() {
beforeEach(function() {
// Browse to index page
browser.get('/');
});
it('should provide login button', function() {
expect(element('a[href="#/login"]').getText()).toEqual("Login");
})
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment