Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guedesrodriguezleonardo/webdriverio-js
Web Automation testing framework using WebdriverIO, Mocha, and JavaScript
https://github.com/guedesrodriguezleonardo/webdriverio-js
javascript test-automation web-testing webdriverio
Last synced: 4 days ago
JSON representation
Web Automation testing framework using WebdriverIO, Mocha, and JavaScript
- Host: GitHub
- URL: https://github.com/guedesrodriguezleonardo/webdriverio-js
- Owner: guedesrodriguezleonardo
- Created: 2023-05-04T20:40:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-01T16:58:36.000Z (10 months ago)
- Last Synced: 2024-11-09T12:34:08.153Z (2 months ago)
- Topics: javascript, test-automation, web-testing, webdriverio
- Language: JavaScript
- Homepage:
- Size: 139 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# webdriverio-js âŠī¸
This project is an automated testing project that utilizes WebdriverIO (WDIO) to test the search functionality of the MercadoLibre website. The purpose of this test is to retrieve the names, prices, and links of the articles found on the first 3 pages and output them into a .txt file.
## Project structure
### đ Page Object Pattern
This project utilizes the Page Object Pattern, which is a design pattern used to organize and structure automated tests. It separates the code for interacting with a web page from the code for the tests themselves. This approach makes tests easier to read, maintain, and extend.### đ /output
- camisetas.txt (This file is generated automatically after each test run and will be overwritten)### đ /pages
- base.page.js- home.page.js
- results.page.js### đ/tests
- search.js## How to run
To get started with this project, follow the steps below:1. Clone the repository to your local machine
2. Install the dependencies by running
```
npm install
```
3. Run the test suite by running
```
npm run wdio
```
4. After running the test, you can find the retrieved data in a .txt file inside the /output directory.### đ Allure Report
This project uses the Allure Report to generate an interactive report that provides information about the test results.
After running the tests, the report can be generated by running the command
```
allure generate && allure open
```