Created
January 6, 2016 16:36
-
-
Save muryoimpl/99c2337c1d611b322356 to your computer and use it in GitHub Desktop.
e2e test(using protractor)
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
/*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