ita-social-projects / EventsExpress

MIT License
19 stars 16 forks source link

As a user, I want to change the mode (participant/creator) of the "My Events" page, so that I can review different events' lists. #1403

Open AndriiKachan opened 2 years ago

AndriiKachan commented 2 years ago

As a user, I want to change the mode (participant/creator) of the "My Events" page, so that I can I can review different events' lists.

Date Time 10-07-2022 14:25

Pre-requisites

  1. The user is logged on a site;
  2. The user is on the "My Events" page;

Description

1) The tougle participant/creator by default is off (this means participant mode);

image

2) In participant mode, the user can switch between 4 events' lists:

3) When user turn on tougle participant/creator, system switches to creator mode;

image

4) In creator mode, the user can switch between 4 events' lists:

Note: Detailed information of the Statuses of the event can be found here: https://github.com/ita-social-projects/EventsExpress/wiki/Statuses-of-the-Event

Acceptance criteria Notes about what the story must do in order for the product owner to accept it as complete
Scenario 1 Display events in the Participant mode
Given User is on the "My Events" page
And Tougle participant/creator is off (Participant mode)
When User clicks on the section name of the event list (Finished events, In-progress events, Future events, Bookmarked)
Then Events' lists for Participant mode are displayed (Finished events, In-progress events, Future events, Bookmarked)
Scenario 2 User wants to switch to Creator mode
Given User is on the "My Events" page
When User turns on tougle participant/creator (Creator mode)
Then Events' lists for Creator Mode are displayed (Finished events, In-progress events, Future events, Drafts)
Scenario 3 User wants to switch to Participant mode
Given User is on the "My Events" page
And Tougle participant/creator is on (Creator mode)
When User turns off tougle participant/creator (Participant mode)
Then User is in the Participant Mode

Epic link: Epic #1402