Automate testing with pytest and selenium
Website to be tested Swag Labs
Test scenarios:
-
Login Test
- Go to the website
- Input username: standard_user
- Input password: secret_sauce
Acceptance criteria: text PRODUCTS as page title
-
Add To Cart Test
- Go to the website
- Input username: standard_user
- Input password: secret_sauce
- Click ADD TO CART button on one of the product
- Click Cart icon
Acceptance criteria: The product added to Your Cart page