nromanen / pratical_testing_2022

0 stars 2 forks source link

Checking if 7 habits can't be added from the list of standard habits #176

Open lizanosach opened 1 year ago

lizanosach commented 1 year ago

[TC-4] : Checking if 7 habits can't be added from the list of standard habits

Description

This test case checks that if the user already has 6 habits and clicks the "Add New Habits" button, the system opens a pop-up window with the information: :"The user can only have 6 habits in progress".

Precondition

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

Priority

Medium

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 "Add habit" button The system opened a pop-up window with information: "User has reached the limit of active habit assigns 6". 7 habit cannot be added

Expected Result

The system opened a pop-up window with information: "User has reached the limit of active habit assigns 6"

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