[AAE-21083] Fix e2e Content: Metadata - C245652 - fix tab active selector

This commit is contained in:
Amedeo Lepore 2024-03-12 12:18:36 +01:00 committed by VitoAlbano
parent 65a98e7ae6
commit 0afa64a1fc

View File

@ -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();