Trying to fix the long failing e2ea

This commit is contained in:
VitoAlbano
2024-05-15 01:21:59 +01:00
parent e1d9f0dd57
commit 9abf51b65f

View File

@@ -253,7 +253,7 @@ export class ViewerPage {
}
async checkTabIsActive(tabName: string): Promise<void> {
const materialLocatorPart = `div${materialLocators.Tab.labels.class} div${materialLocators.Tab.label.active.class} ${materialLocators.Tab.label.content.class}`;
const materialLocatorPart = `div${materialLocators.Tab.label.active.class} ${materialLocators.Tab.label.content.class}`;
const tab = element(by.cssContainingText(`.adf-info-drawer-layout-content ${materialLocatorPart}`, tabName));
await BrowserVisibility.waitUntilElementIsVisible(tab);
}