Skip to content

NadiaIvashko/FinalTask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Saucedemo WDIO Test Project

This project contains automated end-to-end tests for the login functionality of the Saucedemo website using WebDriverIO.

Use Cases

UC-1: Login with empty credentials

  • Fill username and password
  • Clear both fields
  • Click Login
  • Verify error message: "Username is required"

UC-2: Login with username only

  • Enter username
  • Fill password
  • Clear password
  • Click Login
  • Verify error message: "Password is required"

UC-3: Login with valid credentials

  • Use any accepted username from the site
  • Enter password: secret_sauce
  • Click Login
  • Verify that dashboard shows title: "Swag Labs"

Technologies

  • 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

How to run tests

Install dependencies: npm install run: npx wdio run wdio.conf.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published