react-native icon indicating copy to clipboard operation
react-native copied to clipboard

RNTester: Setup E2E tests for iOS and Android with Appium and Jest

Open mateuszm22 opened this issue 2 years ago • 30 comments

Summary

The motivation is to create an e2e testing solution for the rn-tester default app. With cooperation with Callstack developers, we are trying to make a working tool. Now it's based on wdio+appium. Next steps:

  • integrate with devices' cloud
  • build an app automatically

Changelog

[General] [Added] - Added first working configuration for e2e testing

Used tools

  • appium (xuitest and uiautomator2)
  • jest-cucumber
  • webdriverio

Test Plan

Follow Readme File

Videos

  • Android:

https://user-images.githubusercontent.com/12502334/202477478-03022b6e-7eb7-4d11-9c85-43cd17970634.mov

  • iOS:

https://user-images.githubusercontent.com/12502334/202477066-25fc3f13-1c8d-4f33-a855-ac543a074afa.mov

mateuszm22 avatar Oct 18 '22 19:10 mateuszm22

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,457,844 -931
android hermes armeabi-v7a 7,781,014 -977
android hermes x86 8,933,699 -956
android hermes x86_64 8,790,794 -960
android jsc arm64-v8a 9,092,326 -642
android jsc armeabi-v7a 8,290,348 -675
android jsc x86 9,143,079 -680
android jsc x86_64 9,401,977 -666

Base commit: 270584ac79ebb5b8e256bf7422615a5311e0c080 Branch: main

analysis-bot avatar Oct 18 '22 19:10 analysis-bot

Platform Engine Arch Size (bytes) Diff
ios - universal n/a --

Base commit: efd39eea6f553638b2430cbf0c3eed519995a940 Branch: main

analysis-bot avatar Oct 18 '22 20:10 analysis-bot

Hi @mateuszm22!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at [email protected]. Thanks!

facebook-github-bot avatar Oct 24 '22 09:10 facebook-github-bot

PR build artifact for 0a186ee01cc21c5ba0ff23f879a2fe01e1b23067 is ready. To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

pull-bot avatar Nov 10 '22 17:11 pull-bot

PR build artifact for 0a186ee01cc21c5ba0ff23f879a2fe01e1b23067 is ready. To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

pull-bot avatar Nov 10 '22 17:11 pull-bot

PR build artifact for faff18aeb66becb8ecfe236de031d6048e30ca1a is ready. To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

pull-bot avatar Nov 17 '22 13:11 pull-bot

PR build artifact for faff18aeb66becb8ecfe236de031d6048e30ca1a is ready. To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

pull-bot avatar Nov 17 '22 13:11 pull-bot

Warnings
:warning: :lock: package.json - Changes were made to package.json. This will require a manual import by a Facebook employee.

Generated by :no_entry_sign: dangerJS against b8350e9e9c3c28331e37359d8cb45b837ed11386

github-actions[bot] avatar Nov 17 '22 14:11 github-actions[bot]

PR build artifact for 192ae42b480e59d41ea39d05044d9ca14c4b958b is ready. To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

pull-bot avatar Nov 17 '22 14:11 pull-bot

PR build artifact for 192ae42b480e59d41ea39d05044d9ca14c4b958b is ready. To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

pull-bot avatar Nov 17 '22 14:11 pull-bot

PR build artifact for ee7fbb913da9513e2f01a1386363d27ecf18f5ac is ready. To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

pull-bot avatar Nov 17 '22 17:11 pull-bot

PR build artifact for ee7fbb913da9513e2f01a1386363d27ecf18f5ac is ready. To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

pull-bot avatar Nov 17 '22 17:11 pull-bot

PR build artifact for a304fc95186b6d7555830d29ddb6088debe5dc47 is ready. To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

pull-bot avatar Nov 24 '22 17:11 pull-bot

PR build artifact for a304fc95186b6d7555830d29ddb6088debe5dc47 is ready. To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

pull-bot avatar Nov 24 '22 17:11 pull-bot

PR build artifact for d3e745b54b1d90849dc7a4482ec9e3b26352a1ad is ready. To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

pull-bot avatar Nov 25 '22 16:11 pull-bot

PR build artifact for d3e745b54b1d90849dc7a4482ec9e3b26352a1ad is ready. To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

pull-bot avatar Nov 25 '22 16:11 pull-bot

PR build artifact for da78d7c4e0aa0377a05b8f27ab186f29aa497b8e is ready. To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

pull-bot avatar Nov 29 '22 13:11 pull-bot

PR build artifact for da78d7c4e0aa0377a05b8f27ab186f29aa497b8e is ready. To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

pull-bot avatar Nov 29 '22 13:11 pull-bot

PR build artifact for 1b0d0f162966b6ab77fe3d733de2e8bb304ba014 is ready. To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

pull-bot avatar Nov 30 '22 13:11 pull-bot

PR build artifact for 1b0d0f162966b6ab77fe3d733de2e8bb304ba014 is ready. To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

pull-bot avatar Nov 30 '22 13:11 pull-bot

FYI for the red Android CI: a rebase should solve it 👍

cortinico avatar Dec 01 '22 13:12 cortinico

PR build artifact for 82e47863bb05755034dcbb1b997a7816be4c8a59 is ready. To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

pull-bot avatar Dec 05 '22 10:12 pull-bot

PR build artifact for 82e47863bb05755034dcbb1b997a7816be4c8a59 is ready. To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

pull-bot avatar Dec 05 '22 10:12 pull-bot

PR build artifact for b81583744e3f13c844bf01f3a608001190a4a4d0 is ready. To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

pull-bot avatar Dec 08 '22 14:12 pull-bot

PR build artifact for b81583744e3f13c844bf01f3a608001190a4a4d0 is ready. To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

pull-bot avatar Dec 08 '22 14:12 pull-bot

PR build artifact for bc703026680207a6e03d794ee8db7d063397ac97 is ready. To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

pull-bot avatar Dec 22 '22 12:12 pull-bot

PR build artifact for bc703026680207a6e03d794ee8db7d063397ac97 is ready. To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

pull-bot avatar Dec 22 '22 12:12 pull-bot

PR build artifact for d1a238f6977f86cd24bda800b55b95c3b2b59c5f is ready. To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

pull-bot avatar Jan 02 '23 12:01 pull-bot

PR build artifact for d1a238f6977f86cd24bda800b55b95c3b2b59c5f is ready. To use, download tarball from "Artifacts" tab in this CircleCI job then run yarn add <path to tarball> in your React Native project.

pull-bot avatar Jan 02 '23 12:01 pull-bot

(cross-reference: second PR here: https://github.com/facebook/react-native/pull/35824/files)

kelset avatar Jan 13 '23 13:01 kelset