mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
667ba76aef
Summary: This pr is part of issue https://github.com/facebook/react-native/issues/46757 solving a task - [ME2E0008] [ME2E0009] - Set up a test - Starts the app - Scrolls until flatlist is visilbe and clicks on flatlist - Click basic button - Scroll down until item 600 is visible ## Changelog: [Internal] [Added] - Add e2e-test logic that click button & scroll down until specific item is visible Pull Request resolved: https://github.com/facebook/react-native/pull/46804 Test Plan: ### Test Locally - iOS ```bash yarn install cd packages/rn-tester yarn e2e-build-ios ``` - Android ```bash yarn install cd packages/rn-tester yarn e2e-build-android ``` ### Start Maestro - iOS ```bash cd packages/rn-tester yarn e2e-test-ios ``` - Android ``` cd packages/rn-tester yarn e2e-test-android ``` ### Test in CI To test in CI, just add a comment on your PR with the text: ``` /test-e2e ``` Reviewed By: cortinico Differential Revision: D63829274 Pulled By: cipolleschi fbshipit-source-id: f7b4342ed353a48123f87dcfd8d503009f65637c