mopro icon indicating copy to clipboard operation
mopro copied to clipboard

Add React Native tests

Open vivianjeng opened this issue 3 months ago • 2 comments

Problem

Now the CLI can create templates for React Native but there is no CI tests for it

Details

  • Add CI tests to use mopro create for React Native
  • Running e2e tests for React Native project
    • npm run e2e:test:ios
    • npm run e2e:test:android

Acceptance criteria

  • Pass CI tests for React Native project

vivianjeng avatar Sep 23 '25 12:09 vivianjeng

Contribution Plan for React Native CI Tests

Set Up CI Workflow

Create a new GitHub Actions workflow file (e.g., .github/workflows/react-native.yml).

Configure environment to install Node.js, Java (for Android), and Xcode (for iOS if using macOS runners).

Template Generation Test

Use the CLI (mopro create) to scaffold a React Native project inside the CI job.

Install dependencies with npm install or yarn install.

Run E2E Tests

Hey, I would love to work on this, assign me if possible.

tusharrrr1 avatar Oct 04 '25 18:10 tusharrrr1

Add react-native-app CI here https://github.com/zkmopro/react-native-app/pull/19

  • successfully running iOS tests
  • failed to run Android tests (No space left on device)

vivianjeng avatar Oct 07 '25 03:10 vivianjeng