Skip to content

Commit

Permalink
Add test for Console.log measure in new-arch-examples (#47020)
Browse files Browse the repository at this point in the history
Summary:
Part of this: #46757
Solves:
- ME2E0005

## Changelog:

<!-- Help reviewers and the release process by writing your own changelog entry.

Pick one each for the category and type tags:

[ANDROID|GENERAL|IOS|INTERNAL] [BREAKING|ADDED|CHANGED|DEPRECATED|REMOVED|FIXED|SECURITY] - Message

For more details, see:
https://reactnative.dev/contributing/changelogs-in-pull-requests
-->

[ Internal ] [ Added ] - Add console.log measure test in new-arch-example

Pull Request resolved: #47020

Test Plan:
```
yarn e2e-test-ios
yarn e2e-test-android
```

Reviewed By: cortinico

Differential Revision: D64397112

Pulled By: cipolleschi

fbshipit-source-id: c9192d66065038528751e2e366f58158b06eb864
  • Loading branch information
poonamjain96 authored and facebook-github-bot committed Oct 15, 2024
1 parent c1178ac commit 8cf27e8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/rn-tester/.maestro/new-arch-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebo
- tapOn: "Change Background"
- assertVisible:
text: "HSBA: h: 0, s: 1, b: 1, a: 255"
- assertVisible:
text: "> Interop Layer Measurements <"
- assertVisible:
text: "measure x: 0, y: 0, width: 0, height: 0"
- tapOn: "Console.log Measure"
- assertNotVisible:
text: "measure x: 0, y: 0, width: 0, height: 0"
- assertNotVisible:
text: "InWindow x: 0, y: 0, width: 0, height: 0"
- assertNotVisible:
text: "InLayout x: 0, y: 0, width: 0, height: 0"

0 comments on commit 8cf27e8

Please sign in to comment.