From 47dbf176da24613a51c6c7df77a455f6c849ef36 Mon Sep 17 00:00:00 2001 From: Carlosokumu Date: Wed, 12 Mar 2025 09:21:45 +0300 Subject: [PATCH] add my alias traversal test --- menutraversal_test/group_test.json | 33 ++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/menutraversal_test/group_test.json b/menutraversal_test/group_test.json index b3177a9..6f4accb 100644 --- a/menutraversal_test/group_test.json +++ b/menutraversal_test/group_test.json @@ -140,6 +140,39 @@ } ] }, + { + "name": "menu_my_account_my_alias", + "steps": [ + { + "input": "", + "expectedContent": "{balance}\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\n7:My Alias\n0:Back" + }, + { + "input": "", + "expectedContent": "My Account\n1:Profile\n2:Change language\n3:Check balances\n4:Check statement\n5:PIN options\n6:My Address\n7:My Alias\n0:Back" + }, + { + "input": "7", + "expectedContent": "Current alias: Not Provided\nEdit my alias:\n0:Back" + }, + { + "input": "foo", + "expectedContent": "Your full alias will be: \nPlease enter your PIN to confirm: \n\n0:Back" + }, + { + "input": "1234", + "expectedContent": "Your alias has been updated successfully\n0:Back\n9:Quit" + }, + { + "input": "0", + "expectedContent": "{balance}\n\n1:Send\n2:My Vouchers\n3:My Account\n4:Help\n9:Quit" + } + ] + }, { "name": "menu_my_account_reset_others_pin_with_unregistered_number", "steps": [