mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
[AAE-21083] Fix e2e Content: Metadata - C245652 - fix tab active selector
This commit is contained in:
committed by
Vito Albano
parent
3d62d0f658
commit
9a113ca6c9
@@ -115,7 +115,7 @@ export class MetadataViewPage {
|
||||
|
||||
async clickOnPropertiesTab(): Promise<void> {
|
||||
const propertiesTab = element(
|
||||
by.cssContainingText(`.adf-info-drawer-layout-content div${materialLocators.Tab.labels.class} div ${materialLocators.Tab.label.content.class}`, `Properties`)
|
||||
by.cssContainingText(`.adf-info-drawer-layout-content div${materialLocators.Tab.labels.container.class} div ${materialLocators.Tab.label.content.class}`, `Properties`)
|
||||
);
|
||||
await BrowserActions.click(propertiesTab);
|
||||
}
|
||||
|
@@ -49,7 +49,7 @@ export class ViewerPage {
|
||||
infoSideBar = $('#adf-right-sidebar');
|
||||
viewer = $('adf-viewer');
|
||||
imgViewer = $('adf-img-viewer');
|
||||
activeTab = $(`div[class*="${materialLocators.Tab.label.active.root}"]`);
|
||||
activeTab = $(`div${materialLocators.Tab.label.active.class}`);
|
||||
toolbar = $('#adf-viewer-toolbar');
|
||||
canvasLayer = $$('.canvasWrapper > canvas').first();
|
||||
|
||||
|
Reference in New Issue
Block a user