Commits
Kristof De Langhe authored and Bram Luyten committed dc7e784b83c
5 5 | |
6 6 | beforeEach(() => { |
7 7 | page = new ProtractorPage(); |
8 8 | }); |
9 9 | |
10 10 | it('should display translated title "DSpace Angular :: Home"', () => { |
11 11 | page.navigateTo(); |
12 12 | expect<any>(page.getPageTitleText()).toEqual('DSpace Angular :: Home'); |
13 13 | }); |
14 14 | |
15 - | it('should display header "Welcome to DSpace"', () => { |
15 + | it('should contain a news section', () => { |
16 16 | page.navigateTo(); |
17 - | expect<any>(page.getFirstHeaderText()).toEqual('Welcome to DSpace'); |
17 + | expect<any>(page.getHomePageNewsText()).toBeDefined(); |
18 18 | }); |
19 19 | }); |