mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-15 05:53:03 +00:00
20 lines
537 B
TypeScript
20 lines
537 B
TypeScript
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.elementTagExists("ds-thumbnail")).toEqual(true);
|
|
});
|
|
|
|
it('should contain element h1.item-page-title-field"', () => {
|
|
expect(page.elementSelectorExists("h1.selector")).toEqual(true);
|
|
});
|
|
|
|
});
|