mda + entitylist - Impossible to press the Enter key

Open
#663 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp
Domain
testing-qa

Research direction

Start by tracing the Preview.PlaywrightAction() and Preview.PlaywrightActionValue() entry points and reviewing the existing Playwright actions. Add support for simulating the Enter key through these APIs, then verify that the entitylist search is triggered after filling quickFind_text.

Written by the indexing model from the issue text.

Description

new

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

Dominant language
C#
Stars
150
Forks
55
Avg merge
5d 23h
Merged PRs (30d)
4

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/PowerApps-TestEngine

All issues in microsoft/PowerApps-TestEngine

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.