Skip to content

Testing

Karnando Sepryan edited this page Aug 7, 2019 · 1 revision

HAPPY FLOW

A. Mentor

  • Login with correct email & password
  • Logout
  • View Profile and should display all correct user data
  • Edit password with correct current password and correct new password
  • Change profile picture with image < 1 MB
  • Open batch list and should display all batches with no action available
  • Open sticky notes and should be allowed to view sticky notes with no action available
  • Open announcements list and should be allowed to view announcement list with no action available
  • Open announcements detail and should be allowed to view announcement details with no action available
  • Open blogs and should be allowed to create new blog with correct data
  • Create new blog with image upload
  • Open blogs and should be allowed to view blog list, and allowed to edit & delete blog that is created by current user
  • Open blog detail and should be allowed to view blog detail, and allowed to edit & delete blog that is created by current user
  • Open all course batch and should be allowed to view all courses with edit & delete action for course created by current user
  • Open course detail and should be allowed to view course details with with edit & delete action for course created by current user
  • Open course detail and should be allowed to view all course discussions.
  • Open course detail and should be allowed to post discussion comment
  • Open Files page and should be allowed to view all files available
  • Open Files page and should be allowed to download file
  • Open Files page and should be allowed to upload file on root
  • Open Files page and should be allowed to upload file inside folder
  • Open Files page and should be allowed to edit file name uploaded by current user
  • Open Files page and should be allowed to update file uploaded by current user
  • Open Files page and should be allowed to delete file uploaded by current user

B. Student

  • Login with correct email & password
  • Logout
  • View Profile and should display all correct user data
  • Edit password with correct current password and correct new password
  • Change profile picture with image < 1 MB
  • Open batch list and should display batch that student is in
  • Open sticky notes and should be allowed to view sticky notes with no action available
  • Open announcements list and should be allowed to view announcement list with no action available
  • Open announcements detail and should be allowed to view announcement details with no action available
  • Open blogs and should be allowed to create new blog with correct data
  • Create new blog with image upload
  • Open blogs and should be allowed to view blog list, and allowed to edit & delete blog that is created by current user
  • Open blog detail and should be allowed to view blog detail, and allowed to edit & delete blog that is created by current user
  • Open course batch and should be allowed to view all courses available on that batch with no action available
  • Open course detail and should be allowed to view course details without edit & delete action
  • Open course detail and should be allowed to view all course discussions.
  • Open course detail and should be allowed to post discussion comment
  • Open Files page and should be allowed to view all files available
  • Open Files page and should be allowed to download file
  • Open Files page and should be allowed to upload file on root
  • Open Files page and should be allowed to upload file inside folder
  • Open Files page and should be allowed to edit file name uploaded by current user
  • Open Files page and should be allowed to update file uploaded by current user
  • Open Files page and should be allowed to delete file uploaded by current user

FAIL FLOW

A. Mentor

  • Login with wrong email and correct password should show wrong email or password
  • Login with correct email and wrong password should show wrong email or password
  • Login with wrong email and wrong password should show wrong email or password
  • Edit password with wrong current password and correct new password should show wrong current password
  • Edit password with correct current password and wrong new password repeat should show wrong password repeat
  • Edit password with wrong current password and wrong new password repeat should show wrong password repeat
  • Change profile picture with image > 1MB should show error
  • Change profile picture with file other than png jpg should not be allowed
  • Go to sticky note detail edit page through url with ‘/edit’ on the end of url should redirect user back to feeds
  • Go to add announcement page through url with ‘/add’ on the end of url should redirect user back to feeds
  • Go to annoucement detail edit page through url with ‘/edit’ on the end of url should redirect user back to feeds
  • Go to blog detail edit page through url with ‘/edit’ on the end of url for blog that is not created by current user should redirect user back to feeds
  • Create new blog with no title but filled the description should show alert on title
  • Create new blog with title and no description should show alert on description
  • Create new blog with no title and no description should show alert on title and description
  • Edit blog created by user with no title but with description should show alert on title
  • Edit blog created by user with title and no description should show alert on description
  • Edit blog created by user with no title and no description show alert on title and description
  • Open course detail and post a discussion with empty data should show alert and discussion not posted

Mentor

  • Login with wrong email and correct password should show wrong email or password
  • Login with correct email and wrong password should show wrong email or password
  • Login with wrong email and wrong password should show wrong email or password
  • Edit password with wrong current password and correct new password should show wrong current password
  • Edit password with correct current password and wrong new password repeat should show wrong password repeat
  • Edit password with wrong current password and wrong new password repeat should show wrong password repeat
  • Change profile picture with image > 1MB should show error
  • Change profile picture with file other than png jpg should not be allowed
  • Go to sticky note detail edit page through url with ‘/edit’ on the end of url should redirect user back to feeds
  • Go to add announcement page through url with ‘/add’ on the end of url should redirect user back to feeds
  • Go to annoucement detail edit page through url with ‘/edit’ on the end of url should redirect user back to feeds
  • Go to blog detail edit page through url with ‘/edit’ on the end of url for blog that is not created by current user should redirect user back to feeds
  • Open course detail and post a discussion with empty data should show alert and discussion not posted

Clone this wiki locally