Skip to content

Puchao64/1inch-mobile-e2e

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI

1inch Mobile E2E — Login Playground (Appium + WebdriverIO)

End-to-end mobile automation tests for the provided Login Playground sample app.

Focus: login flow validation and basic CI-ready project structure.


Tech Stack

  • Node.js
  • WebdriverIO
  • Appium
  • Mocha + expect (@wdio/globals)

What is covered

Login scenarios (Chrome on Android emulator):

  1. ✅ Valid username + valid password → success message
  2. ✅ Invalid username + valid password → username invalid message
  3. ✅ Valid username + invalid password → password invalid message
  4. ✅ Empty username + empty password → username invalid message

Project Structure

  • wdio.conf.js — WebdriverIO + Appium configuration
  • test/specs/test.e2e.js — E2E test scenarios
  • test/pageobjects/* — Page Object Model

Prerequisites (Local Setup)

  • Android Studio + Android Emulator (Google APIs)
  • Node.js (LTS recommended)
  • Appium v3

Install Appium:

npm install -g appium

Install driver:

appium driver install uiautomator2

Check ADB:

adb devices

Setup

Install dependencies:

npm install

Run Tests (Local)

1. Start Android Emulator

adb devices

2. Start Appium Server

appium --port 4723 --base-path /

3. Run Tests

npm test

Notes

If emulator is not detected, update udid in wdio.conf.js:

adb devices

CI

This project uses GitHub Actions for Continuous Integration.

On every push and pull request, the workflow automatically:

  • Installs dependencies
  • Runs basic project validation
  • Executes npm test

You can also run the workflow manually from the Actions tab.

About

E2E mobile test automation project using Appium, WebdriverIO and GitHub Actions for login flow validation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors