Skip to content

Use webdrive.io + Appium to e2e test Expo React Native  #440

@dadiorchen

Description

@dadiorchen

Please refer to this repo: https://github.com/dadiorchen/expo-e2e-template/blob/master/E2E_TESTING_README.md
This is approved a doable way to run e2e test, please migrate this to our wallet app and create the first e2e test for native app.

When finished this task, we should be able to run a commend like this:

wdio run ./wdio.conf.js --spec ./features/iteration2/landing.feature

So we can finish this landing step:


  Feature: The first page of the native app                                       
                                                                
    Scenario : As a user I can open the app                                       
      Given I am on the phone home screen                          
      When I open the app                                        
      Then I should see the app's landing page

The workflow:

  1. Run the wdio command above
  2. Webdriver invoke Appium to run this e2e test
  3. Check if the landing page appears on the screen
  4. Done

NOTE, the app is running in the simulator android or ios

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions