User Tests for Mobile - bounswe/bounswe2024group6 GitHub Wiki
Test 1 - Register:
- Open the application.
- Navigate to the register screen.
- Enter a valid email in the email input field.
- Enter a valid username in the username field.
- Enter a strong password in the password input field.
- Confirm the password by entering it again.
- Select the level.
- Click the Signup button.
- Verify that the user is redirected to the home page.
Test 2 - Login:
Precondition:
Test 1 (Register) must pass successfully. The username and password created in Test 1 are required for this test.
- Open the application.
- Navigate to the login screen.
- Enter the username created in Test 1 in the username input field.
- Enter the password created in Test 1 in the password input field.
- Click the Login button.
- Verify that the user is redirected to the home page and "Welcome!" text is displayed with username.
Test 3 - Forum Feed:
- Open the application.
- Navigate to the Forum screen.
- Verify that the forum page displays a list of posts, including a post with "Useful Tests for Academic English".
Test 4 - Profile:
Precondition:
The user must be logged in. Ensure the Login test is executed and passed successfully.
- Open the application.
- Navigate to the user's Profile screen.
- Click on the Edit Profile button.
- Verify that the Edit Profile page is displayed with fields for editing profile information, including Name, About Me, Level, and Profile Picture.
Test 5 - Quiz:
Precondition:
Test 1 (Register) must pass successfully. The username and password created in Test 1 are required for this test. Assume user is logged in.
- Open the application.
- Navigate to the quiz screen.
- Like the quiz via the star button.
- Unlike the quiz via the star button.
- Verify that star button color style has changed from white to black and like count has increased by 1.
Test 6 - Quiz:
Precondition:
Test 1 (Register) must pass successfully. The username and password created in Test 1 are required for this test. Assume user is logged in.
- Open the application.
- Navigate to the quiz screen.
- Choose a quiz and hit on it.
- Hit the take quiz button.
- Choose one of the answers and hit next iteratively until you see the finish button.
- Hit the finish button.
- Verify that question progress on top right has increased by 1.
- Verify that you see the results page with your score.
Test 7 - Quiz:
Precondition:
Complete the steps in the test 6.
- Hit the review quiz button.
- Hit next button and verify that the correct answer is marked with green and the wrong answer is marked with red if you made it wrong.
- Hit the finish button and go back to the quiz main menu.