mirror of
https://github.com/TanelOrumaa/Estonian-ID-card-mobile-authenticator-POC.git
synced 2024-11-22 13:51:00 +02:00
Test cases wiki page created.
parent
2b36f5d8f4
commit
ebc2223b68
47
Use-Case-Tests.md
Normal file
47
Use-Case-Tests.md
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
_NB! Notation info: ... in the extension test cases means that the steps up to this point are same as in the main success scenario test case._
|
||||||
|
# **Test Case #1**
|
||||||
|
**Use Case being tested:**
|
||||||
|
Use Case #5
|
||||||
|
**Use Case description:**
|
||||||
|
Displaying the public information of the ID card in the authentication application
|
||||||
|
**Inputs:**
|
||||||
|
A valid Estonian ID card with a NFC interface
|
||||||
|
The CAN (Card Authentication Number) of the the ID card
|
||||||
|
**Initial system state:**
|
||||||
|
The application’s home screen is opened.
|
||||||
|
The NFC connection is enabled on the smartphone and the system has permission to use it.
|
||||||
|
___
|
||||||
|
**Main success scenario test:**
|
||||||
|
1. The user starts the process to read information from the ID card.
|
||||||
|
2. The user enters the valid CAN.
|
||||||
|
3. The user puts the ID card against the smartphone.
|
||||||
|
|
||||||
|
**Expected results:**
|
||||||
|
The system notifies that the data has been retrieved from the card.
|
||||||
|
The full name and the personal identification number of the card’s owner is displayed.
|
||||||
|
___
|
||||||
|
**Extension test cases**
|
||||||
|
**ID card not detected test:**
|
||||||
|
2. ...
|
||||||
|
3. The user does not put the ID card against the phone during the next 90 seconds.
|
||||||
|
|
||||||
|
**Expected results:**
|
||||||
|
The system notifies that ID card was not detected.
|
||||||
|
The user is back on the home screen of the application.
|
||||||
|
___
|
||||||
|
**Invalid CAN entered test:**
|
||||||
|
1. ...
|
||||||
|
2. The user enters an invalid CAN (for example 000000).
|
||||||
|
3. The user puts the ID card against the smartphone.
|
||||||
|
|
||||||
|
**Expected results:**
|
||||||
|
The system notifies the user that the CAN was invalid.
|
||||||
|
The user is returned to the application’s home screen.
|
||||||
|
___
|
||||||
|
**ID card removed from the smartphone before allowed:**
|
||||||
|
2. ...
|
||||||
|
3. The user puts the ID card against the smartphone and removes it immediately.
|
||||||
|
|
||||||
|
**Expected results:**
|
||||||
|
The system notifies the user that connection to the ID card was lost.
|
||||||
|
The user is returned to the application’s home screen.
|
Loading…
Reference in New Issue
Block a user