diff --git a/Use-Case-Tests.md b/Use-Case-Tests.md index 618c209..52f5a46 100644 --- a/Use-Case-Tests.md +++ b/Use-Case-Tests.md @@ -347,3 +347,26 @@ ___ **Expected results:**  The application notifies the user that the PIN2 provided was incorrect.  The application cancels the authentication process and directs the user back to the requesting application. + +# **Test Case #9 (new)** +**Use Case being tested:** +[Use Case #12](https://github.com/TanelOrumaa/Estonian-ID-card-mobile-authenticator-POC/wiki/Use-Cases#use-case-12-new) : Save PIN 1 of the ID card on the phone +**Inputs:** +The PIN 1 of an ID card +**Initial system state:** +The application’s home screen is active. +___ +**Main success scenario test:** + 1. The user opens the app's settings and chooses to save the PIN 1 of the ID card. + 2. The user enters PIN 1 with a length 4..12. + 3. The user clicks on the 'continue' button. + +**Expected results:** + The application notifies the user that the PIN 1 has been saved. + The PIN 1 is saved. +___ +**Extension test:** Input length is not in range 4..12 + +**Expected results:** + The application notifies the user that input is does not meet PIN 1 length requirements. +