Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

userflows automation - f&f, login, signup, giftSats, home, settings #6571

Draft
wants to merge 16 commits into
base: development
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions android/.settings/org.eclipse.buildship.core.prefs
Original file line number Diff line number Diff line change
@@ -1,2 +1,13 @@
arguments=
auto.sync=false
build.scans.enabled=false
connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER)
connection.project.dir=
eclipse.preferences.version=1
gradle.user.home=
java.home=
jvm.arguments=
offline.mode=false
override.workspace.settings=false
show.console.view=false
show.executions.view=false
11 changes: 11 additions & 0 deletions android/app/.project
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,15 @@
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
<filteredResources>
<filter>
<id>1679415300110</id>
<name></name>
<type>30</type>
<matcher>
<id>org.eclipse.core.resources.regexFilterMatcher</id>
<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription>
60 changes: 60 additions & 0 deletions flows/f&f.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# f&f.yaml

# Add friends and Family to your list to be able to send SATS easily

appId: io.hexawallet.hexa.development
---
- runFlow: "login.yaml"
- tapOn: Freiend, tab, 2 of 4

#------------------------------------------------------------
# Create Invitation Link
#------------------------------------------------------------

- tapOn:
id: "+AddNewContact"
- tapOn: Anna Haro
- tapOn:
id: "confirmAndProceedButton"
- tapOn:
point: "45%,72%"

- tapOn:
id: "secureWithContactsPhoneNumber"
- tapOn:
point: "50%,27%"
- tapOn:
point: "50%,47%"
- tapOn:
point: "50%,67%"
- tapOn:
point: "10%,90%"

- tapOn: 

#------------------------------------------------------------
#Create Invitation Link with gift
#------------------------------------------------------------

- tapOn:
id: "+AddNewContact"
- tapOn: David Taylor
- tapOn:
id: "confirmAndProceedButton"

- tapOn:
point: "45%,85%"

- tapOn: Enter amount in sats
- tapOn: 1
- tapOn: 0
- tapOn: 0
- tapOn: 0
- tapOn:
text: 0
index: 0
- tapOn:
id: "UseSatcardToGiftSats"
- tapOn: Create Gifts
- tapOn: 
- tapOn: 
67 changes: 67 additions & 0 deletions flows/giftSats.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# giftSats.yaml

appId: io.hexawallet.hexa.development
---
- runFlow: "login.yaml"
- tapOn: Securiy, tab, 3 of 4

#------------------------------------------------------------
# Create New Gift
#------------------------------------------------------------

- tapOn:
id: "createNewGiftButton"
- tapOn:
point: "45%,85%"

- tapOn: Enter amount in sats
- tapOn: 1
- tapOn: 0
- tapOn: 0
- tapOn: 0
- tapOn:
text: 0
index: 0
- tapOn:
id: "UseSatcardToGiftSats"
- tapOn: Create Gift
- tapOn: 

#------------------------------------------------------------
# Available Gifts
#------------------------------------------------------------

- tapOn:
id: "availableGiftsButton"
- tapOn: Sent
- tapOn: Expired
- tapOn: Available
- tapOn:
id: "createNewButtonButton2"
- tapOn:
point: "45%,85%"

- tapOn: Enter amount in sats
- tapOn: 1
- tapOn: 0
- tapOn: 0
- tapOn: 0
- tapOn:
text: 0
index: 0
- tapOn:
id: "UseSatcardToGiftSats"
- tapOn: Create Gift
- tapOn: 
- tapOn: 

#------------------------------------------------------------
# Claim SATSCARD
#------------------------------------------------------------

- tapOn:
id: "claimSatscardButton"
- tapOn:
point: "67%,86%"
- tapOn:
point: "22%,88%"
100 changes: 100 additions & 0 deletions flows/home.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
# home.yaml

# Home Screen

appId: io.hexawallet.hexa.development
---
- runFlow: "login.yaml"

# Test Account

- tapOn:
id: "HomeAccountCard"
index: 0

# Add Lightning Wallet

- tapOn:
id: "AddLightningWalletButton"
- tapOn:
id: "EnterManuallyButton"
- tapOn:
id: "HostInput"
- inputText: "Sample Host"
- tapOn:
id: "PortInput"
- inputText: "Sample Port"
- tapOn:
id: "MacaroonHexInput"
- inputText: "Sample Macaroon Hex"
- tapOn:
id: "NodeConnectButton"
- tapOn: 
- tapOn: 

# Buy BTC

- tapOn:
id: "BuyBTCButton"
- tapOn:
id: "BuyBitcoinButton"
- tapOn: "Close"
- tapOn: "Close"

- tapOn:
id: notificationButton
- tapOn:
point: "91%,34%"

- tapOn:
id: navigateToQRScreen
- tapOn:
id: RNE__Input__text-input
- inputText: "1hsmMidMUjZt29p1eZik9Z83kMPos315Y"
- tapOn: Send Max
- inputText: "1"
- tapOn: Confirm & Proceed
- tapOn: Confirm & Send
- tapOn:
point: "63%,89%"
- tapOn: 

- tapOn:
id: navigateToQRScreen
- tapOn:
id: receiveBitcoinButton
- tapOn:
id: enterAmountToReceive
- tapOn:
point: "26%,77%"
- inputText: 10
- tapOn:
id: notificationButton
- tapOn:
point: "91%,34%"

- tapOn:
id: navigateToQRScreen
- tapOn:
id: RNE__Input__text-input
- inputText: "1hsmMidMUjZt29p1eZik9Z83kMPos315Y"
- tapOn: Send Max
- inputText: "1"
- tapOn: Confirm & Proceed
- tapOn: Confirm & Send
- tapOn:
point: "63%,89%"
- tapOn: 

- tapOn:
id: navigateToQRScreen
- tapOn:
id: receiveBitcoinButton
# - tapOn:
# id: enterAmountToReceive
# - tapOn:
# point: "26%,77%"
# - inputText: 10
# - tapOn:
# point: "26%,59%"

13 changes: 13 additions & 0 deletions flows/login.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#login.yaml

#Login Screen Flow

appId: io.hexawallet.hexa.development
---
- launchApp
- tapOn: "1"
- tapOn: "2"
- tapOn: "3"
- tapOn: "4"
- tapOn:
id: "ProceedButton"
94 changes: 94 additions & 0 deletions flows/recovery.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
# signup.yaml

# First time login

appId: io.hexawallet.hexa.development
---
- launchApp
- tapOn: "1"
- tapOn: "2"
- tapOn: "3"
- tapOn: "4"

- tapOn: "1"
- tapOn: "2"
- tapOn: "3"
- tapOn: "4"

- tapOn: Proceed


# --------- Recovery Using BackUp Phrase -----------

- tapOn:
id: UsingBackupPhraseButton

- tapOn: "01 Enter 1st word"
- inputText: "muffin"
- pressKey: Enter

- tapOn: 02 Enter 2nd word
- inputText: "jeans"
- pressKey: Enter

- tapOn: 03 Enter 3rd word
- inputText: "other"
- pressKey: Enter

- tapOn: 04 Enter 4th word
- inputText: "year"
- pressKey: Enter

- tapOn: 05 Enter 5th word
- inputText: "rare"
- pressKey: Enter

- tapOn: 06 Enter 6th word
- inputText: "prevent"
- pressKey: Enter

- tapOn: Next

- tapOn: "07 Enter 7th word"
- inputText: "message"
- pressKey: Enter

- tapOn: 08 Enter 8th word
- inputText: "symbol"
- pressKey: Enter

- tapOn: 09 Enter 9th word
- inputText: "pulse"
- pressKey: Enter

- tapOn: 10 Enter 10th word
- inputText: "fine"
- pressKey: Enter

- tapOn: 11 Enter 11th word
- inputText: "midnight"
- pressKey: Enter

- tapOn: 12 Enter 12th word
- inputText: "solar"
- pressKey: Enter

- tapOn: Proceed

# --------- Recovery Using Recovery Keys -----------

- tapOn:
id: UsingRecoveryKeysButton
- tapOn:
point: "50%,85%"

# --------- Start witha new Tribe Wallet -----------

- tapOn:
id: StartWithANewTribeWalletButton

- tapOn:
point: 50%,28%
- inputText: "Test"
- pressKey: Enter
- tapOn: Proceed
Loading