mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Add Pressable testing case in pressable.yml (#46808)
Summary: Part of this: https://github.com/facebook/react-native/issues/46757 Solves: - ME2E0013 - ME2E0014 ## Changelog: <!-- Help reviewers and the release process by writing your own changelog entry. Pick one each for the category and type tags: For more details, see: https://reactnative.dev/contributing/changelogs-in-pull-requests --> [INTERNAL] [ADDED] - Added E2E for Pressable Pull Request resolved: https://github.com/facebook/react-native/pull/46808 Test Plan: yarn e2e-test-ios yarn e2e-test-android Reviewed By: rshest Differential Revision: D63838828 Pulled By: cipolleschi fbshipit-source-id: a28f654a14fbf7f9b79dedf04f402593042fb4a3
This commit is contained in:
1 parent
699f73a6b0
commit
1c923ad8ab
1 file changed
+23
@@ -0,0 +1,23 @@
|
||||
appId: ${APP_ID} # iOS: com.meta.RNTester.localDevelopment | Android: com.facebook.react.uiapp
|
||||
---
|
||||
- launchApp
|
||||
- assertVisible: "Components"
|
||||
- scrollUntilVisible:
|
||||
element:
|
||||
id: "Pressable"
|
||||
direction: DOWN
|
||||
speed: 40
|
||||
- tapOn:
|
||||
id: "Pressable"
|
||||
- assertVisible:
|
||||
text: "Change content based on Press"
|
||||
- assertVisible:
|
||||
text: "Change style based on Press"
|
||||
- tapOn:
|
||||
id: "one_press_me_button"
|
||||
- assertVisible:
|
||||
text: "onPress"
|
||||
- tapOn:
|
||||
id: "one_press_me_button"
|
||||
- assertVisible:
|
||||
text: "2x onPress"
|
||||
Reference in new issue
Block a user