microsoft / react-native-windows

A framework for building native Windows apps with React.
https://microsoft.github.io/react-native-windows/
Other
16.26k stars 1.14k forks source link

Add UIA Verification of Successful New App Launch to Init Tests #7936

Open NickGerleman opened 3 years ago

NickGerleman commented 3 years ago

We have runtime tests against several flavors in prebuilt projects, but do not do runtime validation that a newly created template app works successfully. We instead currently just test publish, build, and deploy.

https://github.com/facebook/react-native/pull/31652 adds a distinct testID to the new app screen so that we can validate via UIA that a new application has launched successfully. Our UIA testing tooling is now decoupled from E2ETest, which should make it pretty easy to extend existing init tests to add the runtime validation.

asklar commented 3 years ago

Should try to get this into 0.66