mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-08-07 17:48:54 +00:00
[AAE-10778] Fix e2e: [C260096] Should the Viewer able to accept a customToolbar
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
fxLayout="column"
|
||||
[cdkTrapFocus]="overlayMode"
|
||||
cdkTrapFocusAutoCapture>
|
||||
<ng-content select="adf-alfresco-viewer-toolbar"></ng-content>
|
||||
<ng-content select="adf-viewer-toolbar"></ng-content>
|
||||
<ng-container *ngIf="showToolbar && !toolbar">
|
||||
<adf-toolbar id="adf-alfresco-viewer-toolbar" class="adf-alfresco-viewer-toolbar">
|
||||
<adf-toolbar-title>
|
||||
|
@@ -64,7 +64,7 @@ export class ViewerPage {
|
||||
imgViewer = $('adf-img-viewer');
|
||||
activeTab = $('div[class*="mat-tab-label-active"]');
|
||||
toolbarSwitch = $('#adf-switch-toolbar');
|
||||
toolbar = $('#adf-viewer-toolbar');
|
||||
toolbar = $('#adf-alfresco-viewer-toolbar');
|
||||
lastButton = $$('#adf-viewer-toolbar mat-toolbar > button[data-automation-id*="adf-toolbar-"]').last();
|
||||
goBackSwitch = $('#adf-switch-goback');
|
||||
canvasLayer = $$('.canvasWrapper > canvas').first();
|
||||
|
Reference in New Issue
Block a user