[ACS-5923] playwright sidenav and single click test (#3442)

* [ACS-5923] sidenav and singleclick test

* remove protractor test and fix flaky test

* test fix

* Update error message for expect
This commit is contained in:
Akash Rathod
2023-09-25 13:00:22 +02:00
committed by GitHub
parent 2157e8e031
commit 97f01386f8
21 changed files with 435 additions and 294 deletions

View File

@@ -113,6 +113,8 @@ export class DataTableComponent extends BaseComponent {
getColumnHeaderByTitleLocator = (headerTitle: string): Locator => this.getChild('[role="columnheader"]', { hasText: headerTitle });
getSearchResultLinkByName = (name: string): Locator => this.getChild('.aca-search-results-row span[role="link"]', { hasText: name });
async sortBy(columnTitle: string, order: 'Ascending' | 'Descending'): Promise<void> {
const columnHeaderLocator = this.getColumnHeaderByTitleLocator(columnTitle);
await this.spinnerWaitForReload();