Testing - Gigi-QiZhang/webdev-zhang-qi GitHub Wiki

username & password for test

  1. Runner: runner runner
  2. Volunteer: volunteer volunteer
  3. organization: organization organization
  4. administrator: admin admin

Events to search

  1. test
  2. testing
  3. Shiyu

Feel free to create any new event or account to help test

A user related to another user.

Volunteers and Runners can register for evens posted by organization (click the event after searching to event detail page).

Runners and Volunteers can follow organizations (click the organization name after searching to view organization detail).

Runner and volunteer can unfollow or cancel events in profile

A user searches for list of domain objects that match a criteria.

Any user can search events or weather condition on home page

A user views details of a particular domain object listed in the search results.

Any user can check the detail of the events by clicking the searching result name. Or they can check all events of an organization by following them and click their name in your own profile page.

A user views all domain objects related to the user.

Organizations can see all events created by them in profile -> events.

Volunteers and runners can see all the events they registered in profile.

Vounteers and runners can check all events of an organization by following them and click their name in your own profile page.

A user views all other users related to the user.

Volunteers and runners can see all the organizations they followed in profile.

Organization can see all the volunteers and runners registered their event in any event detail page

A user related to a domain object

Organization can create any new event

Volunteer and runners can register to any event

A domain object related to another domain object.

An organization can have multiple events.

An event has one weather condition.

A runner or volunteer can register many events.

An admin creates a user

Admin can create user

An admin lists all users

Admin can check all users

An admin edits/updates a particular user

Admin can't edit others' profile.

This doesn't make sense to me to let admin edit user profile. If any user is illegal, admin can contact them by provided email. If email is not provided, admin has option to ban the user. However, editing user profile should be forbidden on front end.

An admin removes a user

Admin can ban any user.