MNT-25070: ADW - Search request is altered when using quote marks (#4666)

* [MNT-25070] adjust helper functions to handle special characters in queries

* [MNT-25070] fixes doubled requests on imperative navigation

* [MNT-25070] introduces unit tests for added search utility features

* [MNT-25070] clean-up

* [MNT-25070] adjusts [XAT-5579] e2e

* [MNT-25070] exclude failed e2e

* [MNT-25070] readebility improvements; memory leaks handling

* [MNT-25070] migrate from nested subscription to switchMap

* [MNT-25070] adds unit tests for changes

* [MNT-25070] removes any type from test setup

* [MNT-25070] fixes same custom query reapply parsing issue
This commit is contained in:
rmnvch
2025-07-16 12:23:08 +02:00
committed by GitHub
parent 18ed2e4583
commit 4b750f8b7d
7 changed files with 151 additions and 64 deletions

View File

@@ -90,7 +90,9 @@ export class SearchFiltersProperties extends BaseComponent {
if (fileTypeInputText) {
await this.fileTypeInput?.fill(fileTypeInputText);
await this.dropdownOptions.first().click();
const targetDropdownOption = this.page.locator(`mat-option`, { hasText: fileTypeInputText });
await targetDropdownOption.click();
}
await page.searchFilters.menuCardApply.click();