mirror of
https://github.com/TanelOrumaa/Estonian-ID-card-mobile-authenticator-POC.git
synced 2024-11-25 15:20:59 +02:00
Updated Use Case Tests (markdown)
parent
f01d70161f
commit
f72883e0bd
@ -20,8 +20,7 @@ ___
|
|||||||
The system notifies the user that the data has been retrieved from the ID card.
|
The system notifies the user that the data has been retrieved from the ID card.
|
||||||
The full name and the personal identification number of the card’s owner is displayed.
|
The full name and the personal identification number of the card’s owner is displayed.
|
||||||
___
|
___
|
||||||
**Extension test cases**
|
**Extension test: ID card not detected**
|
||||||
**ID card not detected test:**
|
|
||||||
2. ...
|
2. ...
|
||||||
3. The user does not put the ID card against the phone during the next 90 seconds.
|
3. The user does not put the ID card against the phone during the next 90 seconds.
|
||||||
|
|
||||||
@ -30,7 +29,7 @@ ___
|
|||||||
The system notifies that ID card was not detected.
|
The system notifies that ID card was not detected.
|
||||||
The user is back on the home screen of the application.
|
The user is back on the home screen of the application.
|
||||||
___
|
___
|
||||||
**Invalid CAN entered test:**
|
**Extension test: Invalid CAN entered**
|
||||||
1. ...
|
1. ...
|
||||||
2. The user enters an invalid CAN (for example 000000).
|
2. The user enters an invalid CAN (for example 000000).
|
||||||
3. The user puts the ID card against the smartphone.
|
3. The user puts the ID card against the smartphone.
|
||||||
@ -41,7 +40,7 @@ ___
|
|||||||
The user is returned to the application’s home screen.
|
The user is returned to the application’s home screen.
|
||||||
___
|
___
|
||||||
_Currently not working! More details in release notes._
|
_Currently not working! More details in release notes._
|
||||||
**ID card removed from the smartphone before allowed:**
|
**Extension test: ID card removed from the smartphone before allowed**
|
||||||
2. ...
|
2. ...
|
||||||
3. The user puts the ID card against the smartphone and removes it immediately.
|
3. The user puts the ID card against the smartphone and removes it immediately.
|
||||||
|
|
||||||
@ -66,8 +65,7 @@ ___
|
|||||||
The system notifies the user that the CAN has been saved.
|
The system notifies the user that the CAN has been saved.
|
||||||
The CAN is saved and displayed to the user.
|
The CAN is saved and displayed to the user.
|
||||||
___
|
___
|
||||||
**Extension test cases**
|
**Extension test: Invalid CAN entered**
|
||||||
**Invalid CAN entered test:**
|
|
||||||
1. ...
|
1. ...
|
||||||
2. The user enters an invalid CAN (for example 000000).
|
2. The user enters an invalid CAN (for example 000000).
|
||||||
|
|
||||||
@ -83,7 +81,7 @@ A fine finger
|
|||||||
**Initial system state:**
|
**Initial system state:**
|
||||||
The user has enabled biometric authentication in the application’s settings.
|
The user has enabled biometric authentication in the application’s settings.
|
||||||
The user has saved a valid PIN 1 to the biometric authentication method.
|
The user has saved a valid PIN 1 to the biometric authentication method.
|
||||||
?The application has launched to authenticate the user and the user is shown a biometric authentication dialog.
|
The application has launched to authenticate the user and the user is shown a biometric authentication dialog.
|
||||||
___
|
___
|
||||||
**Main success scenario test:**
|
**Main success scenario test:**
|
||||||
1. The user touches a fingerprint sensor on the device.
|
1. The user touches a fingerprint sensor on the device.
|
||||||
@ -91,22 +89,24 @@ ___
|
|||||||
**Expected results:**
|
**Expected results:**
|
||||||
The fingerprint is detected and the application enters PIN 1 for the user automatically.
|
The fingerprint is detected and the application enters PIN 1 for the user automatically.
|
||||||
___
|
___
|
||||||
**Extension test cases**
|
**Extension test: Device's biometric authentication functionality is inaccessible**
|
||||||
**Device's biometric authentication functionality is inaccessible test:**
|
|
||||||
|
|
||||||
**Expected results:**
|
**Expected results:**
|
||||||
The system notifies the user that biometric authentication is currently unavailable.
|
The system notifies the user that biometric authentication is currently unavailable.
|
||||||
The user is asked to enter PIN 1 manually.
|
The user is asked to enter PIN 1 manually.
|
||||||
___
|
___
|
||||||
**Invalid fingerprint test:**
|
**Extension test: Invalid fingerprint**
|
||||||
1. ...
|
1. ...
|
||||||
|
|
||||||
**Expected results:**
|
**Expected results:**
|
||||||
The system notifies the user that biometric authentication has failed due to a non-matching fingerprint.
|
The system notifies the user that biometric authentication has failed due to a non-matching fingerprint.
|
||||||
The user is asked to enter PIN 1 manually.
|
The user is asked to enter PIN 1 manually.
|
||||||
___
|
___
|
||||||
**Invalid PIN 1 test:**
|
**Extension test: Invalid PIN 1**
|
||||||
1. ...
|
**Initial system state:**
|
||||||
|
The user has saved an invalid PIN 1 to the biometric authentication method.
|
||||||
|
|
||||||
|
1. ...
|
||||||
|
|
||||||
**Expected results:**
|
**Expected results:**
|
||||||
The system notifies the user that biometric authentication has failed, because the saved PIN 1 is invalid.
|
The system notifies the user that biometric authentication has failed, because the saved PIN 1 is invalid.
|
||||||
|
Loading…
Reference in New Issue
Block a user