Commits

Kristof De Langhe authored and Bram Luyten committed dc7e784b83c
56434: e2e test fix
No tags

e2e/app.e2e-spec.ts

Modified
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 });

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut