mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
split toolbar and breadcrumb e2e components (#626)
This commit is contained in:
committed by
Denys Vuika
parent
28a4fb7ba7
commit
aafa606ceb
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user