Expo application with detox to run e2e using Github Workflow

Overview

runs with Expo Go E2E (iOS) E2E (Android)

Expo e2e Demo

Application template to demonstrate how to run e2e in an Expo Managed application using Detox

Tested using:

  • MacOS 12.1 Monterrey, M1 Pro
  • ExpoCli v5.0.2
  • CocoaPods v1.11.2

Dependencies

xcode-select --install
npm install -g detox-cli
brew tap wix/brew
brew install applesimutils

Configure Expo

Install Expo CLI:

npm install -g expo-cli

Run the app

yarn start:go

and scan the QRCode with your iOS Camera, or Android Expo app.

Run the e2e

yarn e2e:ios

Check the wiki in this repo to see how to setup this in your project.

You might also like...

course-project-real-estate-finder-004 created by GitHub Classroom

Real Estate Finder Running the Project: Clone the repository and open with IntelliJ IntelliJ may not correctly open the project on the first run, but

Dec 16, 2021

GitHub Action to download and install Oracle's Java Development Kit builds

oracle-actions/setup-java This action downloads a Java Development Kit (JDK) built by Oracle and installs it using actions/setup-java. JDKs built by O

Dec 15, 2022

group-project-team1 created by GitHub Classroom

Team 1 Timothy Flucker Hello my name is Timothy Flucker and I am a software developer consultant at Deloitte. I have 8 years of software development e

Nov 10, 2022

course-project-javajsk created by GitHub Classroom

Project JavaJSK - UofTruck University of Toronto Food truck ordering system. For more information see our design document. Problem specification Our p

Jan 12, 2022

Config files for my GitHub profile.

- Board: Board function plays the most role in all classes of this Project ROLES: + initBoard(): used to display the score, the state of

Dec 30, 2022

code to the rat i give to people if u want to change the webhook its in "src/main/java/github/quantizr/autogg/guis/gui" please just dont sell my rat :(

SkyblockRat My rats code join my discord! https://discord.gg/bbK6ndHqN6 i got tired of people asking "is it double hooked?!" so here is my rats code y

Dec 10, 2022

Restler is a library that automatically generates a client for a web service at run time, by analyzing the respective annotated Spring controller interface

Restler Overview Restler is a library that automatically generates a client for a web service at run time, by analyzing the respective annotated Sprin

Oct 24, 2022

A plugin that running in powernukkit and can run javascript in commandblock

A plugin that running in powernukkit and can run javascript in commandblock

A plugin that running in powernukkit and can run javascript in commandblock

Aug 4, 2022

Automatic generated Jump and Run

Automatic generated Jump and Run

Project GenJumpAndRun An automatic generating Jump And Run 🔭 I’m currently working on Nothing 🌱 I’m currently learning Games developer (Java) 👨‍💻

Jul 13, 2022
Comments
  • Upgrade Gradle to avoid dex merge error

    Upgrade Gradle to avoid dex merge error

    First of all, thanks for this demo! Really helpful.

    A bug in Gradle 6.9 causes failed builds:

    • https://github.com/gradle/gradle/issues/15536
    • https://github.com/gradle/gradle/issues/19372

    It results in the following error:

    com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
    ...
    > Task :app:mergeExtDexRelease FAILED
    ...
    Type androidx.appcompat.app.ActionBar$DisplayOptions is defined multiple times
    

    Apparently Expo's Gradle has been updated to 7.3.3 in the meantime, but not yet released:

    https://github.com/expo/expo/commit/d566f199bdb03f738c8a785283e847b6a00ec37a

    opened by karlhorky 1
  • bootup takes a lot of time

    bootup takes a lot of time

    Hi, so I just used this workflow to run my tests of react-native(not expo) based app. The emulator boot time takes around 15 minutes sometimes more than 15 minutes. Is this normal? Or should I do something to improve it.

    - uses: actions/setup-java@v3
            with:
              distribution: 'corretto' # See 'Supported distributions' for available options
              java-version: '11'
              cache: 'gradle'
            env:
              # https://github.com/actions/toolkit/issues/641#issuecomment-728963957
              ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
    
          - name: Run Detox Build
            run: npm run e2e:build
            env:
              KEYSTORE_FILE: ${{ steps.android_keystore.outputs.filePath }}
              STORE_PASSWORD: ${{ secrets.RELEASE_STORE_PASSWORD }}
              KEY_ALIAS: ${{ secrets.RELEASE_STORE_ALIAS}}
              KEY_PASSWORD: ${{ secrets.RELEASE_KEY_PASSWORD }}
              ANDROID_JSON_KEY_FILE: ${{ steps.service_account_json_file.outputs.filePath }}
    
          - name: Cache avd snapshot
            uses: actions/cache@v3
            id: avd-cache
            with:
              path: |
                ~/.android/avd/*
                ~/.android/adb*
              key: avd-30-aosp-atd
    
          - name: Create avd and generate snapshot for caching
            if: steps.avd-cache.outputs.cache-hit != 'true'
            uses: reactivecircus/android-emulator-runner@v2
            with:
              target: aosp_atd
              api-level: 30
              arch: x86
              channel: canary
              profile: pixel
              avd-name: Pixel_3a_API_30
              force-avd-creation: false
              emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
              disable-animations: false
              script: echo "Generated AVD snapshot for caching"
    
          - name: Start emulator and run e2e tests
            uses: reactivecircus/android-emulator-runner@v2
            with:
              target: aosp_atd
              api-level: 30
              arch: x86
              channel: canary
              profile: pixel
              avd-name: Pixel_3a_API_30
              script: npm run e2e:test
    
    opened by bipinGosain 0
Owner
Carlos Thurber
Software Development (React, Vue, NodeJS, Swift)
Carlos Thurber
Docker-compose-integration-tstst - An exploration of how to run integration tests against an application that has inconvenient external dependencies (e.g. a SQL database).

Tstst? it was supposed to be docker-compose-integration-tests but i was too lazy to fix it at the outset, and now im trying to convince myself its fun

null 1 Jan 4, 2022
BlackBox is a virtual engine, it can clone and run virtual application on Android

BlackBox is a virtual engine, it can clone and run virtual application on Android, users don't have to install APK file to run the application on devices. BlackBox control all virtual applications, so you can do anything you want by using BlackBox.

null 1.6k Jan 3, 2023
Bank Statement Analyzer Application that currently runs in terminal with the commands: javac Application.java java Application [file-name].csv GUI coming soon...

Bank Statement Analyzer Application that currently runs in terminal with the commands: javac Application.java java Application [file-name].csv GUI coming soon...

Hayden Hanson 0 May 21, 2022
图书管理;图书管理系统;图书管理系统后端,该项目采用Springboot整合Mybatis对数据持久化以及Api的封装实现,前台项目地址:https://github.com/Nirunfeng/BookSys-Client

System of Book Management(sbm) 项目说明 图书管理系统后台,该项目采用Springboot整合Mybatis对数据持久化以及Api的封装实现,前台项目地址:BookSys-Client 项目启动 数据库:mysql5.6执行以下脚本,项目下脚本文件--sbm.sql 导

null 61 Dec 30, 2022
Welcome to the EHS robotics club's GitHub repository, this will also be used as our primary community center and means of communication. Also be sure to join our remind for on the go updates @EHSFTC21

NOTICE This repository contains the public FTC SDK for the Ultimate Goal (2020-2021) competition season. Formerly this software project was hosted her

null 5 Feb 25, 2022
🕊️ The world's most advanced open source instant messaging engine for 100K~10M concurrent users https://turms-im.github.io/docs

简体中文 What is Turms Turms is the most advanced open-source instant messaging engine for 100K~10M concurrent users in the world. Please refer to Turms D

null 1.2k Dec 27, 2022
My first proper GitHub project, I guess. Basically an automated version of the "Battle Royale" short series on Geo Facts' YouTube channel.

State-Royale Made by Pixer415, with some help from ThatOneCalculator This project needs your contributions. New modes/new features/typo fixes/suggesti

null 2 Jun 27, 2022
hello-git-taqiyaehsan created by GitHub Classroom

?? The Basics of GitHub ?? Course overview and learning outcomes The goal of this course is to give you a brief introduction to GitHub. We’ll also pro

null 1 Feb 3, 2022
Section B of Assignment 1. Setup project and collaborate on GitHub by writing test fixtures.

Task Each member (including the team leader) should create a branch (use student number as the branch name) and include a small program in the branch

Quinn Frost 1 Apr 6, 2022
Rise SRC Leak, original leaker had his github deleted :(

Hope i don't get deleted too Original REAMDE.md: leaked by mika johans intent guard obfuscation bypass 2021 zip exploited auth to get the SRC ##Permis

null 10 May 6, 2022