Loading repository data…
Loading repository data…
kishan-gondaliya-7270 / repository
This repository contains a mobile automation testing framework using WebdriverIO, Appium, TypeScript, and Mocha. You can run the tests either locally using an Android emulator or on BrowserStack. Test reports are generated using Allure.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
This repository contains a mobile automation testing framework using WebdriverIO, Appium, TypeScript, and Mocha. You can run the tests either locally using an Android emulator or on BrowserStack. Test reports are generated using Allure.
To run the tests on your local machine with an Android emulator, make sure you have the following installed:
ANDROID_HOME is set up in your environment variables. java -version
node -v
export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/platform-tools
export PATH=$PATH:$ANDROID_HOME/tools
To verify the emulator setup, run:
adb devices
Install Appium
npm install -g appium
Install appium-doctor to Verify System Setup
npm install -g appium-doctor
appium-doctor --android
To run the tests on BrowserStack:
BS_USER (username) and BS_KEY (access key).app_url (e.g., bs://<app-id>)./resources/app/android/ColorNote.apk.env file at the root of this repository with the following content:
BS_USER=<your_browserstack_username>
BS_KEY=<your_browserstack_access_key>
Clone the repository:
git clone <repository-url>
cd <repository-directory>
Install the dependencies:
npm install
/config/wdio.android.conf.ts and modify if your Device is different
'appium:deviceName': 'Pixel 8',
'appium:platformVersion': '10.0',
npm run test:local
Add your .env file with your BrowserStack credentials.
Ensure you’ve uploaded the APK to BrowserStack and updated the appium:app capability in the wdio.browserstack.android.conf.ts to point to the BrowserStack app_url.
example : 'appium:app': 'bs://yourapkpath',
/config/wdio.browserstack.android.conf.ts and modify if your Device is different.
'appium:deviceName': 'Google Pixel 8',
'appium:platformVersion': '14.0',
npm run test:browserstack
tests/: Contains the test directory and files.pageobjects/: Implements the Page Object Model for the app screens.helpers/: Utility functions and custom commands.config/: WebdriverIO configuration files.reports/: Test reports.resources/: Contains the APK file and otherpackage.json: Defines project dependencies, scripts, and configurations for the project.tsconfig.json: Configures TypeScript compilation settings.github/workflows/ci.yaml : This file defines github ci actions. It requires existing env variable inside github secrets.The test reports are generated using Allure Reports.
npm run test-local:with-report
npm run test-browserstack:with-report
The reports will open in your browser, displaying the results of the test runs.
Note :
tests/smoke/ , this framework can be further extended for different test types such as e2e and regression.