Skip to content

Instantly share code, notes, and snippets.

@muryoimpl
Created January 6, 2016 16:36
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 muryoimpl/99c2337c1d611b322356 to your computer and use it in GitHub Desktop.
Save muryoimpl/99c2337c1d611b322356 to your computer and use it in GitHub Desktop.
e2e test(using protractor)
/*global element, by*/
const assert = require('power-assert');
describe('show Home', () => {
it('should show "こんにちは"', () => {
element(by.className('title')).getText().then((title) => {
assert.equal(title, 'こんにちは');
});
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment