Protractor configuration

This commit is contained in:
Matteo Perelli
2016-12-20 14:43:25 +01:00
parent de3f67e835
commit 4b5d9d5dc6
4 changed files with 80 additions and 14 deletions

View File

@@ -7,8 +7,13 @@ describe('protractor App', function() {
page = new ProtractorPage();
});
it('should display message saying app works', () => {
it('should display title "DSpace"', () => {
page.navigateTo();
expect(page.getParagraphText()).toEqual('app works!');
expect(page.getPageTitleText()).toEqual('DSpace');
});
it('should display title "Hello, World!"', () => {
page.navigateTo();
expect(page.getFirstPText()).toEqual('Hello, World!');
});
});