-
Notifications
You must be signed in to change notification settings - Fork 6
Acceptance Tests
Description: Test for creating an event.
Test Id: 1
Assumptions:
- Signed User has already logged in with his/her password.
- Signed User has accessed event creating page and clicked create an event.
Test Step Number | Test Step Description | Test Data | Expected Results | Actual Results | Pass/Fail |
---|---|---|---|---|---|
1 | Go to create event page vith create event button. | - | Event creation page is displayed | - | - |
2 | Add tag | tagName: cinema | - | - | - |
3 | Add Location | location: selected Bebek/Beşiktaş from google maps. | - | - | |
4 | Add Description | description: "This film is all about fantasy. If you want to find yourself in another world you should definitely try it!" | - | - | - |
5 | Add Price | price: 5$ | - | - | - |
6 | Click Submit Button | - | Event creation success message is displayed. | - | - |
Post Conditions:
- New Event is created.
Description: Test for creating an event.
Test Id: 2
Assumptions:
- Signed User has already logged in with his/her password.
- Signed User has accessed event creating page and clicked create an event.
Test Step Number | Test Step Description | Test Data | Expected Results | Actual Results | Pass/Fail |
---|---|---|---|---|---|
1 | Go to create event page vith create event button. | - | Event creation page is displayed | - | - |
2 | Add tag | tagName: 12 | - | - | - |
3 | Add Location | location: selected Ceyhan/Adana from google maps. | - | - | |
4 | Add Description | description: "An elegant example of modern europian music!" | - | - | - |
5 | Add Price | price: 20$ | - | - | - |
6 | Click Submit Button | - | Event creation fail message is displayed with error message: "please enter valid tagname" | - | - |
Post Conditions:
- New event cannot be added, user is still have to change tagname.
Description: Test for resetting password.
Test Id: 3
Assumptions:
- User is already registered to the system.
- User tries to log in to the system, however, she can't log in.
- She has forgotten her password.
- She can reach to her e-mail (The way to reset password)
Test Step Number | Test Step Description | Test Data | Expected Results | Actual Results | Pass/Fail |
---|---|---|---|---|---|
1 | User goes to login page | - | Login page is displayed | - | - |
2 | User clicks I forgot my password button | - | User redirected to reset password page | - | - |
3 | User enters her already registered email to email input | [email protected] | - | - | - |
4 | User clicks send verification code button | - | User is redirected to a page that says "Please Check Your Email" | - | - |
5 | User checks her e-mail | - | A link to reset password page is displayed | - | - |
6 | User clicks the link in the e-mail | - | User redirected to a page that says "Please enter your new password" | - | - |
7 | User enters her new password | password123 | - | - | - |
8 | User clicks Update Password button | - | User redirected to a success page that says Your Password Is Updated | - | - |
Post Conditions:
- User has updated her password.
- Now she can login with her new password.
Description: Test for adding a comment to the event.
Test Id: 4
Assumptions:
- User is already registered to the system.
- User is already entered into the event page that she wants to add a comment.
Test Step Number | Test Step Description | Test Data | Expected Results | Actual Results | Pass/Fail |
---|---|---|---|---|---|
1 | User goes to the specific event page that she wants to comment on | - | Event page is displayed | - | - |
2 | User clicks the add comment button at the bottom of comments | - | A new text area dialog for entering a comment is opened | - | - |
3 | User enters the comment | This movie was really great. I really enjoyed being there, for the most part, it was very good. | Send Comment Button is activated | - | - |
4 | User clicks the Send Comment button | - | The current event page is refreshed. And the new comment user added shows up as the latest comment | - | - |
Post Conditions:
- A new comment has been saved to the database with the event id as the current event.
- A new comment is showed up in the comments section of the specified event.
Description: Test for editing event.
Test Id: 5
Assumptions:
- Signed User has already logged in with his/her password.
- Signed User has accessed event that she/he had created before.
- Currently nobody has joined the event that will be changed.
Test Step Number | Test Step Description | Test Data | Expected Results | Actual Results | Pass/Fail |
---|---|---|---|---|---|
1 | Go to event page which the user has created before. | - | Event page is displayed | - | - |
2 | Edit Location | location: User reselects the location which is Beşiktaş/Istanbul | - | - | - |
3 | User hits the submit button | - | Changes have been saved message is displayed. | - | - |
Post Conditions:
- Event location changed to Beşiktaş/Istanbul.
Description: Test for editing event.
Test Id: 6
Assumptions:
- Signed User has already logged in with his/her password.
- Signed User has accessed event that she/he had created before.
Test Step Number | Test Step Description | Test Data | Expected Results | Actual Results | Pass/Fail |
---|---|---|---|---|---|
1 | Go to event page which the user has created before. | - | Event page is displayed | - | - |
2 | Edit Price | price: 15$ | - | - | - |
3 | Edit Tag | tag: sport | - | - | - |
4 | User hits the submit button | - | Changes have been saved message is displayed. | - | - |
Post Conditions:
- Price has been changed and everyone notified of it.
- Tag is changed to the sport.
Description: Test for editing event.
Test Id: 7
Assumptions:
- Signed User has already logged in with his/her password.
- Signed User has accessed event that she/he had created before.
Test Step Number | Test Step Description | Test Data | Expected Results | Actual Results | Pass/Fail |
---|---|---|---|---|---|
1 | Go to event page which the user has created before. | - | Event page is displayed | - | - |
2 | Edit Price | price: ten bucks | - | - | - |
4 | User hits the submit button | - | Please input a valid price data message is displayed. | - | - |
Post Conditions:
- Nothing has been changed. The user has to check validity and change the price accordingly to continue.
Description: Test for following another registered user.
Test Id: 8
Assumptions:
- User is already registered to the system.
- User is already signed in.
Test Step Number | Test Step Description | Test Data | Expected Results | Actual Results | Pass/Fail |
---|---|---|---|---|---|
1 | User goes to the specific user page that she wants to follow | - | Profile page is displayed | - | - |
2 | User clicks the Follow User button | - | Info Not Following turned into Following | - | - |
Post Conditions:
- User is now following the specified user.
Description: Test for deleting event.
Test Id: 9
Assumptions:
- Signed User has already logged in with his/her password.
- Signed User has accessed event that she/he had created before.
- There are no people in the event.
Test Step Number | Test Step Description | Test Data | Expected Results | Actual Results | Pass/Fail |
---|---|---|---|---|---|
1 | Go to event page which the user has created before. | - | Event page is displayed | - | - |
2 | User hits delete button. | - | A window pops up to receive user password for verification. | - | - |
3 | User enters the password two times and hit the ok button. | password: 123qwer123 | Changes have been saved message is displayed. | - | - |
Post Conditions:
- From now on event no longer exists.
Description: Test for deleting event.
Test Id: 10
Assumptions:
- Admin has already logged in with his/her password.
- Admin has accessed event that is created before by someone.
- Admin sees inappropriate content in the event.
Test Step Number | Test Step Description | Test Data | Expected Results | Actual Results | Pass/Fail |
---|---|---|---|---|---|
1 | Go to event page which the user has created before. | - | Event page is displayed | - | - |
2 | Admin hits delete button. | - | A window pops up to receive user password for verification. | - | - |
3 | Admin enters the password two times and hit the ok button. | password: admin1234 | Changes have been saved message is displayed. | - | - |
Post Conditions:
- From now on event no longer exists.
Description: Test for specifying interest.
Test Id: 11
Assumptions:
- Signed User has already logged in with his/her password.
- Signed User has accessed his/her profile.
Test Step Number | Test Step Description | Test Data | Expected Results | Actual Results | Pass/Fail |
---|---|---|---|---|---|
1 | Click on the add interest button. | - | A pop up opends to take user's interests | - | - |
2 | User writes his/her interest to the box. | interest: sport | - | - | - |
3 | User clicks on the plus button to be able to add another | - | another box appeared to take user's interest. | - | - |
4 | User writes his/her interest to the box. | interest: music | - | - | - |
5 | User clicks on the save button. | - | Success message is displayed to users. | - | - |
Post Contidions:
- Interests music and sport are added to user's interest.
Description: Test for specifying interest.
Test Id: 12
Assumptions:
- Signed User has already logged in with his/her password.
- Signed User has accessed his/her profile.
Test Step Number | Test Step Description | Test Data | Expected Results | Actual Results | Pass/Fail |
---|---|---|---|---|---|
1 | Click on the add interest button. | - | A pop up opends to take user's interests | - | - |
2 | User writes his/her interest to the box. | interest: racism | - | - | - |
3 | User clicks on the save button. | - | Error message which says your interest is inappropriate is displayed to user. | - | - |
Post Contidions:
- User interest remained same.
Description: Test for searching an event. Event is existent in the database.
Test Id: 13
Assumptions:
- User is already registered to the system.
- User is already signed in.
- The Event that is being searched is exist.
Test Step Number | Test Step Description | Test Data | Expected Results | Actual Results | Pass/Fail |
---|---|---|---|---|---|
1 | User goes to search page | - | Search page is displayed | - | - |
2 | User enters the search keyword | Caz Festivali | Search Button gets activated | - | - |
3 | User selects event tab for search from dropdown menu | - | - | - | - |
4 | User clicks Search button | - | Search query is submitted to database. And Search results are showed. 1) İstanbul Caz Festivali 2) Ankara Caz Festivali | - | - |
Post Conditions:
- User can see the event that she was searching for.
Description: Test for searching an event. Event is not existent in the database.
Test Id: 14
Assumptions:
- User is already registered to the system.
- User is already signed in.
- The Event that is being searched is not exist.
Test Step Number | Test Step Description | Test Data | Expected Results | Actual Results | Pass/Fail |
---|---|---|---|---|---|
1 | User goes to search page | - | Search page is displayed | - | - |
2 | User enters the search keyword | Mahalle Koşusu | Search Button gets activated | - | - |
3 | User selects event tab for search from dropdown menu | - | - | - | - |
4 | User clicks Search button | - | Search query is submitted to database. A page is showed stating there is not an event with keyword 'Mahalle Koşusu' | - | - |
Post Conditions:
- User can not see any results.
Description: Test for searching a user. User is existent on the database.
Test Id: 15
Assumptions:
- User is already registered to the system.
- User is already signed in.
- The User that is searched for is existent on the database.
Test Step Number | Test Step Description | Test Data | Expected Results | Actual Results | Pass/Fail |
---|---|---|---|---|---|
1 | User goes to search page | - | Search page is displayed | - | - |
2 | User enters the search keyword | Özgür Akaoğlu | Search Button gets activated | - | - |
3 | User selects user tab for search from dropdown menu | - | - | - | - |
4 | User clicks Search button | - | Search query is submitted to database. And Search results are showed. 1) Özgür Akaoğlu | - | - |
Post Conditions:
- User has found the user that she was looking for.
Description: Test for searching a user. User is not existent on the database.
Test Id: 16
Assumptions:
- User is already registered to the system.
- User is already signed in.
- The User that is searched for is not existent on the database.
Test Step Number | Test Step Description | Test Data | Expected Results | Actual Results | Pass/Fail |
---|---|---|---|---|---|
1 | User goes to search page | - | Search page is displayed | - | - |
2 | User enters the search keyword | Cengiz Han | Search Button gets activated | - | - |
3 | User selects user tab for search from dropdown menu | - | - | - | - |
4 | User clicks Search button | - | Search query is submitted to database. And Search results are showed. A page is showed that says there is no result for search 'Cengiz Han' | - | - |
Post Conditions:
- User can not see the user that she was searching for.
Description: Test for reporting an event.
Test Id: 17
Assumptions:
- User is already registered to the system.
- User is already signed in.
- User is not happy with an event and wants to report the event.
Test Step Number | Test Step Description | Test Data | Expected Results | Actual Results | Pass/Fail |
---|---|---|---|---|---|
1 | User goes to the specific event details page | - | Event details page is displayed | - | - |
2 | User clicks the red button at the bottom Report Event button | - | Additional Information popup is showed to the user. | - | - |
3 | User enters the additional info about the report, specifying the reason of report | Some of my friends got harassed at this party. We think no more people should see this nonsense | Submit Report Button is activated | - | - |
4 | User clicks the Submit Report button | - | Report is submitted to database. A new pop up is showed up stating that Your report has been submitted. | - | - |
Post Conditions:
- User has successfully sent her report.
Description: Test for reporting a user.
Test Id: 18
Assumptions:
- User is already registered to the system.
- User is already signed in.
- User is not happy with a user and wants to report the user.
Test Step Number | Test Step Description | Test Data | Expected Results | Actual Results | Pass/Fail |
---|---|---|---|---|---|
1 | User goes to the specific event details page | - | Event details page is displayed | - | - |
2 | User clicks the red button at the bottom Report User button | - | Additional Information popup is showed to the user. | - | - |
3 | User enters the additional info about the report, specifying the reason of report | Some of my friends got harassed at this party. We think no more people should see this nonsense | Submit User Button is activated | - | - |
4 | User clicks the Submit User button | - | Report is submitted to database. A new pop up is showed up stating that Your report has been submitted. | - | - |
Post Conditions:
- User has successfully sent her report.
Description: Test for getting notifications.
Test Id: 19
Assumptions:
- Signed User has already logged in with his/her password.
Test Step Number | Test Step Description | Test Data | Expected Results | Actual Results | Pass/Fail |
---|---|---|---|---|---|
1 | Click on the add the notifications button. | - | Notifications are displayed to user. | - | - |
2 | User click on last week button to be able to see only notifications from last week | - | Filtered notifications are displayed to user. | - | - |
Post Contidions:
- No changes.
Description: Test for getting recommendation interest.
Test Id: 20
Assumptions:
- Signed User has already logged in with his/her password.
Test Step Number | Test Step Description | Test Data | Expected Results | Actual Results | Pass/Fail |
---|---|---|---|---|---|
1 | Click on the recommendations for you button. | - | recommendations are displayed to user |
Post Contidions:
- -.
Description: Test for signing in with Facebook account. User is authenticated.
Test Id: 21
Assumptions:
- User is already registered to the system.
- User is not signed in.
- User has a Facebook account that is registered to the system earlier.
Test Step Number | Test Step Description | Test Data | Expected Results | Actual Results | Pass/Fail |
---|---|---|---|---|---|
1 | User goes login page | - | Login page is displayed | - | - |
2 | User clicks the Login via Facebook button | - | Facebook's authentication popup is activated | - | - |
3 | User enters her facebook username/e-mail | [email protected] | - | - | - |
4 | User enters his password | crazyboy78 | Login button gets activated | - | - |
5 | User clicks Login button | - | Facebook says auth is succesfull. User is redirected to his homepage at Actopus. | - | - |
Post Conditions:
- User is authenticated.
Description: Test for signing in with Facebook account. User's Facebook password or e-mail is wrong. Not authenticated.
Test Id: 22
Assumptions:
- User is already registered to the system.
- User is not signed in.
- User hasn't got a Facebook account that is registered to the system earlier.
Test Step Number | Test Step Description | Test Data | Expected Results | Actual Results | Pass/Fail |
---|---|---|---|---|---|
1 | User goes login page | - | Login page is displayed | - | - |
2 | User clicks the Login via Facebook button | - | Facebook's authentication popup is activated | - | - |
3 | User enters her facebook username/e-mail | [email protected] | - | - | - |
4 | User enters his password | crazyboy78 | Login button gets activated | - | - |
5 | User clicks Login button | - | Facebook says authentication is failed. User is redirected to Facebook Login popup again. | - | - |
Post Conditions:
- User is not authenticated.
Description: Test for attending an event.
Test Id: 23
Assumptions:
- User is already registered to the system.
- User is signed in.
Test Step Number | Test Step Description | Test Data | Expected Results | Actual Results | Pass/Fail |
---|---|---|---|---|---|
1 | User goes to the specific event page that she wants to attend | - | Event page is displayed | - | - |
2 | User clicks Attend Event button to attend the event | - | Attend Event button turned into Abandon Event And a new popup is showed up stating that 'Are you sure you want to attend this event?' | - | - |
3 | User clicks Yes I'm Sure | - | User is redirected to event detail page again. | - | - |
Post Conditions:
- User is added to the attendee - event relation in database.