Integration Test - bounswe/bounswe2024group10 GitHub Wiki

TEST CASE 1

Test ID: 1
Title: Sign Up Mobile (SUCCESS)
Designed By: Gülşen Sabak
Related Requirements: 1.1.1.1. and 1.1.1.1.1.
Pre-Conditions:
  1. This is a not registered user.
Steps Actions Input Data Expected Output Actual Output Result
1 User presses Sign-Up button - Sign-Up page appears. Sign-Up page appears. Success
2 User fills the information parts in sign up page with appropriate information name: Gulsen Sabak, email: [email protected], password: 1234, username: gsabak - Success
3 User presses the Sign_Up button - User is a member of application. Success
Post-Conditions:

TEST CASE 2

Test ID: 2
Title: Comment Creation
Designed By: Nazlıcan Aka
Related Requirements: 1.1.1.1.1.1, 1.1.2.6.
Pre-Conditions:
  1. User is signed-in to the system.
  2. User is currently on a Post page
Steps Actions Input Data Expected Output Actual Output Result
1 Click "Add Comment" button on comment section - An error message is displayed. An error message is displayed. Success
2 Write a comment in "Comment" text input. How an amazing asset In UI comment is displayed In UI comment is displayed Success
3 Click the button to add the comment - In UI comment is displayed In UI comment is displayed Success
Post-Conditions:
  1. Comment is saved to database.
  2. Information that holds the count of comments for that Post is updated (increased by 1).

TEST CASE 3: Sign-Up Web (SUCCESS)

Test ID: 1
Title: Sign-Up Web (SUCCESS)
Designed By: Oğuzhan Tuncer
Related Requirements: 1.1.1.1 and 1.1.1.1.1

Pre-Conditions

  1. This is a new user who is not yet registered in the system.

Steps

Step No. Actions Input Data Expected Output Actual Output Result
1 User navigates to the "Sign-Up" page and presses the "Next" button - The "Sign-Up" page appears. The "Sign-Up" page appears. Success
2 User fills in the required fields in Step 1 Name: John DoeEmail: [email protected]Password: password123Username: johndoe Fields are filled successfully. Fields are filled successfully. Success
3 User presses the "Next" button - The user is navigated to Step 2. The user is navigated to Step 2. Success
4 User selects a user type and submits the form User Type: Beginner User becomes a member of the application. User becomes a member of the application. Success

Post-Conditions

  • The user's information is successfully stored in the system.
  • The user is now a registered member of the application.

Test Execution Details

The above test verifies that the Sign-Up process for the web platform works correctly when all the required inputs are provided. It validates the multi-step form's ability to handle user navigation, input validation, and successful completion of the registration process.

TEST CASE: 4

Test ID: 4
Title: User Login and Interactions (SUCCESS)
Designed By: Gülşen Sabak
Related Requirements: 1.1.1.1. and 1.1.1.1.1
Pre-Conditions:
  1. The user is already registered.
Steps Actions Input Data Expected Output Actual Output Result
1 User tries to log in. Email: [email protected], Password: password123 User is successfully logged in. User is successfully logged in. Success
2 User browses the feed. - User sees posts in the feed. User sees posts in the feed. Success
3 User comments on posts. Comment: "Great post!" Comment is successfully added to the post. Comment is successfully added to the post. Success
4 User likes posts. Post ID: 101 Post is successfully liked. Post is successfully liked. Success
5 User searches for "BIST". Search Query: BIST Posts related to BIST are displayed. Posts related to BIST are displayed. Success
6 User creates a new post. Content: "My first post about BIST." Post is successfully created. Post is successfully created. Success

TEST CASE 5

Test ID: 5
Title: Portfolio Management and Asset Insights (SUCCESS)
Designed By: Gülşen Sabak
Related Requirements: 1.1.1.1. and 1.1.1.1.1
Pre-Conditions:
  1. The user is already registered.
Steps Actions Input Data Expected Output Actual Output Result
1 User logs in. Email: [email protected], Password: password123 User is successfully logged in. User is successfully logged in. Success
2 User enters portfolio page. - Portfolio page is displayed. Portfolio page is displayed. Success
3 User adds assets to portfolio. Asset: AAPL, Quantity: 10 Asset is added successfully. Asset is added successfully. Success
4 User searches for a new asset. Search Query: TSLA Asset details and insights are displayed. Asset details and insights are displayed. Success
5 User views the asset chart and adds indicators. Indicators: Moving Average Indicators are displayed on the chart. Indicators are displayed on the chart. Success
6 User buys the asset and add it to his/her portfolio. Asset: TSLA, Quantity: 5 Asset is added to the portfolio. Asset is added to the portfolio. Success

TEST CASE 6

Test ID: 6
Title: Post Annotations and Interactions (SUCCESS)
Designed By: Gülşen Sabak
Related Requirements: 1.1.1.1. and 1.1.1.1.1
Pre-Conditions:
  1. The user is already registered.
Steps Actions Input Data Expected Output Actual Output Result
1 User logs in. Email: [email protected], Password: password123 User is successfully logged in. User is successfully logged in. Success
2 User browses the feed. - User sees posts in the feed. User sees posts in the feed. Success
3 User comments on posts. Comment: "Interesting perspective!" Comment is successfully added. Comment is successfully added. Success
4 User likes posts. Post ID: 105 Post is successfully liked. Post is successfully liked. Success
5 User views and adds annotations to a post. Annotation: "Clarify this section." Annotation is successfully added. Annotation is successfully added. Success
6 User creates a new post with a chart and images. Content: "Market analysis for Q4.", Chart: Uploaded, Images: Uploaded Post is successfully created. Post is successfully created. Success

TEST CASE 7

Test ID: 7
Title: Sign Up and Initial Interactions (SUCCESS)
Designed By: Gülşen Sabak
Related Requirements: 1.1.1.1. and 1.1.1.1.1
Pre-Conditions:
  1. The user is not registered.
Steps Actions Input Data Expected Output Actual Output Result
1 User tries to log in. Email: [email protected], Password: password123 Login fails, user is prompted to register. Login fails, user is prompted to register. Success
2 User signs up. Name: New User, Email: [email protected], Password: password123 Registration is successful. Registration is successful. Success
3 User logs in. Email: [email protected], Password: password123 User is successfully logged in. User is successfully logged in. Success
4 User searches for an asset. Search Query: Nasdaq Asset details and posts are displayed. Asset details and posts are displayed. Success
5 User dislikes a post. Post ID: 110 Post is successfully disliked. Post is successfully disliked. Success

TEST CASE 8

Test ID: 8
Title: Guest User Browsing (SUCCESS)
Designed By: Gülşen Sabak
Related Requirements: 1.1.1.1. and 1.1.1.1.1
Pre-Conditions:
  1. The user is not registered.
Steps Actions Input Data Expected Output Actual Output Result
1 User enters the app as a guest. - Guest user mode is activated. Guest user mode is activated. Success
2 User searches for a topic. Search Query: PepsiCo Information about PepsiCo is displayed. Information about PepsiCo is displayed. Success
3 User tries to like a post. Post ID: 115 Pop-up message appears, stating guests cannot like posts. Pop-up message appears, stating guests cannot like posts. Success

TEST CASE 9

Test ID: 9
Title: New User Registration and Interactions (SUCCESS)
Designed By: Gülşen Sabak
Related Requirements: 1.1.1.1. and 1.1.1.1.1
Pre-Conditions:
  1. The user is not registered.
Steps Actions Input Data Expected Output Actual Output Result
1 User tries to log in. Email: [email protected], Password: password123 Login fails, user is prompted to register. Login fails, user is prompted to register. Success
2 User signs up. Name: Another User, Email: [email protected], Password: password123 Registration is successful. Registration is successful. Success
3 User logs in. Email: [email protected], Password: password123 User is successfully logged in. User is successfully logged in. Success
4 User browses the feed. - User sees posts in the feed. User sees posts in the feed. Success
5 User dislikes a post. Post ID: 120 Post is successfully disliked. Post is successfully disliked. Success