This project contains automated end-to-end tests for the login functionality of the Saucedemo website using WebDriverIO.
- Fill username and password
- Clear both fields
- Click Login
- Verify error message: "Username is required"
- Enter username
- Fill password
- Clear password
- Click Login
- Verify error message: "Password is required"
- Use any accepted username from the site
- Enter password:
secret_sauce - Click Login
- Verify that dashboard shows title: "Swag Labs"
- Test Automation Tool: WebDriverIO
- Browsers: Chrome, Firefox
- Locators: XPath
- Pattern: Page Object
- Assertions: from WDIO
- Logging: basic console logs
- Parallel Execution: configured in
wdio.conf.js
Install dependencies: npm install run: npx wdio run wdio.conf.js