ita-social-projects / EventsExpress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

As a user I want to have "Join" button on the event card so that I can join the event from the event card.

nkovalyk opened this issue · comments

As a user I want to have "Join" button on the event card so that I can join the event from the event card.

Date Time
07-12-2022 14:30

Pre-requisites

  1. The user is registered and logged on a site;
  2. The user is on the home page;
  3. The user chose the event to join;
  4. Only unjoned user can join the event;

Description

  • User can join the event from the event card.
    If there are no special conditions stated, by clicking "Join" button user is joined to the event, invitation is sent to the email and "Join" button is changed to "Unjoin".
  • If there are special condition stated, pop out statement appears.
    Pop out statement may include age limit, inventory details, etc. When pop out statement appears, there are 3 buttons available for user - "Back", "More details", "Accept".

Acceptance criteria
Notes about what the story must do in order for the product owner to accept it as complete

Scenario 1 User wants to join the event from the event card when there are no special conditions stated
Given User is on the home page and event to join is selected
When User clicks “Join” button
Then User is joined to the event and invitation is sent to the email
Scenario 2 User wants to join the event from the event card when there are special conditions stated
Given User is on the home page and event to join is selected
When User clicks “Join” button
Then Pop out statement appears
Scenario 3 User wants to go back to the home page
Given Pop out statement appeared
When User clicks “Back” button
Then User is back to home page
Scenario 4 User wants to agree with special conditions
Given Pop out statement appeared
When User clicks “Accept” button
Then User is joined to the event and invitation is sent to the email
Scenario 5 User wants to review more details of the event
Given Pop out statement appeared
When User clicks “More details” button
Then User is redirected to review page of the event

Additional context
image

Epic link E.g.: Epic #

Labels to be added "User story", Corresponding Functionality (e.g. User), Priority ("pri: "), "Corresponding Epic"