Sure! Please provide the specific scenarios you would like me to create mobile test cases for, and I will be happy to help.
User
Users should only see on the form Account carousel to select their account, and a multi-line text field to input their complaint on the submission as per design
Character limits 500 characters - BAU
Character counter "0/500" should be below the text field
Users with no email defined on profile/CRM level should see a field "Email Address" (optional) which will be captured as part of the form submission only and in the description as "[CUSTOMER EMAIL: xxx@example.com]" at the end of the description of the complaint
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Users should see an info dialog informing them to chat with us regarding their complaint if they filled the form and clicked continue
Users clicked on "Proceed" should see the acknowledgement page, and if they clicked on "SUBMIT", then complaint should be submitted, and user see the success screen
Users should see two buttons in the success screen, if they clicked on "VIEW DETAILS", then they navigate to complaint details page, and if they clicked on "DONE", then they are navigated to More Menu.
Users should see a failed pop if an issue happens while submitting their complaint. if they clicked "TRY AGAIN", then navigate the user again to the official complaint form with their inputs pre-filled and their attachment showing, so that they can resubmit again.
Users should navigate to More menu if clicked on CANCEL on the failed pop up
Users should be able to attach documents and screenshots (limitation and validation is BAU)
Users should be able to add attachments to their form with the current acceptable formats for documents and images with the current maximum size allowed (BAU)
Users should see two attachment types drawer when click on "ADD ATTACHEMENT" which are "Add photo" and "Add document" (BAU)
Users should be able to see that attachment when selected under a section called "Attachments" (BAU)
Users should see the filename, trash button icon, and subtitle "Tap to view a document"(BAU)
Users should be able to click and view their attachment (BAU)
Users should be able to see the page title of their attachment preview as the filename of their attachment (BAU)
Users should be able to delete their attachment by clicking on trash icon button
Here are mobile test cases for the specified scenarios related to a complaint submission form in a mobile application:
Test Cases for Mobile Complaint Submission Form
Test Case 1: Account Selection Carousel
Test Case ID: TC001
Description: Ensure the user can see the account selection carousel.
Precondition: User is logged in.
Steps:
Open the complaint submission form.
Expected Result: The account selection carousel is displayed, allowing users to select their account.
Test Case 2: Multi-line Text Field
Test Case ID: TC002
Description: Verify the presence of a multi-line text field for complaint input.
Precondition: User is in the complaint submission form.
Steps:
Check for a multi-line text input field.
Expected Result: A multi-line text input field is present, allowing for user input.
Test Case 3: Character Limit Enforcement
Test Case ID: TC003
Description: Verify the character limit of 500 characters in the complaint text field.
Precondition: User is in the multi-line text input field.
Steps:
Type 500 characters into the text field.
Attempt to type an additional character.
Expected Result: Input should not allow more than 500 characters, and the character counter should update correctly (e.g., "500/500").
Test Case 4: Character Counter Display
Test Case ID: TC004
Description: Confirm that the character counter is visible under the text field.
Precondition: User is in the complaint submission form.
Steps:
View the complaint text field.
Expected Result: Character counter "0/500" should be displayed below the text field and update as the user types.
Test Case 5: Optional Email Address Field
Test Case ID: TC005
Description: Verify the presence of the email address field for users without an email.
Precondition: User has no email defined in their profile/CRM level.
Steps:
Open the complaint submission form.
Expected Result: An "Email Address (optional)" field is displayed to the user.
Test Case 6: Complaint Description Formatting
Test Case ID: TC006
Description: Validate that the complaint description captures the email address in the expected format.
Precondition: User has filled in the complaint form with an email address.
Steps:
Submit the complaint with provided email.
Expected Result: The description of the complaint should include "[CUSTOMER EMAIL: xxx@example.com]" at the end.
Test Case 7: Info Dialog for Chat Support
Test Case ID: TC007
Description: Ensure the info dialog appears when the user submits the complaint form.
Precondition: User has filled in the form.
Steps:
Click on the "Continue" button.
Expected Result: An info dialog prompting the user to chat with support is displayed.
Test Case 8: Acknowledgment Page Display
Test Case ID: TC008
Description: Verify the acknowledgment page is shown after clicking "Proceed".
Precondition: User has filled out the form and clicked "Continue".
Steps:
Click on the "Proceed" button.
Expected Result: The acknowledgment page is displayed.
Test Case 9: Successful Submission
Test Case ID: TC009
Description: Verify successful submission of the complaint.
Precondition: User is on the acknowledgment page.
Steps:
Click on the "SUBMIT" button.
Expected Result: The success screen appears indicating successful submission.
Test Case 10: Success Screen Navigation
Test Case ID: TC010
Description: Ensure navigation from the success screen to the complaint details page or More Menu.
Precondition: User is on the success screen.
Steps:
Click "VIEW DETAILS".
Expected Result: User navigates to the complaint details page.
Test Case 11: Successful Submission Done Navigation
Test Case ID: TC011
Description: Ensure navigation to the More Menu when "DONE" is clicked on the success screen.
Precondition: User is on the success screen.
Steps:
Click on the "DONE" button.
Expected Result: User is navigated to the More Menu.
Test Case 12: Failed Submission Pop-up
Test Case ID: TC012
Description: Verify that a failed submission pop-up appears if submission fails.
Precondition: User has submitted a complaint with errors.
Steps:
Submit a complaint that triggers a failure.
Expected Result: A failed pop-up notifying the user appears with an option to "TRY AGAIN".
Test Case 13: Retry Failed Submission
Test Case ID: TC013
Description: Ensure user can retry submission after a failure.
Precondition: User is in the failed submission pop-up.
Steps:
Click "TRY AGAIN".
Expected Result: User returns to the complaint form with previously entered data pre-filled.
Test Case 14: Cancel When Resubmitting
Test Case ID: TC014
Description: Verify navigation to More Menu when the user clicks "CANCEL" on failed pop-up.
Precondition: User is on the failed submission pop-up.
Steps:
Click "CANCEL".
Expected Result: User is navigated to the More Menu.
Test Case 15: Attachment Functionality
Test Case ID: TC015
Description: Ensure users can attach documents and screenshots with validation.
Precondition: User is in the complaint submission form.
Steps:
Click "ADD ATTACHMENT".
Select "Add photo" or "Add document".
Choose an acceptable file.
Expected Result: The selected attachment is added without errors and is viewable under "Attachments".
Test Case 16: View Attachments
Test Case ID: TC016
Description: Validate viewing attachments.
Precondition: User has added attachments.
Steps:
Click on an attachment to view it.
Expected Result: Attachment preview opens with the filename as the page title.
Test Case 17: Delete Attachment
Test Case ID: TC017
Description: Ensure users can delete their attachments.
Precondition: User has at least one attachment added.
Steps:
Click the trash icon next to an attachment.
Expected Result: The selected attachment is removed from the list of attachments.
Test Case 18: Attachment Information Display
Test Case ID: TC018
Description: Verify the display of attachment information.
Precondition: User has added attachments.
Steps:
View the attachments section.
Expected Result: Each attachment displays the filename, a trash icon, and the subtitle "Tap to view a document".
This suite of test cases covers the functionalities and user interactions described in the scenarios provided. Each test case is designed to ensure that the application behaves as expected, handling both expected and edge scenarios.