updated send node #172

Merged
carlos merged 24 commits from send-node into master 2024-11-18 14:19:44 +01:00
Showing only changes of commit d3fae34290 - Show all commits

View File

@ -53,7 +53,7 @@
] ]
}, },
{ {
"name": "send_with_invalid_inputs", "name": "send_with_invite",
"steps": [ "steps": [
{ {
"input": "", "input": "",
@ -65,39 +65,19 @@
}, },
{ {
"input": "000", "input": "000",
"expectedContent": "000 is not registered or invalid, please try again:\n1:Retry\n9:Quit" "expectedContent": "000 is invalid, please try again:\n1:Retry\n9:Quit"
}, },
{ {
"input": "1", "input": "1",
"expectedContent": "Enter recipient's phone number:\n0:Back" "expectedContent": "Enter recipient's phone number:\n0:Back"
}, },
{ {
"input": "065656", "input": "0712345678",
"expectedContent": "{max_amount}\nEnter amount:\n0:Back" "expectedContent": "0712345678 is not registered, please try again:\n1:Retry\n2:Invite to Sarafu Network\n9:Quit"
}, },
{ {
"input": "10000000", "input": "2",
"expectedContent": "Amount 10000000 is invalid, please try again:\n1:Retry\n9:Quit" "expectedContent": "Your invite request for 0712345678 to Sarafu Network failed. Please try again later."
},
{
"input": "1",
"expectedContent": "{max_amount}\nEnter amount:\n0:Back"
},
{
"input": "1.00",
"expectedContent": "065656 will receive {send_amount} from {session_id}\nPlease enter your PIN to confirm:\n0:Back\n9:Quit"
},
{
"input": "1222",
"expectedContent": "Incorrect pin\n1:Retry\n9:Quit"
},
{
"input": "1",
"expectedContent": "065656 will receive {send_amount} from {session_id}\nPlease enter your PIN to confirm:\n0:Back\n9:Quit"
},
{
"input": "1234",
"expectedContent": "Your request has been sent. 065656 will receive {send_amount} from {session_id}."
} }
] ]
}, },