As a user accessing the application,
I want to be able to sign in using different methods, including Google, Apple, email address, and mobile number,
So that I can securely access the application and utilize its features.
If I try to sign in with an unregistered email or mobile number, I expect to be notified that the account does not exist.
Additionally, if I attempt to sign in using an unregistered Google or Apple account, I want to be provided with options to create an account or log in.
Acceptance Criteria:
The login page should provide options to sign in using Google, Apple, email address, and mobile number.
When signing in with an unregistered email or mobile number, an appropriate error message should be displayed to inform the user that the account does not exist.
For email and mobile number login, the user should be prompted to enter their password along with the respective identifier.
When signing in with an unregistered Google or Apple account, the application should present a page offering the options to create an account or log in.
The registration process should include a back button to allow the user to cancel the registration.
Scenario 1: Signing in with an existing email and password
Given I am on the login page
When I enter my registered email address and correct password
And I click the "Login" button
Then I should be successfully logged into the application.
Scenario 2: Signing in with an unregistered email
Given I am on the login page
When I enter an unregistered email address
And I click the "Login" button
Then I should see an error message indicating that the account does not exist.
Scenario 3: Signing in with an existing mobile number and password
Given I am on the login page
When I enter my registered mobile number and correct password
And I click the "Login" button
Then I should be successfully logged into the application.
Scenario 4: Signing in with an unregistered mobile number
Given I am on the login page
When I enter an unregistered mobile number
And I click the "Login" button
Then I should see an error message indicating that the account does not exist.
Scenario 5: Signing in with an unregistered Google account
Given I am on the login page
When I click the "Sign in with Google" button
And the Google account is not registered within the application
Then I should be redirected to a page offering options to "Create Account" or "Login."
Scenario 6: Creating an account after attempting to sign in with an unregistered Google account
Given I am on the "Create Account" page after signing in with an unregistered Google account
I click the "Create Account" button
Then my account should be successfully created and I should be logged into the application.
Scenario 7: Cancelling registration after attempting to sign in with an unregistered Google account
Given I am on the "Create Account" page after signing in with an unregistered Google account
When I click the "Back" button
Then I should be redirected back to the login page and the registration process should be canceled.
Scenario 8: Signing in with an unregistered Apple account
Given I am on the login page
When I click the "Sign in with Apple" button
And the Apple account is not registered within the application
Then I should be redirected to a page offering options to "Create Account" or "Login."
Scenario 9: Creating an account after attempting to sign in with an unregistered Apple account
Given I am on the "Create Account" page after signing in with an unregistered Apple account
When I provide the necessary details (name, email, password, etc.) to create an account
And I click the "Create Account" button
Then my account should be successfully created and I should be logged into the application.
Scenario 10: Cancelling registration after attempting to sign in with an unregistered Apple account
Given I am on the "Create Account" page after signing in with an unregistered Apple account
When I click the "Back" button
Then I should be redirected back to the login page and the registration process should be canceled.
Scenario 11: Signing in with the registered apple/google account
I should be logged into the application.
User Story:
As a user accessing the application, I want to be able to sign in using different methods, including Google, Apple, email address, and mobile number, So that I can securely access the application and utilize its features. If I try to sign in with an unregistered email or mobile number, I expect to be notified that the account does not exist. Additionally, if I attempt to sign in using an unregistered Google or Apple account, I want to be provided with options to create an account or log in.
Acceptance Criteria:
Scenario 1: Signing in with an existing email and password Given I am on the login page When I enter my registered email address and correct password And I click the "Login" button Then I should be successfully logged into the application.
Scenario 2: Signing in with an unregistered email Given I am on the login page When I enter an unregistered email address And I click the "Login" button Then I should see an error message indicating that the account does not exist.
Scenario 3: Signing in with an existing mobile number and password Given I am on the login page When I enter my registered mobile number and correct password And I click the "Login" button Then I should be successfully logged into the application.
Scenario 4: Signing in with an unregistered mobile number Given I am on the login page When I enter an unregistered mobile number And I click the "Login" button Then I should see an error message indicating that the account does not exist.
Scenario 5: Signing in with an unregistered Google account Given I am on the login page When I click the "Sign in with Google" button And the Google account is not registered within the application Then I should be redirected to a page offering options to "Create Account" or "Login."
Scenario 6: Creating an account after attempting to sign in with an unregistered Google account Given I am on the "Create Account" page after signing in with an unregistered Google account I click the "Create Account" button Then my account should be successfully created and I should be logged into the application.
Scenario 7: Cancelling registration after attempting to sign in with an unregistered Google account Given I am on the "Create Account" page after signing in with an unregistered Google account When I click the "Back" button Then I should be redirected back to the login page and the registration process should be canceled.
Scenario 8: Signing in with an unregistered Apple account Given I am on the login page When I click the "Sign in with Apple" button And the Apple account is not registered within the application Then I should be redirected to a page offering options to "Create Account" or "Login."
Scenario 9: Creating an account after attempting to sign in with an unregistered Apple account Given I am on the "Create Account" page after signing in with an unregistered Apple account When I provide the necessary details (name, email, password, etc.) to create an account And I click the "Create Account" button Then my account should be successfully created and I should be logged into the application.
Scenario 10: Cancelling registration after attempting to sign in with an unregistered Apple account Given I am on the "Create Account" page after signing in with an unregistered Apple account When I click the "Back" button Then I should be redirected back to the login page and the registration process should be canceled.
Scenario 11: Signing in with the registered apple/google account I should be logged into the application.