Завдання:
- Створити новий репозиторій в GitHub
- Створити пустий Readme.md файл
- Створити 2 тести для https://www.saucedemo.com/ (тести шукай нижче).
- Тести і написанний код потрібно закомітити в нову гілку.
- Додати .gitignore файл
- Додати опис в Readme файлі, з поясненням, як користуватись репозиторієм та написанним кодом
- Запушати зміни в репозиторій та створити Pull Request вказавши мене, як ревʼюера.
Test 1 - Perform Login:
- Perform login using "standard_user"
- On the opened page verify:
- Products (1) title is displayed
- Shopping Cart icon (2) is displayed
- More than 1 product (3) is displayed
Test 2 - Add product to the cart:
- Perform login using "standard_user"
- Add the first product to the cart by clicking Add to Cart button
- Verify Shopping Cart icon contains the number of products added (equal 1)
- Open the Shopping Cart and verify the added product is displayed (the data should be taken from the Products page and used here to as an expected result)
- Remove the product by clicking Remove
- Verify no products are available in the Shopping Cart
Як користуватись репозиторієм
- Клонуєте репозиторій
- Дивитесь на цілих 2 тести
- Клянусь, шо намагалась винести логінку в окремий метод, але шось пішло не так)
- Чекаєте поки я пройду ПОМ на JS і зроблю КРОСІВО
- Хвалите мене яка я молодець <3