create test case for the below requirements As an unregistered/ new user, I want to sign…
- User
create test case for the below requirements As an unregistered/ new user, I want to sign in to IHV app using mobile number so that I can generate OTP and access the features of the app Given unregistered/new user click on IHV app. And user should be able to see the logo of Optimal Oncology on the screen. And user should get navigated to the Sign in screen. And user should able to see logo of Optimal Oncology and the text below, "Enter your Mobile Number". with the title Sign in And user should be able to see text box with place holder "Mobile Number". And user should be able to input only numbers (0-9) in the text box. And user should able to see red error message below "Please enter a valid mobile number" if user count not equals to 10. User cannot enter any inputs other than numbers (alphabets, special characters are not allowed/enabled to be entered).
When user enter the mobile number and click on "GET OTP" button. Then user should receive 6 digit OTP to the entered mobile number. And user should get navigated to OTP verification screen.
And user should able to see logo of Optimal Oncology and the text below, "Welcome 9123456789" (Welcome username for existing user), "Enter the OTP sent to 9123456789" and a text box to enter OTP. And user should be able to enter OTP manually and click on "VERIFY & CONTINUE".
Scenario 1 When user enters correct OTP Then the user should get landed in "Personal Info" Screen if the user is a new user. User should land into home screen if the user is an existing user.
Scenario 2 When user enters incorrect OTP Then user should able to see red error message below "Enter valid OTP"
Scenario 3 Display below message after 30 sec if user didn���t enter OTP, "Didn���t receive OTP? Resend" with a snack bar message "Timed out". When "Resend" is clicked, display snack bar "OTP sent successfully"
Scenario 4 When user types the values and then deletes, display error message "Mobile number cannot be empty" for mobile field, "OTP cannot be empty" for OTP field
Scenario 5 GET OTP button should be enabled only when the mobile number field is entered with 10 digits. Until the count is 10, GET OTP is disabled, and a message to be displayed "Please enter a valid mobile number".
Assistant
Sure, here's a test case for the requirements you provided:
Test Case for IHV App Sign In Using Mobile Number
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.