mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Trying to fix the long failing e2ea
This commit is contained in:
@@ -253,7 +253,7 @@ export class ViewerPage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async checkTabIsActive(tabName: string): Promise<void> {
|
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));
|
const tab = element(by.cssContainingText(`.adf-info-drawer-layout-content ${materialLocatorPart}`, tabName));
|
||||||
await BrowserVisibility.waitUntilElementIsVisible(tab);
|
await BrowserVisibility.waitUntilElementIsVisible(tab);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user