[ACS-7381][ADF] Break DataTable dependency on Material Module (#9657)

* [ACS-7381] remove MaterialModule dependency and convert components to standalone

* [ACS-7381] remove MaterialModule dependency and convert components to standalone

* [ACS-7381] tests fixes

* [ACS-7381] tests fixes

* [ACS-7381] tests fixes

* [ACS-7381] tests fixes

* [ACS-7381] tests fixes

* [ACS-7381] tests fixes

* [ACS-7381] tests fixes

* [ACS-7381] tests fixes

* [ACS-7381] tests fixes

* [ACS-7381] fix e2e tests

* [ACS-7381] update e2e tests

* [ACS-7381] update e2e tests

* [ACS-7381] update e2e tests

* [ACS-7381] update e2e tests

* [ACS-7381] update e2e tests

* [ACS-7381] fix for checkboxes

* [ACS-7381] fix e2e

* [ACS-7381] fix e2e

* [ACS-7381] fix e2e

* [ACS-7381] fix e2e

* [ACS-7381] fix for e2e

* [ACS-7381] fix for e2e
This commit is contained in:
tamaragruszka
2024-06-24 10:40:59 +02:00
committed by GitHub
parent 785b5821a0
commit f27d62585b
82 changed files with 1398 additions and 1258 deletions

View File

@@ -271,7 +271,7 @@ export class ContentServicesPage {
}
async checkLockIsDisplayedForElement(name: string): Promise<void> {
const lockButton = $(`div.adf-datatable-cell[data-automation-id="${name}"] button`);
const lockButton = $(`td.adf-datatable-cell[data-automation-id="${name}"] button`);
await BrowserVisibility.waitUntilElementIsVisible(lockButton);
}
@@ -290,7 +290,7 @@ export class ContentServicesPage {
async getAttributeValueForElement(elementName: string, propertyName: string): Promise<string> {
const elementSize = $(
`.app-document-list-container div.adf-datatable-cell[data-automation-id="${elementName}"][title="${propertyName}"] span`
`.app-document-list-container td.adf-datatable-cell[data-automation-id="${elementName}"][title="${propertyName}"] span`
);
return BrowserActions.getText(elementSize);
}
@@ -306,7 +306,7 @@ export class ContentServicesPage {
}
async selectFolder(folderName: string): Promise<void> {
const folderSelected = $(`div[data-automation-id="${folderName}"] .adf-datatable-center-img-ie`);
const folderSelected = $(`td[data-automation-id="${folderName}"] .adf-datatable-center-img-ie`);
await BrowserVisibility.waitUntilElementIsVisible(folderSelected);
await BrowserActions.click(folderSelected);
}

View File

@@ -32,7 +32,7 @@ export class NavigationBarPage {
async clickNavigationBarItem(title: string, untilElementIsVisible?: ElementFinder): Promise<void> {
Logger.log(`clickNavigationBarItem ${title}`);
const menu = $(`.app-sidenav-link[data-automation-id="${title}"]`);
const menu = this.getMenuItemLocator(title);
await BrowserActions.closeMenuAndDialogs();
if (untilElementIsVisible) {