split toolbar and breadcrumb e2e components (#626)

This commit is contained in:
Adina Parpalita
2018-09-13 09:01:16 +01:00
committed by Denys Vuika
parent 28a4fb7ba7
commit aafa606ceb
22 changed files with 398 additions and 444 deletions
+2 -2
View File
@@ -26,7 +26,7 @@
import { ElementFinder, by, browser, ExpectedConditions as EC } from 'protractor';
import { Component } from '../component';
import { BROWSER_WAIT_TIMEOUT } from '../../configs';
import { ToolbarActions } from '../toolbar/toolbar-actions';
import { Toolbar } from '../toolbar/toolbar';
export class Viewer extends Component {
private static selectors = {
@@ -46,7 +46,7 @@ export class Viewer extends Component {
fileTitle: ElementFinder = this.component.element(by.css(Viewer.selectors.fileTitle));
viewerExtensionContent: ElementFinder = this.component.element(by.css(Viewer.selectors.viewerExtensionContent));
toolbar = new ToolbarActions(this.component);
toolbar = new Toolbar(this.component);
constructor(ancestor?: ElementFinder) {
super(Viewer.selectors.root, ancestor);