Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codewithmmak/webdriverio-assertion-demo
This is a test automation framework designed using WebdriverIO to demonstrate different assertions
https://github.com/codewithmmak/webdriverio-assertion-demo
expect-webdriverio javascript lambdatest nodejs webdriverio webdriverio-boilerplate-framework
Last synced: about 1 month ago
JSON representation
This is a test automation framework designed using WebdriverIO to demonstrate different assertions
- Host: GitHub
- URL: https://github.com/codewithmmak/webdriverio-assertion-demo
- Owner: codewithmmak
- Created: 2023-02-05T15:49:10.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T08:35:46.000Z (about 1 year ago)
- Last Synced: 2023-12-15T09:40:38.779Z (about 1 year ago)
- Topics: expect-webdriverio, javascript, lambdatest, nodejs, webdriverio, webdriverio-boilerplate-framework
- Language: JavaScript
- Homepage:
- Size: 637 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
---
# WebdriverIO Assertions Demo Setup Guide
---## Features of this framework
* Expect in WebdriverIO (Assertions)
* [Cloud Integration: LambdaTest](http://www.lambdatest.com?fp_ref=md-moeen-ajaz40)## Getting started
### Pre-requisites
* Download and install Node.js
* Download and install any Text Editor like Visual Code/Sublime/Brackets### Setup Visual Code - optional
* Install GitLens Extension from the Marketplace: `GitLens — Git supercharged by GitKraken https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens`
* Install Material Icon Theme Extension from the Marketplace: `Material Icon Theme by Philipp Kief https://marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme`
* Go to Visual Code Preference > Setting and search `formatOnSave` and enable/ON it.### Setup Scripts
* Clone the repository into a folder
* Go to Project root directory and install Dependency: `npm install`
* All the dependencies from package.json would be installed in node_modules folder.## How to Run Test Locally
* Go to the Project root directory and run command: `npm run wdio`## How to Run Single Spec Locally
* Go to the Project root directory and run command: `npm run wdio wdio.conf.js --spec ./test/specs/to-have-url.e2e.js`## How to Run Test on LambdaTest Cloud
* Go to Project root directory and run command: `npm run lambdatest`### Terminal Test Result
![Terminal Test Result](./assets/terminal-lt.PNG?raw=true "Terminal Test Result")### LambdaTest Cloud Results
![LambdaTest Cloud Results](./assets/lambdatest-results.PNG?raw=true "LambdaTest Cloud Results")![LambdaTest Cloud Results Expanded View](./assets/lambdatest-results-expanded-view.PNG?raw=true "LambdaTest Cloud Results Expanded View")