diff --git a/flows/Mandatory_Backup.yaml b/flows/Mandatory_Backup.yaml new file mode 100644 index 0000000000..e72dc1a4fa --- /dev/null +++ b/flows/Mandatory_Backup.yaml @@ -0,0 +1,206 @@ +appId: io.hexawallet.keeper.development +--- + +- launchApp + + +################################## +# Enter Passcode (11111111) +################################## + +- assertVisible: + id: "key_1" + +- repeat: + times: 8 + commands: + - tapOn: + id: "key_1" + +- assertVisible: "Create" +- tapOn: "Create" + +################################## +# Remember Passcode Screen +################################## + +- assertVisible: "Remember your passcode" +- tapOn: "Back" + +################################## +# Back to Create Screen +################################## + +- assertVisible: "Create" +- tapOn: "Create" + +################################## +# Continue Screen +################################## + +- assertVisible: "Continue" +- tapOn: "Continue" + +################################## +# Enable Biometric Authentication +################################## + +- assertVisible: "Enable Biometric Authentication" +- tapOn: "Cancel" + +################################## +# Onboarding Screens +################################## + +- assertVisible: "Create wallets" + +- swipe: + start: 80%,50% + end: 10%,50% + +- assertVisible: "Manage keys" + +- swipe: + start: 80%,50% + end: 10%,50% + +- assertVisible: "Plan for Inheritance" + +################################## +# FAQs +################################## + +- tapOn: "See FAQs" +- back + +################################## +# Get Started +################################## + +- assertVisible: "Get Started" +- tapOn: "Get Started" + +################################## +# Welcome Screen +################################## + +- assertVisible: "Welcome to Bitcoin Keeper" +- tapOn: "Start New" + +################################## +# Final Modal +################################## + +- assertVisible: "Next" +- tapOn: "Next" + +################################## +# Home Screen +################################## +- assertVisible: "Set Up Wallet Recovery" + + +- assertVisible: "Backup Recovery Key" + + +#################################################### +# MANDATORY BACKUP FLOW +#################################################### + +- assertVisible: "Backup Recovery Key" +- tapOn: "Backup Recovery Key" + +################################## +# Confirm Passcode (1111) +################################## + +- assertVisible: "Confirm Passcode" + +- repeat: + times: 4 + commands: + - tapOn: + id: "key_1" + +- tapOn: + id: "btn_primaryText" + +################################## +# Cancel First Time +################################## + +- assertVisible: "Cancel" +- tapOn: "Cancel" + +################################## +# Try Switching Tab +################################## + +- tapOn: "Keys" + +################################## +# Mandatory Modal Again +################################## + +- assertVisible: "Set Up Wallet Recovery" +- tapOn: "Backup Recovery Key" + +################################## +# Confirm Passcode Again +################################## + +- repeat: + times: 4 + commands: + - tapOn: + id: "key_1" + +- tapOn: + id: "btn_primaryText" + +################################## +# Backup Now +################################## + +- assertVisible: "Backup Now" +- tapOn: "Backup Now" + +################################## +# Recovery Key Screen +################################## + +- assertVisible: "Recovery Key" + +- tapOn: { id: "text_seed_word_0" } +- tapOn: { id: "text_seed_word_1" } +- tapOn: { id: "text_seed_word_2" } +- tapOn: { id: "text_seed_word_3" } +- tapOn: { id: "text_seed_word_4" } +- tapOn: { id: "text_seed_word_5" } +- tapOn: { id: "text_seed_word_6" } +- tapOn: { id: "text_seed_word_7" } +- tapOn: { id: "text_seed_word_8" } +- tapOn: { id: "text_seed_word_9" } +- tapOn: { id: "text_seed_word_10" } +- tapOn: { id: "text_seed_word_11" } + +- tapOn: "Next" + +################################## +# Confirm Backup +################################## + +- assertVisible: "Confirm Backup" + +- tapOn: "Enter seed word" + +# ⚠ Replace with actual expected seed word +- inputText: "example" + +- tapOn: "Confirm" + +################################## +# Final Verification +################################## + +- assertVisible: "Keys" diff --git a/flows/add_singlesig_wallet.yaml b/flows/add_singlesig_wallet.yaml new file mode 100644 index 0000000000..939e05fece --- /dev/null +++ b/flows/add_singlesig_wallet.yaml @@ -0,0 +1,221 @@ +appId: io.hexawallet.keeper.development +--- +# Add Single Sig Wallet with Seed Key - Complete Flow + +######################################## +# Wallets Screen +######################################## +- assertVisible: + text: Wallets + index: 1 +- tapOn: + text: Wallets + index: 1 + +- assertVisible: + id: "btn_Add Wallet" + +- tapOn: + id: "btn_Add Wallet" + +######################################## +# Pick Wallet Type +######################################## + +- assertVisible: "Pick Your Wallet Type" +- assertVisible: "Bitcoin Wallet" +- tapOn: "Bitcoin Wallet" + +######################################## +# Add New Wallet +######################################## + +- assertVisible: "Add a New Wallet" +- tapOn: "Add a New Wallet" + +######################################## +# Create Wallet +######################################## + +- assertVisible: "Create Wallet" +- tapOn: "Create Wallet" + +######################################## +# Select Wallet Type +######################################## + +- assertVisible: "Select your wallet type" +- assertVisible: "Single-key" +- tapOn: "Single-key" + +- assertVisible: "Proceed" +- tapOn: "Proceed" + +######################################## +# Select Wallet Keys +######################################## + +- assertVisible: "Select your wallet keys" +- assertVisible: "Add a Key" +- tapOn: "Add a Key" + +######################################## +# Add Signer +######################################## + +- assertVisible: "Add a Signer" +- assertVisible: "Add a software key" +- tapOn: "Add a software key" + +######################################## +# Software Keys +######################################## + +- assertVisible: "Software Keys" +- assertVisible: "Seed Key" +- tapOn: "Seed Key" + +######################################## +# Add Seed Key +######################################## + +- assertVisible: "Add a Seed Key" +- assertVisible: "Create" +- tapOn: "Create" + +######################################## +# Create Seed Key +######################################## + +- assertVisible: "Create a Seed Key" +- assertVisible: "Proceed" +- tapOn: "Proceed" + +######################################## +# Reveal 12 Seed Words (Using Points) +######################################## + +- assertVisible: "Seed Key" + +# Row 1 +- tapOn: + point: "20%,35%" +- tapOn: + point: "50%,35%" +- tapOn: + point: "80%,35%" + +# Row 2 +- tapOn: + point: "20%,45%" +- tapOn: + point: "50%,45%" +- tapOn: + point: "80%,45%" + +# Row 3 +- tapOn: + point: "20%,55%" +- tapOn: + point: "50%,55%" +- tapOn: + point: "80%,55%" + +# Row 4 +- tapOn: + point: "20%,65%" +- tapOn: + point: "50%,65%" +- tapOn: + point: "80%,65%" + +- assertVisible: "Next" +- tapOn: "Next" + +######################################## +# Confirm Backup +######################################## + +- assertVisible: "Confirm Backup" +- tapOn: "Enter seed word" + +# 👉 Manually enter the requested seed word here + +- assertVisible: "Confirm" +- tapOn: "Confirm" + +######################################## +# Remember Seed Words Modal +######################################## + +- assertVisible: "Remember Seed Words?" +- assertVisible: "Skip" +- assertVisible: "Save" +- tapOn: "Save" + +######################################## +# Seed Key Added Successfully +######################################## + +- assertVisible: "Seed key Added Successfully!" +- assertVisible: "Cancel" +- assertVisible: "Add Description" + +- tapOn: "Cancel" + +######################################## +# Select Added Seed Key +######################################## + +- assertVisible: "Select your wallet keys" + +- assertVisible: + text: "Seed Key" + index: 0 + +- tapOn: + point: "87%,24%" + +- assertVisible: "Proceed" +- tapOn: "Proceed" + +######################################## +# Confirm Wallet Details +######################################## + +- assertVisible: "Confirm your wallet details" +- assertVisible: "Enter wallet name" + +- tapOn: "Enter wallet name" +- inputText: "My Single Sig Wallet" +- hideKeyboard + +######################################## +# Add Description +######################################## + +- assertVisible: "Add Description" +- tapOn: "Add Description" + +- assertVisible: "Add a description (Optional)" +- tapOn: "Add a description (Optional)" +- inputText: "Primary Bitcoin Wallet" +- hideKeyboard + +- assertVisible: "Save Changes" +- tapOn: "Save Changes" + +######################################## +# Create Wallet +######################################## + +- assertVisible: "Create Your Wallet" +- tapOn: "Create Your Wallet" + +######################################## +# Wallet Created +######################################## + +- assertVisible: "Wallet Created Successfully" +- assertVisible: "View Wallet" +- tapOn: "View Wallet" diff --git a/flows/create_passcode.yaml b/flows/create_passcode.yaml new file mode 100644 index 0000000000..41dc30af1c --- /dev/null +++ b/flows/create_passcode.yaml @@ -0,0 +1,4 @@ +appId: io.hexawallet.keeper.development +--- +[ launchApp, { assertVisible: { id: "key_1" } }, { repeat: { times: 8, commands: [ { tapOn: { id: "key_1" } } ] } }, { assertVisible: "Create" }, { tapOn: "Create" }, { assertVisible: "Remember your passcode" }, { tapOn: "Back" }, { assertVisible: "Remember your passcode" }, { tapOn: "Continue" }, { assertVisible: "Enable Biometric Authentication" }, { tapOn: "Cancel" }, { assertVisible: "Create wallets" }, { swipe: { start: "80%,50%", end: "10%,50%" } }, { assertVisible: "Manage keys" }, { swipe: { start: "80%,50%", end: "10%,50%" } }, { assertVisible: "Plan for Inheritance" }, { tapOn: "See FAQs" }, back, { assertVisible: "Get Started" }, { tapOn: "Get Started" }, { assertVisible: "Welcome to Bitcoin Keeper" }, { tapOn: "Start New" }, { assertVisible: "Next" }, { tapOn: "Next" }, { assertVisible: "Home" } ] + diff --git a/flows/create_wallet_onboarding.yaml b/flows/create_wallet_onboarding.yaml new file mode 100644 index 0000000000..e139fc1fa6 --- /dev/null +++ b/flows/create_wallet_onboarding.yaml @@ -0,0 +1,124 @@ +appId: io.hexawallet.keeper.development +--- + +################################## +# Launch App +################################## + +- launchApp + +################################## +# Enter Passcode (11111111) +################################## + +- assertVisible: + id: "key_1" + +- repeat: + times: 8 + commands: + - tapOn: + id: "key_1" + +# Tap Create (Primary Button) +- assertVisible: + id: "btn_primaryText" + +- tapOn: + id: "btn_primaryText" + +################################## +# Remember Passcode Screen +################################## + +- assertVisible: "Remember your passcode" + +# Tap Back +- tapOn: "Back" + +################################## +# Back To Passcode Screen +################################## + +# Primary button (Create) should be visible again +- assertVisible: + id: "btn_primaryText" + +# Tap Create again +- tapOn: + id: "btn_primaryText" + +################################## +# Continue Screen +################################## + +# Now Continue button appears +- assertVisible: "Continue" + +- tapOn: "Continue" + +################################## +# Enable Biometric Authentication +################################## + +- assertVisible: "Enable Biometric Authentication" + +# Skip biometric +- tapOn: "Cancel" + +################################## +# Onboarding Screens +################################## + +- assertVisible: "Create wallets" + +# Swipe to Manage Keys +- swipe: + start: 80%,50% + end: 10%,50% + +- assertVisible: "Manage keys" + +# Swipe to Plan for Inheritance +- swipe: + start: 80%,50% + end: 10%,50% + +- assertVisible: "Plan for Inheritance" + +################################## +# FAQs +################################## + +- assertVisible: "See FAQs" +- tapOn: "See FAQs" + +- back + +################################## +# Get Started +################################## + +- assertVisible: "Get Started" +- tapOn: "Get Started" + +################################## +# Welcome Screen +################################## + +- assertVisible: "Welcome to Bitcoin Keeper" + +- tapOn: "Start New" + +################################## +# Final Modal +################################## + +- assertVisible: "Next" +- tapOn: "Next" + +################################## +# Home Screen +################################## + +- assertVisible: "Home" diff --git a/flows/launch_success.png b/flows/launch_success.png new file mode 100644 index 0000000000..fc800e474f Binary files /dev/null and b/flows/launch_success.png differ