diff --git a/e2e/app.e2e-spec.ts b/e2e/app.e2e-spec.ts index f5ac9094d0..6856a6f01b 100644 --- a/e2e/app.e2e-spec.ts +++ b/e2e/app.e2e-spec.ts @@ -12,8 +12,8 @@ describe('protractor App', () => { expect(page.getPageTitleText()).toEqual('DSpace Angular :: Home'); }); - it('should display header "Welcome to DSpace"', () => { + it('should contain a news section', () => { page.navigateTo(); - expect(page.getFirstHeaderText()).toEqual('Welcome to DSpace'); + expect(page.getHomePageNewsText()).toBeDefined(); }); }); diff --git a/e2e/app.po.ts b/e2e/app.po.ts index d8d2acf120..54b5b55af3 100644 --- a/e2e/app.po.ts +++ b/e2e/app.po.ts @@ -9,11 +9,7 @@ export class ProtractorPage { return browser.getTitle(); } - getFirstPText() { - return element(by.xpath('//p[1]')).getText(); - } - - getFirstHeaderText() { - return element(by.xpath('//h1[1]')).getText(); + getHomePageNewsText() { + return element(by.xpath('//ds-home-news')).getText(); } } diff --git a/src/app/+home-page/home-news/home-news.component.html b/src/app/+home-page/home-news/home-news.component.html index 2287329b37..47ceaac90f 100644 --- a/src/app/+home-page/home-news/home-news.component.html +++ b/src/app/+home-page/home-news/home-news.component.html @@ -3,16 +3,17 @@
-

Welcome to DSpace

-

DSpace is an open source software platform that enables organisations to:

+

Welcome to the DSpace 7 Preview Release

+

DSpace is the world leading open source repository platform that enables organisations to:

    -
  • capture and describe digital material using a submission workflow module, or a variety of programmatic ingest options +
  • easily ingest documents, audio, video, datasets and their corresponding Dublin Core metadata
  • -
  • distribute an organisation's digital assets over the web through a search and retrieval system +
  • open up this content to local and global audiences, thanks to the OAI-PMH interface and Google Scholar optimizations
  • -
  • preserve digital assets over the long term
  • +
  • issue permanent urls and trustworthy identifiers, including optional integrations with handle.net and DataCite DOI
+

Join an international community of leading institutions using DSpace.