Skip to content
This repository was archived by the owner on Nov 3, 2025. It is now read-only.

Test Cases

Onurklngc edited this page May 26, 2017 · 4 revisions

Login into the System

Preconditions

  • User is registered
  • User clicked the login button and came to the login page

Assume that the user's username is 'musiclover99', e-mail address is 'musiclover99@gmail.com' and password is 'Qwer1234'

Test Case Scenario Test Steps Expected Results Actual Results Pass/Fail
User with valid login info 1. User types 'musiclover99' in username field or 'musiclover99@gmail.com' in e-mail address field.
2. User types 'Qwer1234' in password field.
3. User clicks Login button or presses Enter key.
User logs in successfully and is redirected to the home page
User with invalid password 1. User types 'musiclover99' in username field or 'musiclover99@gmail.com' in e-mail address field.
2. User types 'Qwer1237' in password field.
3. User clicks Login button or presses Enter key.
An error message displayed stating "Wrong username or password"
User with invalid username or e-mail address 1. User types 'musickover99' in username field or 'musickover99@gmail.com' in e-mail address field.
2. User types 'Qwer1234' in password field.
3. User clicks Login button or presses Enter key.
An error message displayed stating "Wrong username or password"
User with valid social media account 1. User clicks Login with Facebook or Login with Google button.
2. User logs into the social media account.
User logs in successfully and is redirected to the home page
User with invalid social media account 1. User clicks Login with Facebook or Login with Google button.
2. User cannot log into the social media account.
An error message displayed stating "Could not log in"

Adding Comments to a Concert Page

Preconditions:

  • User must be logged in to the system.
  • Registered user opened an existing concert page.
Test Case Scenario Test Steps Expected Results Actual Results Pass/Fail
Adding a comment to an existing concert page 1.Open the concert page.
2.Click on comment button
3.Write a comment
4.Click on post button.
1.Comment appears in the concert's comments section.

2.If the comment is longer than 5 lines, the first 5 lines of the comment is displayed with an option to show the rest of the comment.

Searching for Concerts and Users

Test Scenario Test Case Preconditions Test Steps Test Data Expected Result
Searching for Concerts and Users Searching for a User Website is Open
1.Click on the search bar
2.Enter the search text(A users username or email address)
3.Click search or hit enter
"harunzengin" Search results are displayed with the best match first, alphabetically.
Searching for Concerts and Users Searching for a Concert Website is Open
1.Click on the search bar
2.Enter the search text
3.Click search or hit enter
"Duman" Search results are displayed with the best match first and the closest first historically
Searching for Concerts and Users Advanced Search 1.Website is Open
2.Advanced Search Page is open
1.Enter the search text in the desired field or fields
2.Click on the relevant search button or hit enter.
"Zorlu PSM Center" Concerts that are going to take place in Zorlu PSM Center

Viewing Another User's Profile

Test Scenario Test Case Preconditions Test Steps Test Data Expected Result Actual Results Pass/Fail
Viewing Another User's Profile General View of Profile Page 1. Website is open
2. User is logged in.
1. Open the search panel.
2. Enter user data
3. Click search or press enter.
4. Choose a user type result and click it.
"utku-bozdogan" 1. Selected user's profile page is displayed.
2. Information that the owner of the page chooses to share is displayed.
Viewing Another User's Profile Following 1. Website is open
2. User is logged in.
3. Profile of another user is being viewed.
Click the button that "Follow" is written on. Follow: Alpertunga Ertin 1. User is prompted a message informing that they now follow the selected user
2. Follow button is replaced by an "Unfollow" button.
Viewing Another User's Profile Viewing Another User's "Concerts Diary" 1. Website is open
2. User is logged in.
3. Profile of another user is being viewed.
Click the button that "Concerts Diary" is written on. Concerts Diary: Ozan Kınasakal User is shown the list of concerts that the selected user attended if the selected user chose to share.

Editing Profile

Preconditions:

  • User is logged in the system
  • User clicked edit profile button on his profile page
Test Scenario Test Case Preconditions Test Steps Test Data Expected Result
Editing user profile Editing user email address New email address haven't used before
1.Find your email address in edit profile page
2.Change it to your new email address
3.Activate you new email address via the mail sent
"new@gmail.com" Email address is changed and activated.
Editing user profile Editing favourite genres Only metal music is selected as favourites
1.Find favourites part in edit profile page
2.Click on Reggae
"Reggae" A new favourite music genre is added to your favourites list

Viewing Concert Page

Test Scenario Test Case Preconditions Test Steps Test Data Expected Result Actual Results Pass/Fail
View a concert Registered User User has logged in 1.User arrives at a concert event page by searching or from another user's profile - 1.User is able to see concert image,description, attendees, location date and comments.
2.User is able to attend, comment, edit or share the concert.
View a concert Guest User - 1.User arrives at a concert event page by searching or from another user's profile - User is able to see concert image,description, attendees, location date and comments.
Request concert edit The date of the concert has changed User has logged in 1.User arrives at the concert page by searching or from a user's profile - User is either able to edit the concert information or rejected by the community
Comment on a concert User has attended the concert and wants to share their thoughts User has logged in 1.User arrives at a concert event page by searching or from another user's profile.
2.User enters their comment
"This concert was great! Looking forward to their new album." Users are able to see the comment and its entry date.
Invite another user to concert Burak Sofu is going to a Metallica concert and wants to invite Alpertunga Ertin to this concert Buralk is logged in and Alpertunga follows Burak 1.User arrives at a concert event page by searching or from another user's profile
2.Burak chooses share concert and selects Alpertunga from followed by list.
- Alpertunga recieves a notification about the concert and Burak's invitation

Clone this wiki locally