Skip to content

Commit

Permalink
[AAE-21083] Fix e2e Content: Metadata - C245652 - fix tab active sele…
Browse files Browse the repository at this point in the history
…ctor
  • Loading branch information
alep85 committed Mar 12, 2024
1 parent f27a243 commit d82876e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion e2e/core/pages/metadata-view.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,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);
}
Expand Down
2 changes: 1 addition & 1 deletion lib/testing/src/lib/protractor/core/pages/viewer.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit d82876e

Please sign in to comment.