{"id":21480465,"url":"https://github.com/codewithmmak/webdriverio-mocha-chai-javascript","last_synced_at":"2026-03-12T23:32:23.005Z","repository":{"id":67902559,"uuid":"363681711","full_name":"codewithmmak/webdriverio-mocha-chai-javascript","owner":"codewithmmak","description":"This is sample Test Automation framework designed using WebdriverIO, Mocha, Chai and Javascript. And in this framework we will see some basic working examples for learning.","archived":false,"fork":false,"pushed_at":"2026-03-05T20:15:46.000Z","size":1539,"stargazers_count":4,"open_issues_count":11,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-05T23:27:47.591Z","etag":null,"topics":["chai","javascript","mocha","test-automation","webdriverio","webdriverio-boilerplate-framework"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codewithmmak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-05-02T15:18:47.000Z","updated_at":"2023-02-20T18:56:54.000Z","dependencies_parsed_at":"2023-10-04T07:35:11.928Z","dependency_job_id":"737d12db-8a5d-4752-b22e-ad9cec0bf29c","html_url":"https://github.com/codewithmmak/webdriverio-mocha-chai-javascript","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codewithmmak/webdriverio-mocha-chai-javascript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmmak%2Fwebdriverio-mocha-chai-javascript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmmak%2Fwebdriverio-mocha-chai-javascript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmmak%2Fwebdriverio-mocha-chai-javascript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmmak%2Fwebdriverio-mocha-chai-javascript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codewithmmak","download_url":"https://codeload.github.com/codewithmmak/webdriverio-mocha-chai-javascript/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmmak%2Fwebdriverio-mocha-chai-javascript/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30449076,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T21:31:01.033Z","status":"ssl_error","status_checked_at":"2026-03-12T21:30:43.161Z","response_time":114,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["chai","javascript","mocha","test-automation","webdriverio","webdriverio-boilerplate-framework"],"created_at":"2024-11-23T12:15:14.548Z","updated_at":"2026-03-12T23:32:22.976Z","avatar_url":"https://github.com/codewithmmak.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\n# WebDriverIO and JavaScript Automation Framework Setup Guide\n---\n\n## Getting started\n\n### Pre-requisites\n* Download and install Node.js\n* Download and install any Text Editor like Visual Code/Sublime/Brackets\n\n### Setup Visual Code\n* Install GitLens Extension from the Marketplace: `GitLens — Git supercharged by GitKraken`\n* Go to Visual Code Preference \u003e Setting and search `formatOnSave` and enable/ON it.\n\n### Setup Scripts \n* Clone the repository into a folder\n* Go to Project root directory and install Dependency: `npm install`\n* All the dependencies from package.json would be installed in node_modules folder.\n\n### How to write Test\n* Add new spec under `test` folder\n* Name the file as \u003ctestname\u003e.e2e.js (e.g. login.e2e.js)\n* Create page object under pageobjects/ folder as \u003cpage-name\u003e.page.js (e.g. login.page.js)\n\n### How to Run Test\n* Go to Project root directory and run command: `npm run wdio`\n* If you want to run api tests then run command: `npm run wdio:api`\n\n### How to Update local npm packages\n* Go to Project root directory and run command: `npm update`\n\n### How to view HTML report\n* Go to Project root directory: `./allure-results/index.html`\n\n### Sample Test Results\n![WebDriverIO and JavaScript Test Report](./assets/Allure-Report.png?raw=true \"WebDriverIO and JavaScript Test Report\")\n\n![WebDriverIO and JavaScript Test Report Expanded View](./assets/Allure-Report-Detailed-View.png?raw=true \"WebDriverIO and JavaScript Test Report Expanded View\")\n\n### How to run Test on SauceLabs\n* SauceLabs Quickstart `https://docs.saucelabs.com/web-apps/automated-testing/playwright/quickstart/`\n    * Set Environment Variables:\n        * Open Terminal\n        * Run ```touch ~/.bash_profile; open ~/.bash_profile```\n        * In TextEdit, add\n        * `export SAUCE_USERNAME=“YOUR USERNAME”`\n        * `export SAUCE_ACCESS_KEY=\"YOUR ACCESS KEY\"`\n        * Save the .bash_profile file and Quit (Command + Q) Text Edit.\n        * In Terminal echo $SAUCE_USERNAME\n        * In Terminal echo $SAUCE_ACCESS_KEY\n* Configure ```https://docs.saucelabs.com/secure-connections/sauce-connect/setup-configuration/basic-setup/```\n    * Open Terminal\n    * Run ```cd sc-4.8.0-osx/bin```\n    * Again run tests: ```./sc -u YourUsername -k YourAccessKey --region us-west --tunnel-name YourTunnelName```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithmmak%2Fwebdriverio-mocha-chai-javascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodewithmmak%2Fwebdriverio-mocha-chai-javascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithmmak%2Fwebdriverio-mocha-chai-javascript/lists"}