combine the invalid PIN case

This commit is contained in:
Alfred Kamanda 2024-10-03 12:51:03 +03:00
parent c965d3083d
commit 1b8c8a12c0
Signed by untrusted user: Alfred-mk
GPG Key ID: 7EA3D01708908703

View File

@ -179,38 +179,25 @@
"input": "2", "input": "2",
"expectedContent": "Please enter your PIN:" "expectedContent": "Please enter your PIN:"
}, },
{
"input": "1235",
"expectedContent": "Incorrect pin\n1:retry\n9:Quit"
},
{
"input": "1",
"expectedContent": "Please enter your PIN:"
},
{ {
"input": "1234", "input": "1234",
"expectedContent": "Select language:\n0:english\n1:kiswahili" "expectedContent": "Select language:\n0:english\n1:kiswahili"
}, },
{ {
"input": "1", "input": "0",
"expectedContent": "Ombi lako la kubadilisha lugha limefanikiwa.\n0:Rudi\n9:Ondoka" "expectedContent": "Your language change request was successful.\n0:Back\n9:Quit"
}, },
{ {
"input": "9", "input": "9",
"expectedContent": "Asante kwa kutumia huduma ya Sarafu. Kwaheri!" "expectedContent": "Thank you for using Sarafu. Goodbye!"
}
]
},
{
"name": "menu_my_account_language_change_incorectpin",
"steps": [
{
"input": "",
"expectedContent": "Balance: 0.003 CELO\n\n1:Send\n2:My Vouchers\n3:My Account\n4:Help\n9:Quit"
},
{
"input": "3",
"expectedContent": "My Account\n1:Profile\n2:Change language\n3:Check balances\n4:Check statement\n5:PIN options\n6:My Address\n0:Back"
},
{
"input": "2",
"expectedContent": "Please enter your PIN:"
},
{
"input": "1235",
"expectedContent": "Incorrect pin\n1:retry\n9:Quit"
} }
] ]
}, },