-
Notifications
You must be signed in to change notification settings - Fork 0
Testcase Overview
uniray7 edited this page Sep 13, 2016
·
3 revisions
- Media - CRUD:
- create a new media for panophoto with location name
- create a new media for panophoto with location id
- create a new media for panophoto without location data
- create a new media for livephoto
- return 400 if missing properties when creating a livephoto media
- return 400 if missing properties when creating a livephoto media(2)
- return 400 if create a livephoto media with invalid properties missing properties
- return 400 if create a livephoto media with invalid properties (2)
- return a media by id
- return a media by id (2)
- return a media with like by id
- return a media by id (with access token)
- return a media by id (with access token) (2)
- update media caption
- delete a media
- return 401 when delete a media by using a token that does not have the authority
- Media - like (disabled)
- like a media (disabled)
- return 400 if request body does not contain userId when like a media (disabled)
- return 404 when like a media that does not exist (disabled)
- unlike a media (disabled)
- return 400 if request body does not contain userId when unlike a media (disabled)
- return 404 when unlike a media that does not exist (disabled)
- Media - like: (disabled)
- like a media and the count should increase 1 (disabled)
- like a media by different users (disabled)
- retrun the liked user list of a given media (disabled)
- ignore duplicated likes (disabled)
- unlike a media and the count should decrease 1 (disabled)
- unlike a media by different users (disabled)
- ignore double unlike (disabled)
- User creating
- create a new user
- reject user creation of duplicated username
- reject user creation of duplicated email
- User login/out
- login a user by providing valid credentials
- logout a user by providing access token
- User accessing
- return a user by providing valid user id and valid access token
- return a user by providing id param as a literal and a valid access token
- not return a user by providing mismatching userId and token
- return a list of media
- upload user profile photo (skip)
- change user profile photo (skip)
- User following (disabled)
- follow a user (disabled)
- ignore duplicated following (disabled)
- unfollow a user (disabled)
- ignore double unfollowing (disabled)
- return 404 if the followee does not exist (disabled)
- get follower list of a given user (disabled)
- get following list of a given user (disabled)
- get following list of a given user (2) (disabled)
- User editing
- update a user
- delete a user
- User changing password
- change password
- without providing old password
- without providing new password
- change password with incorrect old password
- User feedback
- send feedback
- User querying: (disabled)
- media from following users (with default limit) (disabled)
- media from following users (with default limit) (2) (disabled)
- media from following users (with custom limit) (disabled)
- media from following users (with custom limit) (2) (disabled)
- two pages (with custom limit) (disabled)
- 400 for invalid where query (unsupported query operator) (disabled)
- 400 for invalid where query (invalid query operator type) (disabled)
- 400 for invalid where query (unsupport query target) (disabled)
- following: (disabled)
- follower list of a given user and check the relation with each user in the list (disabled)
- following list of a given user and check the relation with each user in the list (disabled)
- profile and media:
- user own profile
- get user own profile with follow
- user own profile (FB registered user)
- user own profile with follow(FB registered user)
- the profile from other user
- the profile from other user with follow
- 401 if get profile without authorization
- 401 if get profile without authorization (2)
- user own media
- user own media with like
- 401 if query user media without authorization
- 401 if query user media without authorization (2)
- media from other user
- media from other user with like