microsoft / microsoft/react-native-windows

Do not hardcode attachedproperties to dump for UI tests

Open
#8,801 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area: Layout Area: Test Infrastructure enhancement Workstream: Test Coverage
Dominant language
C++
Stars
17.3k
Forks
1.2k
Avg merge
1d 13h
Merged PRs (30d)
33

Description

We currently hardcode ViewPanel attached properties to dump, in https://github.com/microsoft/react-native-windows/blob/9f1ffe7242e353e3e3356bb7ca40ea6cb2ec2327/packages/e2e-test-app/windows/RNTesterApp/MainPage.xaml.cs

This prevents us from querying some interesting bits, like automation properties. We should allow customizing this.

Contributor guide

Open the contributing guide

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.

Research direction

Start in packages/e2e-test-app/windows/RNTesterApp/MainPage.xaml.cs and inspect how ViewPanel attached properties are hardcoded for dumping. Identify a way to customize the dumped properties so UI tests can query automation properties, then verify the resulting dump supports those queries.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, react-native
Domain
desktop, testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.