🧪 Testing - bounswe/bounswe2024group9 GitHub Wiki
1. User Tests
1.1. Mobile Search
by Kristina
The goal of this user test is to check the functionalities of Wiki search on our mobile application.
Prerequisite: Must be logged in (first two steps)
Steps | Expected Result | Actual Result | Notes |
---|---|---|---|
1. Open the mobile app from here and run it on your android device | You should see a Login page first with username and password fields, a login button, and a login with google button | Pass | |
2. Write credentials username: "tester" and password: "Tester123" | You should be redirected to a page with title "Wikidata Search". You should see a text box saying "Search Wikidata". | Pass | |
3. Search for "Hagia sophia" (a typical search result with all information available at Wikidata) | You should see different results with a short description including Hagia Sophia | Partial | The results were correct, but there was no description for any of them (not even Hagia Sophia) and there was a line saying "Total Matches" which I believe is unnecessary here, I also noticed there were results missing - only results with sophia show up but htere should be more results containing "hagia" in their name showing up. See screenshot below. |
4. Click on "Hagia Sophia" result | You should be redirected to a "Search Result Detail" titled page. It should contain the result's geolocation (latitude, longitude), photograph, description, nearest 5 locations, 5 locations from the same historical period, a link to Wikipedia, and an "add to node" option. | Pass | |
5. Click on "Column of Justinian" from the "Historical Periods" section | You should be redirected to a "Search Result Detail" page similar to the one in step 4. but it should contain all of the same result for "Column of Justinian" | Pass | |
6. Click on "Haci Besir Aga Fountain" from the "Nearby" section | You should be redirected to a "Search Result Detail" page similar to the one in step 4. but it should contain all of the same result for "Haci Besir Aga Fountain" | Fail | The app crashed with just a white screen showing for me. |
As the test failed I have submitted a bug report in form of an issue here. Therefore, this test shall be repeated once the bug is solved.
1.2. Web Login and Signup Authentication Test
by Mutti
The goal of this test is to verify the login and signup functionalities on our web platform.
Prerequisite: The tester should not have an existing account.
Steps | Expected Result | Actual Result | Notes |
---|---|---|---|
1. Open the web platform by navigating to the main web page | You should be directed to a Login page featuring fields for username and password, a login button, and an option to reset your password. | Pass | |
2. Try to access the /feed subpage without logging in. | The user is redirected to the Login page, displaying fields for username and password, a 'Login' button, and a 'Forgot password?' link, with a message prompting to log in to continue | Pass | |
3. Try to login with incorrect credentials (username: "wronguser", password: "wrongpass") | An error message 'Invalid username or password' is displayed, indicating that the entered credentials are incorrect. The user remains on the login page with the option to retry entering their credentials or to reset their password. | Pass | |
4. Navigate to the signup page by clicking 'Sign up now'. | You should be directed to the Sign Up page, which displays fields for username, email, password, confirm password, and an option to agree to the KVKK terms with link to see the terms. There should also be a 'Sign Up' button and a link for users who already have an account to sign in. | Partial | The KVKK part does not have a link to acutual terms page. It should be updated |
5. Try to sign up with incorrect information (username: "test", email: "test", password: "123", confirm password: "1234") | Error messages should be displayed indicating the issues: invalid email format, insufficient password complexity, and mismatch between the password and confirm password fields. The system should prevent the registration from completing. | Partial ( Got the following ) Error: "Password and confirm password do not match" | This error indicates a mismatch between the entered passwords, which prevents the registration process from completing. Additional checks for email format and password complexity were not triggered in this attempt. |
6. Sign up with valid information (username: "newuser123", email: "[email protected]", password: "Test1234!", confirm password: "Test1234!") | After registration, the system should automatically log the user in and redirect to the search page, indicating successful login and access to the platform's features. | Pass | |
8. Attempt to logout | Successful logout and redirection to the login page. | Pass |
As some parts of the test resulted in partial success, necessary updates to the signup process and KVKK terms link are recommended. Once these updates are implemented, it would be beneficial to rerun the affected test cases to ensure all functionalities are working as expected and comply with the intended user experience and regulatory requirements.
1.3. Mobile Sign up, Log in
by Berkay, Ceylin
The goal of this test is to verify the login and signup functionalities on our mobile platform.
Steps | Expected Result | Actual Result | Notes |
---|---|---|---|
1. Open the mobile app from here and run it on your android device | You should see a Login page first with username and password fields, a login button, and a login with google button | Pass | |
2.Click on Sign Up | You should navigate to the Sign Up screen which there are inputs for username, email and password | Pass | |
3.Enter your credentials and click on submit without agreeing to KVKK terms | You should get an alert 'You must agree to KVKK to continue!' and not be able to create | Pass | It is included in final APK |
4.Now agree to KVKK and continue | You should get an alert 'User saved successfully!' | Pass | |
5.Click on ok in 'User saved successfully!' alert | You should navigate to search screen | Pass | |
6.Reopen the app and go to Sign Up screen again, enter the credentials you entered before and click on submit | You should not be able to save the same user again | Pass | The app does not give any alert indicating the user already exists |
7.Go to Log in screen by clicking on Log in here | You should navigate to Log in screen | Pass | It is included in final APK |
8.Enter the credentials and click on Login button | You should navigate to search screen | Pass |
The necessary codes for Log in screen button in the 7. step and KVKK box in the 3. step are included now, they are just not in the current APK version. The issue with the step 6 must be solved.
1.3. Web Search
by Ozgur and Ahmet Burak
The goal of this user test is to check the search ability and functions of the search page in web side
Prerequisite: you need to have an account
Steps | Expected Result | Actual Result | Notes |
---|---|---|---|
1. Open login page from here and login with your account | You should see a Login page and be able to use it to login with your credidentials | Pass | |
2. Search for "Galata" | You should see results with the word galata in it such as "Galata Tower" and "Galata Bridge" with short descriptions | Partial | The results were correct, but there was no description for them |
3. Click "Galata Bridge" | You should be directed to the page for "Galata Bridge" which should include longitude,latitude,style and Inception informations along with a section of similar period locations and nearby locations | Pass | |
4. Click to "Galata" in nearby locations | You should be directed to the page for "Galata" | Pass | |
5. Click "Galatasaray University" in similar period locations section | You should be directed to the page for "Galatasaray University" | Pass |
Overall the test was successfull