Last active
August 1, 2018 13:07
-
-
Save tuliobluz/c84bfe9fd60771b3c12f004826f409a0 to your computer and use it in GitHub Desktop.
spec.spec.js
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
let specPage = require('../pages/spec.po.js'); | |
describe('angularjs homepage', function() { | |
it('should greet the named user', function() { | |
specPage.init(); | |
specPage.get(); | |
specPage.setName('Julie'); | |
expect(specPage.getGreetingText()).toEqual('Hello Julie!'); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment