JerryJuniorPacalso / project-alnus

0 stars 0 forks source link

As a user I should be able to login to the application with my username and password #16

Open JerryJuniorPacalso opened 3 months ago

JerryJuniorPacalso commented 3 months ago

Background: When I open the application Then I should see the welcome screen When I tap on the "Login" button Then I should see the login-screen

Scenario: As a user I should be able to login to the application with my username and password Given an existing account with the following information | Username | cuke-username | | First Name | Jane | | Middle Name | Mota | | Last Name | Doe | | Birthdate | 01/01/1990 | | Password | 1 | When I fill up the following details on the screen | username | password | | cuke-username | 1 | And I tap on the "Login" button Then I should be able to see the associated-family-list-screen

Scenario: As a user I should not be able to login to the application if the account does not exists When I fill up the following details on the screen | username | password | | cuke-username | 1 | And I tap on the "Login" button Then I should be able to see a toast with message "Account/Password does not exist"

Scenario: As a user I should not be able to login to the application if the password entered is incorrect Given an existing account with the following information | Username | cuke-username | | First Name | Jane | | Middle Name | Mota | | Last Name | Doe | | Birthdate | 01/01/1990 | | Password | 1 | When I fill up the following details on the screen | username | password | | cuke-username | 123 | And I tap on the "Login" button Then I should be able to see a toast with message "Account/Password does not exist"

JerryJuniorPacalso commented 2 months ago

@harur0t kindly pick this up