2024-09-30 12:25:38 +02:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "session one",
|
|
|
|
"groups": [
|
|
|
|
{
|
|
|
|
"name": "account_creation_successful",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"input": "",
|
|
|
|
"expectedContent": "Welcome to Sarafu Network\nPlease select a language\n0:english\n1:kiswahili"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"input": "0",
|
|
|
|
"expectedContent": "Do you agree to terms and conditions?\n0:yes\n1:no"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"input": "0",
|
|
|
|
"expectedContent": "Please enter a new four number PIN for your account:\n0:Exit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"input": "1234",
|
|
|
|
"expectedContent": "Enter your four number PIN again:"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"input": "1234",
|
2024-09-30 15:05:14 +02:00
|
|
|
"expectedContent": "Your account is being created...Thank you for using Sarafu. Goodbye!"
|
2024-09-30 12:25:38 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "account_creation_accept_terms",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"input": "",
|
|
|
|
"expectedContent": "Welcome to Sarafu Network\nPlease select a language\n0:english\n1:kiswahili"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"input": "0",
|
|
|
|
"expectedContent": "Do you agree to terms and conditions?\n0:yes\n1:no"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"input": "0",
|
|
|
|
"expectedContent": "Please enter a new four number PIN for your account:\n0:Exit"
|
|
|
|
}
|
|
|
|
|
2024-09-30 15:05:14 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "account_creation_reject_terms",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"input": "",
|
|
|
|
"expectedContent": "Welcome to Sarafu Network\nPlease select a language\n0:english\n1:kiswahili"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"input": "0",
|
|
|
|
"expectedContent": "Do you agree to terms and conditions?\n0:yes\n1:no"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"input": "1",
|
|
|
|
"expectedContent": "Thank you for using Sarafu. Goodbye!"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "account_creation_invalid_pin",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"input": "",
|
|
|
|
"expectedContent": "Welcome to Sarafu Network\nPlease select a language\n0:english\n1:kiswahili"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"input": "0",
|
|
|
|
"expectedContent": "Do you agree to terms and conditions?\n0:yes\n1:no"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"input": "0",
|
|
|
|
"expectedContent": "Please enter a new four number PIN for your account:\n0:Exit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"input": "1234",
|
|
|
|
"expectedContent": "Enter your four number PIN again:"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"input": "1111",
|
|
|
|
"expectedContent": "The PIN is not a match. Try again\n1:retry\n9:Quit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"input": "1",
|
|
|
|
"expectedContent": "Enter your four number PIN again:"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"input": "1234",
|
|
|
|
"expectedContent": "Your account is being created...Thank you for using Sarafu. Goodbye!"
|
|
|
|
}
|
|
|
|
|
2024-09-30 12:25:38 +02:00
|
|
|
]
|
2024-10-01 12:15:05 +02:00
|
|
|
},
|
|
|
|
{
|
2024-10-01 12:26:47 +02:00
|
|
|
"name": "send_with_invalid_inputs",
|
2024-10-01 12:15:05 +02:00
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"input": "",
|
|
|
|
"expectedContent": "Balance: 0.003 CELO\n\n1:Send\n2:My Vouchers\n3:My Account\n4:Help\n9:Quit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"input": "1",
|
|
|
|
"expectedContent": "Enter recipient's phone number:\n0:Back"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"input": "000",
|
|
|
|
"expectedContent": "000 is not registered or invalid, please try again:\n1:retry\n9:Quit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"input": "1",
|
|
|
|
"expectedContent": "Enter recipient's phone number:\n0:Back"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"input": "065656",
|
|
|
|
"expectedContent": "Maximum amount: 0.003 CELO\nEnter amount:\n0:Back"
|
|
|
|
},
|
2024-10-01 12:26:47 +02:00
|
|
|
{
|
|
|
|
"input": "0.1",
|
|
|
|
"expectedContent": "Amount 0.1 is invalid, please try again:\n1:retry\n9:Quit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"input": "1",
|
|
|
|
"expectedContent": "Maximum amount: 0.003 CELO\nEnter amount:\n0:Back"
|
|
|
|
},
|
2024-10-01 12:15:05 +02:00
|
|
|
{
|
|
|
|
"input": "0.001",
|
2024-10-01 13:50:45 +02:00
|
|
|
"expectedContent": "065656 will receive 0.001 from {public_key}\nPlease enter your PIN to confirm:\n0:Back\n9:Quit"
|
2024-10-01 12:15:05 +02:00
|
|
|
},
|
2024-10-01 12:26:47 +02:00
|
|
|
{
|
|
|
|
"input": "1222",
|
|
|
|
"expectedContent": "Incorrect pin\n1:retry\n9:Quit"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"input": "1",
|
2024-10-01 13:50:45 +02:00
|
|
|
"expectedContent": "065656 will receive 0.001 from {public_key}\nPlease enter your PIN to confirm:\n0:Back\n9:Quit"
|
2024-10-01 12:26:47 +02:00
|
|
|
},
|
2024-10-01 12:15:05 +02:00
|
|
|
{
|
|
|
|
"input": "1234",
|
2024-10-01 13:50:45 +02:00
|
|
|
"expectedContent": "Your request has been sent. 065656 will receive 0.001 from {public_key}."
|
2024-10-01 12:15:05 +02:00
|
|
|
}
|
|
|
|
]
|
2024-09-30 12:25:38 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|