[TC-156] : ["My space" page] Manage items in the "My To-do list"
Description
When user checkind or unchecking of items in the "My To-do list" on the "My space" page, item's name displayed crossed out or without crossing and the amount in the counter changes
Precondition
The registered user is logged in.
"My space" page is open.
User has at least 1 habit in progress
Environment
Windows 10, Google Chrome 113.0.5672.129 (64-bit)
Priority
Medium
Test Steps
Step No.
Step description
Expected result
1.
choose a habit in progress, click edit
redirected to the Habit's page (edit mode)
2.
in the To-do list on the Habit’s page (edit mode) add item
item added
3.
click "Save"
the user is redirected to the updated "My space" page
4.
system displayed green message "You have successfully updated a habit"
5.
the number displayed in the counter increases by the number of added items
6.
mark an item as done in the "My To-do list" by checking the checkbox near the item’s name
the item’s name is strikethrought
7.
reactivate an item in the "My To-do list" by unchecking the checkbox
the item’s name is displayed without crossing and item is reactivate
8.
repeat step 6
the item’s name is strikethrought
9.
refresh the page
the number displayed in the counter decreases by the number of removed items
[TC-156] : ["My space" page] Manage items in the "My To-do list"
Description
When user checkind or unchecking of items in the "My To-do list" on the "My space" page, item's name displayed crossed out or without crossing and the amount in the counter changes
Precondition
The registered user is logged in. "My space" page is open. User has at least 1 habit in progress
Environment
Windows 10, Google Chrome 113.0.5672.129 (64-bit)
Priority
Medium
Test Steps
Requirement
[
2252](https://github.com/ita-social-projects/GreenCity/issues/2252)