Skip to content

mda + entitylist - Impossible to press the Enter key #663

@JMG74

Description

@JMG74

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:
Image

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().

Metadata

Metadata

Assignees

No one assigned

    Labels

    newAn Issue created that needs to be looked at by the team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions