-
Notifications
You must be signed in to change notification settings - Fork 46
Description
I'm building a test for a mda entitylist page where I would like to simulate the search for a given record using the general search feature of the page:

To fill the standard search field, I used the PowerFX expression:
Preview.PlaywrightActionValue("input[id^='quickFind_text']", "fill", "the text to search");
The "^=" stands for "starts with" operator because in my context, the standard search field id can be quickFind_text_0 or quickFind_text_1 depending on the environment settings "Use quick find view of an entity for searching on grids and sub-grids" (Off or On).
Unfortunately, it is not sufficient to add "\n" at the end of the text to perform the search!
To trigger the search, it is compulsory to simulate pressing the Enter key but such action does not exist when using functions Preview.PlaywrightAction() or Preview.PlaywrightActionValue().