Skip to content

saucelabs/rdc-appium-flutter-tests-public

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Simple setup to validate Appium 1 and 2

Setup

  • make sure that you have the latest version of node installed, preferably using nvm and node 14
  • run npm install to install all dependencies
  • upload the apps from the apps folder to the Sauce Storage on Staging

Running

This project has Appium 1 and Appium 2 tests, execute the following commands to make it work

Appium Version OS App/Browser Driver Command
Appium 1 Android UiAutomator2 App npm run appium1.android
Appium 1 Android UiAutomator2 Browser npm run appium1.android.browser
Appium 2 Android UiAutomator2 App npm run appium2.android
Appium 2 Android UiAutomator2 Browser npm run appium2.android.browser
Appium 2 Android Flutter App npm run appium2.android.flutter
Appium 2 Android AxeUiAutomator2 App npm run appium2.android.deque
Appium 1 iOS XCUITest App npm run appium1.ios
Appium 1 iOS XCUITest Browser npm run appium1.ios.browser
Appium 2 iOS XCUITest App npm run appium2.ios
Appium 2 iOS XCUITest Browser npm run appium2.ios.browser
Appium 2 iOS AxeXCUITest App npm run appium2.ios.deque

NOTE There is no flutter test for iOS. This is not needed because there is only one flutter driver that is for Android and iOS. This means that when the flutter driver is working for Android it will work for iOS as well.

needed env vars

  1. TEST_SCRIPT : the name of the script we need to run it should be on of the following :
    1. appium1.android
    2. appium1.android.browser
    3. appium2.android
    4. appium2.android.browser
    5. appium2.android.flutter
    6. appium2.android.deque
    7. appium1.ios
    8. appium1.ios.browser
    9. appium2.ios
    10. appium2.ios.browser
    11. appium2.ios.deque
  2. USERNAME : sauce username used to run those tests
  3. ACCESS_KEY : access key for the selected username
  4. APPIUM_URL : appium url
  5. DEQUE_API_KEY: deque api key

About

Sample Appium 1 & 2 tests (Android, iOS, Flutter, Deque accessibility) for Sauce Labs Real Device Cloud

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors