Skip to content

MateoLoz/Specialization-Module-4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧪 Automation Tests – WebdriverIO

this proyect contains automated test using WebdriverIO with Mocha, and follows the Page object model patern (POM).


📦 Requirements

before you start, please be sure you have installed:

  • Node.js (recomended v18+)
  • npm

check dependencies using the following commands:

node -v
npm -v

🚀 Instalacion

Clone the repo and then install the dependencies:

npm install

🔐 Config and Environment

Create the .envfile in the root folder.

📁 Expected Structure

project-root/
│
├── .env
├── package.json
├── wdio.conf.js

✍️ Inside the .env file add:

APP_URL=https://practicesoftwaretesting.com

▶️ Test Execution

Once all dependencies are installed and configured, execute the following command:

npm run wdio

🛠 Proyect folder structure (POM)

src/
 ├── PO/
 │    ├── Components/
 │    ├── Pages/
 │
 ├── tests/
 ├── utils/

About

specialization module 4 final task test cases implementation in WebdriverIO and Mocha

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors