react-native-windows icon indicating copy to clipboard operation
react-native-windows copied to clipboard

Implement accessibilityLevel test in ScrollView Playground

Open anupriya13 opened this issue 7 months ago • 2 comments

Description

Type of Change

  • Test case

Why

Implement accessibilityLevel in ScrollView

What

Implement accessibilityLevel in ScrollView which was missing in JS codebase. https://github.com/microsoft/react-native-windows/issues/14550

Screenshots

Before

importing scrollview from "react-native" shows error but importing from "react-native-windows" doesn't on js image

image

After

image

image

image

Changelog

Should this change be included in the release notes: NO

anupriya13 avatar Jun 17 '25 11:06 anupriya13

I think accessibilityLevel should show up in the E2E snapshots: https://github.com/microsoft/react-native-windows/blob/40f17ad07074133d02b34efc65d36a64061fa4f6/packages/e2e-test-app-fabric/windows/RNTesterApp-Fabric/RNTesterApp-Fabric.cpp#L558

So you can probably add it to one of the E2E tests, and verify that it shows up in the snapshot.

acoates-ms avatar Jun 17 '25 15:06 acoates-ms

I think accessibilityLevel should show up in the E2E snapshots:

https://github.com/microsoft/react-native-windows/blob/40f17ad07074133d02b34efc65d36a64061fa4f6/packages/e2e-test-app-fabric/windows/RNTesterApp-Fabric/RNTesterApp-Fabric.cpp#L558

So you can probably add it to one of the E2E tests, and verify that it shows up in the snapshot.

Updated PR description and code to avoid confusion.

anupriya13 avatar Jun 17 '25 15:06 anupriya13