This test case verifies that user can add a new standard habit and it will be shown in habits list
Precondition
User is registered and logged in.
'My habits' tab in user's 'Profile' page is opened
User has 1 habits.
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 the "Add habit" 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 user has successfully added a new default habit and it is displayed in the list of his habits.
[TC-1] : Add new standard habit
Description
This test case verifies that user can add a new standard habit and it will be shown in habits list
Precondition
User is registered and logged in. 'My habits' tab in user's 'Profile' page is opened User has 1 habits.
Priority
High
Input data
Test Steps
Expected Result
The user has successfully added a new default habit and it is displayed in the list of his habits.
Requirement
Link for corresponding requirements https://github.com/ita-social-projects/GreenCity/issues/1000