nromanen / pratical_testing_2022

0 stars 2 forks source link

Add a new custom habit via 'More' button #174

Open lizanosach opened 1 year ago

lizanosach commented 1 year ago

[TC-2] : Add a new custom habit via 'More' button

Description

This test case verifies that the user can add a new custom habit by clicking on the 'More' button and it will be displayed in the list of habits.

Precondition

User is registered and logged in. 'My habits' tab in user 'Profile' page is opened

Priority

High

Input data

Test Steps

Step No. Step description Expected result
1. Click "Add New Habit" button "All habits" page is opened
2. Select any habit from the list and click on the 'More' button 'Edit habit' page for selected habit is opened
3. Select any date in Date-picker. Set any date range via 'Duration' range input. Pick any value in 'To-do list' section. Click 'Save' button. The habit has been successfully added to the 'My habits' list. A message is displayed on the user's screen "You have successfully added a new habit to your list"

Expected Result

The new habit has been added and appears at the top of the "My Habits" page.

Requirement

Link for corresponding requirements https://github.com/ita-social-projects/GreenCity/issues/1000 https://github.com/ita-social-projects/GreenCity/issues/5402