diff --git a/e2e/simple-item-page/simple-item-page.e2e-spec.ts b/e2e/simple-item-page/simple-item-page.e2e-spec.ts deleted file mode 100644 index 4920efc858..0000000000 --- a/e2e/simple-item-page/simple-item-page.e2e-spec.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { ProtractorPage } from './simple-item-page.po'; - -describe('protractor Simple Item Page', function () { - let page: ProtractorPage; - - beforeEach(() => { - page = new ProtractorPage(); - page.navigateToSimpleItemPage(); - }); - - it('should contain element ds-thumbnail"', () => { - expect(page.elementSelectorExists("ds-thumbnail img")).toEqual(true); - }); - - it('should contain element an h2 title field"', () => { - expect(page.elementSelectorExists("h2.item-page-title-field")).toEqual(true); - }); - - it('should contain element link to its collections"', () => { - expect(page.elementTagExists("ds-item-page-collections")).toEqual(true); - }); - - it('should contain a file section"', () => { - expect(page.elementTagExists("ds-item-page-file-section")).toEqual(true); - }); - -}); diff --git a/e2e/simple-item-page/simple-item-page.po.ts b/e2e/simple-item-page/simple-item-page.po.ts deleted file mode 100644 index d085049d33..0000000000 --- a/e2e/simple-item-page/simple-item-page.po.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { browser, element, by } from 'protractor'; - -export class ProtractorPage { - ITEMPAGE : string = "/items/8871"; - - navigateToSimpleItemPage() { - return browser.get(this.ITEMPAGE); - } - - elementTagExists(tag : string) { - return element(by.tagName(tag)).isPresent(); - } - - elementSelectorExists(selector : string) { - return element(by.css(selector)).isPresent(); - } - - -} \ No newline at end of file