[ACS-6427] Add search highlighting (#3637)

* [ACS-6427] Initial commit for search highlights

* [ACS-6427] Add correct highlighting config, handle highlights in search results

* [ACS-6427] CR fixes

* [ACS-6427] CR fix

* [ACS-6427] Locator fix

* [ACS-6427] E2E fix

---------

Co-authored-by: swapnil.verma <swapnil.verma@globallogic.com>
This commit is contained in:
MichalKinas
2024-02-15 16:26:09 +01:00
committed by GitHub
parent 60a4abaa55
commit 4766bfe707
12 changed files with 303 additions and 85 deletions

View File

@@ -80,7 +80,7 @@ export class DataTableComponent extends BaseComponent {
*
* @returns reference to cell element which contains link.
*/
getCellLinkByName = (name: string): Locator => this.getChild('.adf-cell-value span', { hasText: name });
getCellLinkByName = (name: string): Locator => this.getChild('.adf-cell-value span[role="link"]', { hasText: name });
/**
* Method used in cases where we want to localize the element by [aria-label]