/boilerplate_webdriverio_mobile

Automação de Testes Mobile com WebdriverIO

Primary LanguageJavaScript

About this project

Package Version
npm npm version
appium npm version
@wdio/cli npm version

The purpose of this automation project is to guide you as an automated test for React Native distributions.

Requirements

install Appium -> Appium

install SDK Android -> Android-Studio

install JDK -> Java

install Nodejs -> [nodejs] (https://nodejs.org/en/)

Validate the installation:

node -v

example:

$ v13.12.0

and

mpm -v

example:

$ 6.14.4

Local Variables

Setting JAVA_HOME and ANDROID_HOME on your local machine

validate

echo $JAVA_HOME

and

echo $ANDROID_HOME

Validate the full path

Install dependencies

Run

yarn or npm install

Run tests

Run Android tests (Real Device)

yarn run android.app

Run Android tests (Emulator)

yarn run android.emulator.app

Run iOS tests (Real Device)

yarn run ios.app

Run SauceLabs tests (Device Farm)

yarn run ios.sauce.rdc.app

or

yarn run android.sauce.rdc.app