Closed elifdonmez closed 5 months ago
Description: A new user registers to the system to login and use the application.
Background: User should not register before with the same email address.
Test Step Id | Test Step | Expected Result | Actual Result | Verdict |
---|---|---|---|---|
1 | Navigate to the registration page http://34.32.59.24:8000/ | User Registration page is displayed | User Registration page is displayed | PASS |
2 | Enter “new.user@example.com” to the email field | Email field is filled with “new.user@example.com” | Email field is filled with “new.user@example.com” | PASS |
3 | Enter “123” to the password field. | Password is masked and password field is filled with three dots. | Password is masked and password field is filled with three dots. | PASS |
4 | Check KVKK rules accepted checkbox | KVKK rules accepted checkbox is checked | KVKK rules accepted checkbox is checked | PASS |
5 | Click on the register button | Page navigates to the Login page (http://34.32.59.24:8000/login) | Page navigates to the Login page (http://34.32.59.24:8000/login) | PASS |
Test 1 Result: PASS
Description: A registered user logins to the system to use the application
Background: User should be registered before successfully.
Test Step Id | Test Step | Expected Result | Actual Result | Verdict |
---|---|---|---|---|
1 | Navigate to the login page http://34.32.59.24:8000/login | Login page is displayed | Login page is displayed | PASS |
2 | Enter “elif@example.com” to the email field | Email field is filled with “elif@example.com” | Email field is filled with “elif@example.com” | PASS |
3 | Enter “123” to the password field. | Password is masked and password field is filled with three dots. | Password is masked and password field is filled with three dots. | PASS |
4 | Click on the login button | Page navigates to the Home page (http://34.32.59.24:8000/login) where user can see recent posts, communities, and other users. | Page navigates to the Home page (http://34.32.59.24:8000/login) where user can see recent posts, communities, and other users. | PASS |
Test 2 Result: PASS
Description: A logged-in user creates a community with a specific topic to share ideas
Background: User should be logged in successfully as described in the Test 2 (Login) with email “elif@example.com” and password “123”.
Test Step Id | Test Step | Expected Result | Actual Result | Verdict |
---|---|---|---|---|
1 | Navigate to the home page http://34.32.59.24:8000/home | Home page is displayed | Home page is displayed | PASS |
2 | Click on the create community button at the bottom of the screen on the right. | Page navigates to the Create Community Page http://34.32.59.24:8000/communityCreation | Page navigates to the Create Community Page http://34.32.59.24:8000/communityCreation | PASS |
3 | Enter “Windsurfers” to the “Community Name” field. | Community Name is filled with “Windsurfers”. | Community Name is filled with “Windsurfers”. | PASS |
4 | Enter “People who likes to windsurf” to the “Description” field. | Description is filled with “People who likes to windsurf”. | Description is filled with “People who likes to windsurf”. | PASS |
5 | Enter “No Politics” to the “Rules” field. | Rules is filled with “No Politics”. | Rules is filled with “No Politics”. | PASS |
6 | Click on Create button | Home page is displayed (http://34.32.59.24:8000/home) | Home page is displayed (http://34.32.59.24:8000/home) | PASS |
7 | Scroll Down to the page | “Windsurfers” community is displayed at the bottom of the page with greyed out join button. | “Windsurfers” community is displayed at the bottom of the page with greyed out join button. | PASS |
Test 3 Result: PASS
Description: A logged-in user creates a template in a community created by her with a specific topic to share ideas
Background: User should be logged in successfully as described in the Test 2 (Login) with email “elif@example.com” and password “123” and created “Windsurfers” community as described in Test 3.
Test Step Id | Test Step | Expected Result | Actual Result | Verdict |
---|---|---|---|---|
1 | Navigate to the “Windsurfers” community page http://34.32.59.24:8000/visit-community/Windsurfers/ | Windsurfers community page is displayed with community rules, advanced search, edit rules and create post templates buttons. | Windsurfers community page is displayed with community rules, advanced search, edit rules and create post templates buttons. | PASS |
2 | Click on the create post template button at the bottom of the screen on the left. | Page navigates to the Create Post Template Page http://34.32.59.24:8000/create_post_template/115/ where user can see the template name text input field and add field and save template buttons. | Page navigates to the Create Post Template Page http://34.32.59.24:8000/create_post_template/115/ where user can see the template name text input field and add field and save template buttons. | PASS |
3 | Enter “Windsurf Locations” to the “Template Name” field. | Template Name is filled with “Windsurf Locations”. | Template Name is filled with “Windsurf Locations”. | PASS |
4 | Click on Add Field button | Field dropbox, is mandatory checkbox and custom label entry input is displayed. | Field dropbox, is mandatory checkbox and custom label entry input is displayed. | PASS |
5 | Select Description as first field and enter “Windsurf Location Description” to the custom field name field. | Custom field name is filled with “Windsurf Location Description”. | Custom field name is filled with “Windsurf Location Description”. | PASS |
6 | Click on Add Field button | Field dropbox, is mandatory checkbox and custom label entry input is displayed below the first field. | Field dropbox, is mandatory checkbox and custom label entry input is displayed below the first field. | PASS |
7 | Select Geolocation as second field and enter “Location” to the custom field name field. | Custom field name is filled with “Location”. | Custom field name is filled with “Location”. | PASS |
8 | Check the Mandatory checkbox for the second field. | Mandatory checkbox is checked. | Mandatory checkbox is checked. | PASS |
9 | Click on the Save Template button | Windsurfers community page is displayed with community rules, advanced search, edit rules and create post templates buttons. | Windsurfers community page is displayed with community rules, advanced search, edit rules and create post templates buttons. | PASS |
Test 4 Result: PASS
Description: A logged-in user shares a post in a community.
Background: User should be logged in successfully as described in the Test 2 (Login) with email “elif@example.com” and password “123” and created “Windsurfers” community as described in Test 3.
Test Step Id | Test Step | Expected Result | Actual Result | Verdict |
---|---|---|---|---|
1 | Navigate to the “Windsurfers” community page http://34.32.59.24:8000/visit-community/Windsurfers/ | Windsurfers community page is displayed with community rules, advanced search, edit rules and create post templates buttons. | Windsurfers community page is displayed with community rules, advanced search, edit rules and create post templates buttons. | PASS |
2 | Click on the share post button at the bottom of the screen on the left. | Page navigates to the Share Post Page http://34.32.59.24:8000/share_post/Bridgerton/ where user can see the template selection dropdown and header and description text input fields with Post button on the bottom. | Page navigates to the Share Post Page http://34.32.59.24:8000/share_post/Bridgerton/ where user can see the template selection dropdown and header and description text input fields with Post button on the bottom. | PASS |
3 | Enter “Do you like windsurf” to the “Header” field. | Header is filled with “Do you like windsurf”. | Header is filled with “Do you like windsurf”. | PASS |
4 | Enter “I love it” to the “Description” field. | Description is filled with “I love it”. | Description is filled with “I love it”. | PASS |
5 | Click on the Post button | Page navigates to the Windsurfers community page is displayed with community rules, advanced search, edit rules and create post templates buttons (since we logged in the community creator user). | Page navigates to the Windsurfers community page is displayed with community rules, advanced search, edit rules and create post templates buttons (since we logged in the community creator user). | PASS |
6 | Check the Recent Posts | Post header is displayed as “Do you like windsurf”. Submitter name is displayed as “elif@example.com” and submission date is displayed as the current time in the GMT-0 timezone. | Post header is displayed as “Do you like windsurf”. Submitter name is displayed as “elif@example.com” and submission date is displayed as the current time in the GMT-0 timezone. | PASS |
Test 5 Result: PASS
For the base functionality