You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a registered user, I want to be able to share with my friends a new standard habit that I add to the list of my habits and invite friends by username, so that I could start to track one with my friends.
Preconditions
Registered User is logged in
Users "My habits" page is open
User chosed one habit from the “All Habits list” page.
Page with description of choosen habits is opened
Acceptance Criteria
On the “habit description” page a registered user sees a button “Allow friends to join”\’Invite friends”
When the user clicks on the button “Allow friends to join”\’Invite friends” the system shows him a pop-up window with the way how he\she can add the friends
On the pop-up window, users can choose two ways to add a friend:
invite by email
find by username
When a user chooses “find by username” the system redirects him/her to a pop-up window with text field “Your friend's username” and unclickable button “find” and with “X” button in a right corner of the page to close the window
User can add 3 – 15 symbols ( letters, numbers, special characters) to the field
When a user entered correct friend’s username, system shows avatar and Username with the active button “add friend” up to the text field “Your friend's username”
If the user has write incorrect friend's username, the system does not shows avatar and Username with the active button “add friend” up to the text field “Your friend's username”
When user clicked on “add friend” button the inscription in the button changes on “invited” and became unclickable and the system generates and sends an invitation to the selected users
When the user clicks on the “X” button in the right corner of the page the system closes the pop-up window and redirects User to the “habit description” page.
If an invited User approves the invitation, the system adds the avatar of a newly added friend to be displayed on the tape of all added friends' lists.
If the user has more than 6 added friends to the habit the system shows avatar only 6 last added friends
As a registered user, I want to be able to share with my friends a new standard habit that I add to the list of my habits and invite friends by username, so that I could start to track one with my friends.
Preconditions
Acceptance Criteria
Epic link
Epic. My habits #938 Epic
Tasks
The text was updated successfully, but these errors were encountered: