{"id":23039525,"url":"https://github.com/lynix28/mobileui-appium-wdio-example","last_synced_at":"2026-05-04T05:45:48.695Z","repository":{"id":168329878,"uuid":"643661097","full_name":"lynix28/mobileui-appium-wdio-example","owner":"lynix28","description":"Mobile UI Automation Test Project Example with Appium + WebdriverIO","archived":false,"fork":false,"pushed_at":"2023-08-30T16:08:52.000Z","size":38328,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T23:46:50.302Z","etag":null,"topics":["android-testing","appium","appium-android","appium-ios","automated-testing","bdd-tests","cucumber","cucumber-framework","ios-testing","mobile-testing","mocha-framework","wdio","webdriverio"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lynix28.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-21T21:23:18.000Z","updated_at":"2025-04-02T00:34:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"e383bab6-e0ac-41ab-b69b-06c75f4962a9","html_url":"https://github.com/lynix28/mobileui-appium-wdio-example","commit_stats":null,"previous_names":["lynix28/android-mobileui-appium-wdio-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lynix28/mobileui-appium-wdio-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lynix28%2Fmobileui-appium-wdio-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lynix28%2Fmobileui-appium-wdio-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lynix28%2Fmobileui-appium-wdio-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lynix28%2Fmobileui-appium-wdio-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lynix28","download_url":"https://codeload.github.com/lynix28/mobileui-appium-wdio-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lynix28%2Fmobileui-appium-wdio-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32596533,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"online","status_checked_at":"2026-05-04T02:00:06.625Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android-testing","appium","appium-android","appium-ios","automated-testing","bdd-tests","cucumber","cucumber-framework","ios-testing","mobile-testing","mocha-framework","wdio","webdriverio"],"created_at":"2024-12-15T18:32:42.118Z","updated_at":"2026-05-04T05:45:48.661Z","avatar_url":"https://github.com/lynix28.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MobileUI Automation Test Project Example with Appium \u0026 WebdriverIO\n[![CircleCI](https://dl.circleci.com/status-badge/img/gh/lynix28/mobileui-appium-wdio-example/tree/master.svg?style=shield)](https://dl.circleci.com/status-badge/redirect/gh/lynix28/android-mobileui-appium-wdio-example/tree/master)\n[![SauceLabs](https://img.shields.io/badge/integrated%20to-SauceLabs-red)](https://app.saucelabs.com/u/oauth-lynixizunia-7ba4e)\n\n\u003ch3\u003e\u003cins\u003eDescription:\u003c/h3\u003e\n\nAn example project about Mobile automation (Android \u0026 iOS) testing using WebdriverIO. The test examples are created in Mocha Framework and Cucumber Framework.\n\n\u003ch3\u003e\u003cins\u003eRequirements\u003c/h3\u003e\n  \n- NodeJS\n- Appium Server\n- Appium Inspector (to find selector)\n- Android Studio (for device emulator)\n- Xcode (for iOS Simulator)\n- Demo App (for testing sample) by Sauce Labs\n\n\u003ch3\u003e\u003cins\u003eInside the project:\u003c/h3\u003e\n\n- \u003cb\u003eWebdriverIO Packages\u003c/b\u003e\n    - Mocha and Cucumber as Test Framework\n    - Allure as Test Reporter\n    - Appium Server as a service to run the test\n    - Appium Driver (`uiautomator2` \u0026 `xcuitest`)\n    - `sauce-service` to run the test on Sauce Labs cloud service\n\n\u003ch3\u003e\u003cins\u003eHow to setup:\u003c/h3\u003e\n\n- Clone the project \\\n  Run `npm install`\n\n\u003ch3\u003e\u003cins\u003eHow to run the test:\u003c/h3\u003e\n        \n\u003ch4\u003eAndroid:\u003c/h4\u003e\n\n- all the test\n    - `npm run test-android` \\\n    or\n    - `npm run test-android-bdd`\n- specific spec / test file\n    - `npm run test-android -- --spec ./to/file/location.js` \\\n    or\n    - `npm run test-android-bdd -- --spec ./to/file/location.feature`\n- specific suite / test suite\n    - `npm run test-android -- --suite \"suiteName\"`\n- specific test case\n    - `npm run test-android -- --spec ./to/file/location.js --mochaOpts.grep \"testcase name or testing tag\"`\n    - `npm run test-android -- --suite \"suiteName\" --mochaOpts.grep \"testcase name or testing tag\"`\n\n\u003ch4\u003eiOS\u003c/h4\u003e\n\n- all the test\n    - `npm run test-ios`\n- specific spec / test file\n    - `npm run test-ios -- --spec ./to/file/location.js`\n- specific suite / test suite\n    - `npm run test-ios -- --suite \"suiteName\"`\n- specific test case\n    - `npm run test-ios -- --spec ./to/file/location.js --mochaOpts.grep \"testcase name or testing tag\"`\n    - `npm run test-ios -- --suite \"suiteName\" --mochaOpts.grep \"testcase name or testing tag\"`\n\n\u003ch3\u003e\u003cins\u003eCommon issue might happen:\u003c/h3\u003e\n\n- Appium doesn't start automatically during the test (in local)\n    \n    - to solve the issue, just run the Appium server manually and re-run your test.\n\n- WDA (web driver agent) is not installed in iOS Simultor when tried to run the test\n\n    - to solve the issue, try to run Appium Inspector and access the Simulator, It might take some time for the first time but once the WDA is installed, the test / inspection will run normal.\n\n\u003ch3\u003e\u003cins\u003eHow the report look like?\u003c/h3\u003e\n\n\u003ch4\u003eAllure Report\u003c/h4\u003e\n\nuse `npm run report` to open the test report\n\n\u003cimg width=\"1435\" alt=\"image\" src=\"https://github.com/lynix28/android-mobileui-appium-wdio-example/assets/102797648/47ad7431-58e5-4dc8-ae5c-43212c9487ea\"\u003e\n  \n\u003ch4\u003eSauceLabs Build \u0026 Test Status\u003c/h4\u003e\n\u003cimg width=\"1164\" alt=\"image\" src=\"https://github.com/lynix28/android-mobileui-appium-wdio-example/assets/102797648/dcb28ea8-0abb-4696-a313-14adc177b369\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flynix28%2Fmobileui-appium-wdio-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flynix28%2Fmobileui-appium-wdio-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flynix28%2Fmobileui-appium-wdio-example/lists"}