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"
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"