repo for angularjs testing training
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

13 lines
358 B

describe('home', function () {
// var homePage;
// beforeEach(function(){
// browser.get('#/home');
// });
it('should contains header text', function () {
browser.get('http://localhost:3000/#/home');
var message = element(by.binding('homeCtrl.title')).getText();
expect(message).toContain('Home');
});
})