0% found this document useful (0 votes)
58 views

Front End Deliverables - Acceptance Criteria

1. The document outlines test cases for a user signup API, including valid and invalid scenarios for email, password, and account activation. 2. Test cases include validating email format, checking for existing emails, validating password length and complexity rules, and resending an activation email. 3. The document shows the test case ID, description, expected behavior, API endpoint, request format, whether the test case is implemented in the backend, and sample response formats.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views

Front End Deliverables - Acceptance Criteria

1. The document outlines test cases for a user signup API, including valid and invalid scenarios for email, password, and account activation. 2. Test cases include validating email format, checking for existing emails, validating password length and complexity rules, and resending an activation email. 3. The document shows the test case ID, description, expected behavior, API endpoint, request format, whether the test case is implemented in the backend, and sample response formats.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Deliverable Index Description Expected Actual API End Point Request Format Implemented in backend Response

Reference Response
1 TC-SIGNUP-001 Valid Email and Password is entered User should be able to sign up successfully and receive POST /auth/register { Yes {
activation email "email": "[email protected]", "id": "57cbb51a-ab71-4009-8802-3f54b4f2e23",
"password": "Toronto!0!" "email": "[email protected]",
"is_active": true,
} "is_superuser": false
201 }
1 TC-SIGNUP-002 Invalid Email address is entered User should be prompted with an error message indicating No 400
that the email address is invalid {"detail": "INVALID_EMAIL_ADDRESS"}
1 TC-SIGNUP-003 Email address already exists in the User should be prompted with an error message indicating Yes 400
system that the email address is already registered { "detail": "REGISTER_USER_ALREADY_EXISTS" }
1 TC-SIGNUP-004 Password is not entered User should be prompted with an error message indicating Yes {
that the password is required "detail": {
"code": "REGISTER_INVALID_PASSWORD",
"reason": "Password should be at least 6 characters"
}
}
1 TC-SIGNUP-005 Password is less than 6 characters User should be prompted with an error message indicating Merge Yes 400 { Merge - with requirements
that the password is too short "detail": {
"code": "REGISTER_INVALID_PASSWORD",
"reason": "Password should be at least 6 characters"
}
}
1 TC-SIGNUP-006 Password is more than 16 characters User should be prompted with an error message indicating Merge No 400 "{
that the password is too long ""detail"": {
""code"": ""REGISTER_INVALID_PASSWORD"",
""reason"": ""Password should be less than 16 characters""
}
}"
1 TC-SIGNUP-007 Password does not meet requirements User should be prompted with an error message indicating Yes 400 "{
(min 1 Capital, 1 lower case, 1 number , that the password is not strong enough ""detail"": {
1 special character min length 6 and ""code"": ""PASSWORD_REQUREMENT_NOT_MET"",
max length 16) ""reason"": ""Password should be less than 16 characters""
}
}"
1 TC-SIGNUP-008 Resend activation email POST auth/request-verify-token Yes 400 {
"detail": "VERIFY_USER_ALREADY_VERIFIED"
}
1 TC-SIGNUP-009 Activation link is clicked after the User should be prompted with an error message indicating POST /auth/verify Yes
account is already activated that the account is already activated
1 TC-SIGNUP-010 Activation link is clicked after a certain User should be prompted with an error message indicating POST /auth/verify No
time period that the activation link has expired
1 TC-SIGNUP-011 Email server is down or the email is not User should be prompted with an error message indicating POST auth/request-verify-token Yes { {
delivered that the activation email could not be sent, and should be "id": "57cbb51a-ab71-4009-8802-3f54b4f2e23", "detail": {
provided with an option to resend the email. "email": "[email protected]", "code": "PASSWORD CHANGEDSUCCESS",
"is_active": true, }
"is_superuser": false }
200 }
1 TC-PWCH-001 Positive: User changes password 1. The system accepts the current password and the new Post /auth/changepassword Yes
successfully password meets the password policy requirements
2. The system displays a success message "Your
password has been changed"
1 TC-PWCH-002 Positive: Password change when The system rejects the weak new password and displays Yes 200 {
Password does not meet complexity an error message "Your new password is too weak. Please "id": "57cbb51a-ab71-4009-8802-3f54b4f2e23",
requirements (min 1 Capital, 1 lower choose a stronger password" "email": "[email protected]",
case, 1 number , 1 character) "is_active": true,
"is_superuser": false
}
1 TC-PWCH-003 Negative: Password change with The system rejects the incorrect current password and Yes
incorrect current password displays an error message "Your current password is
incorrect"
1 TC-PWCH-004 Negative: Password change with empty Draw a red box around the required fields
fields
2 TC-CHAT-001 Positive YouTube, Facebook, Instagram, The system accepts the link and displays the video
TikTok, and Twitter link accepted thumbnail or preview image with some text.
The link can also be replaced with another one
2 TC-CHAT-002 Negative: Invalid link rejected The system rejects the invalid link and displays an error Low Priority
message "Invalid link. Please enter a valid YouTube,
Facebook, Instagram, TikTok, or Twitter link"
2 TC-CHAT-003 Enter a link that contains malicious code The system detects the malicious link and displays an error ?
or a phishing attempt in the URL field message "The link you entered is not safe. Please enter a
valid YouTube, Facebook, Instagram, TikTok, or Twitter link
2 TC-CHAT-004 Enter question text Enter a minimum number of words 3 to be used in context *
of the view and Click on Send
2 TC-CHAT-005 Load a previous chat conversation from Click on the history link from the menu and load the
the Menu historical conversation with preview of the URL link
3 TC-RESP-001 Show the response after sending the Display the preview of the Link and the response provided *
question from the server.
3 TC-RESP-002 Show the error if response was not Display the error provided by the backend or response *
provided times out
3 TC-RESP-003 Continue the chat conversation by Able to continue the chat questions related to the URL link *
asking more questions
3 TC-RESP-004 Search the chat conversation Show the results of the search as in the design, and
navigate from one result to the other
4 TC-MENU-001 Menu add conversation Conversation added when a new chat is created and
question is asked. Add a vertical scroll if the number
exceeds what can be seen
4 TC-MENU-002 Menu delete conversation Delete Conversation from the Menu
4 TC-MENU-003 Search Menu for conversation Search and show results and display only the matching
criteria
4 TC-MENU-004 Display list of historical conversations Show the list of historical conversations from the backend ,
display Title of the URL (Youtube, tiktok, Twitter etc.)
5 TC-NOT-001 Show new notifications Display new notifications
5 TC-NOT-002 Mark notification as read Mark notifications as read when notifications are viewed
6 TC-STR-001 Stripe Payment Process Stripe payment
7 TC-STR-002 Get new token balance Get the new token balance, and also get the latest
notifications

You might also like