forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Maestro test for New Arch Example (facebook#46541)
Summary: This change adds automated tests for the New Architecture Examples page in RNTester. It also updates the NativeComponentExample to make sure that iOS and Android behaves in the same way and in a reliable way. ## Changelog: [Internal] - Adds Pull Request resolved: facebook#46541 Test Plan: * Android: https://github.com/user-attachments/assets/65ead328-9c4f-4e0f-8b9b-992ffb584566 * iOS: https://github.com/user-attachments/assets/412a4f68-c9c9-4ff2-a3e9-ae7194deef77 Reviewed By: cortinico Differential Revision: D62879289 Pulled By: cipolleschi fbshipit-source-id: 59e15f48f5995b18fd8b3ee24aca726b93e04d9f
- Loading branch information
1 parent
4b035d8
commit 7de3111
Showing
4 changed files
with
36 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebook.react.uiapp | ||
--- | ||
- launchApp | ||
- assertVisible: "Components" | ||
- scrollUntilVisible: | ||
element: | ||
id: "New Architecture Examples" | ||
direction: DOWN | ||
speed: 40 | ||
- tapOn: | ||
id: "New Architecture Examples" | ||
- assertVisible: "HSBA: h: 0, s: 0, b: 0, a: 0" | ||
- assertVisible: "Constants From Interop Layer: 3.14" | ||
- tapOn: "Change Background" | ||
- assertVisible: | ||
text: "HSBA: h: 0, s: 1, b: 1, a: 255" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters