Skip to content

Commit

Permalink
maestro new tests batch 2
Browse files Browse the repository at this point in the history
fix dot to include all tag
  • Loading branch information
rjrs2k authored and paullinator committed Oct 20, 2023
1 parent 6a1087f commit ba4b74e
Show file tree
Hide file tree
Showing 16 changed files with 771 additions and 2 deletions.
72 changes: 72 additions & 0 deletions maestro/04-change-account/C702-change-pw.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# Priority: Critical
# Test ID: C702
# Title: Change PW - Able to change PW and login
# Expected Result:
# 1. Able to change PW and login with new PW and then set to old PW and login with old PW

appId: ${MAESTRO_APP_ID}
tags:
- android
- C702
---
- runFlow:
file: ../common/launch-cleared.yaml
- runFlow:
file: ../common/login-password.yaml
env:
USERNAME: ${MAESTRO_EDGE_MUTATE_CHANGEPW_USERNAME}
PASSWORD: ${MAESTRO_EDGE_MUTATE_CHANGEPW_PASSWORD}

- extendedWaitUntil:
visible: "Wallets"
timeout: 120000
- tapOn:
id: "sideMenuButton"
- tapOn: "Settings"
- tapOn: "Tap to Unlock Account Settings"
- inputText: "Bluetable01"
- tapOn: "Submit"
- tapOn: "Change Password"
- inputText: "Bluetable02"
- tapOn: "Confirm Password"
- inputText: "Bluetable02"
- tapOn: "Back"
- tapOn: "Done"
- assertVisible: "Password Changed"
- tapOn: "OK"
- tapOn:
id: "sideMenuButton"
- tapOn: "Logout"
- tapOn: "Exit PIN"
- tapOn: "Password"
- inputText: "Bluetable02"
- tapOn: "Login"
- extendedWaitUntil:
visible: "Wallets"
timeout: 120000
- tapOn:
id: "sideMenuButton"
- tapOn: "Settings"
- tapOn: "Tap to Unlock Account Settings"
- inputText: "Bluetable02"
- tapOn: "Submit"
- tapOn: "Change Password"
- inputText: "Bluetable01"
- tapOn: "Confirm Password"
- inputText: "Bluetable01"
- tapOn: "Back"
- tapOn: "Done"
- assertVisible: "Password Changed"
- tapOn: "OK"
- tapOn:
id: "sideMenuButton"
- tapOn: "Logout"
- tapOn: "Exit PIN"
- tapOn: "Password"
- inputText: "Bluetable01"
- tapOn: "Login"
- extendedWaitUntil:
visible: "Wallets"
timeout: 120000

- stopApp
73 changes: 73 additions & 0 deletions maestro/04-change-account/C703-change-pin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Priority: Critical
# Test ID: C703
# Title: Change PIN - Able to change PIN and login
# Expected Result:
# 1. Able to change PIN and login with new PIN and then set to old PIN and login with old PIN

appId: ${MAESTRO_APP_ID}
tags:
- android
- C703
---
- runFlow:
file: ../common/launch-cleared.yaml
- runFlow:
file: ../common/login-password.yaml
env:
USERNAME: ${MAESTRO_EDGE_MUTATE_CHANGEPIN_USERNAME}
PASSWORD: ${MAESTRO_EDGE_MUTATE_CHANGEPIN_PASSWORD}

- extendedWaitUntil:
visible: "Wallets"
timeout: 120000
- tapOn:
id: "sideMenuButton"
- tapOn: "Settings"
- tapOn: "Tap to Unlock Account Settings"
- inputText: "Bluetable01"
- tapOn: "Submit"
- tapOn: "Change PIN"
- tapOn: "2"
- tapOn: "2"
- tapOn: "2"
- tapOn: "2"
- tapOn: "Back"
- tapOn: "Done"
- assertVisible: "PIN Changed"
- tapOn: "OK"
- tapOn:
id: "sideMenuButton"
- tapOn: "Logout"
- tapOn: "2"
- tapOn: "2"
- tapOn: "2"
- tapOn: "2"
- extendedWaitUntil:
visible: "Wallets"
timeout: 120000
- tapOn:
id: "sideMenuButton"
- tapOn: "Settings"
- tapOn: "Tap to Unlock Account Settings"
- inputText: "Bluetable01"
- tapOn: "Submit"
- tapOn: "Change PIN"
- tapOn: "1"
- tapOn: "1"
- tapOn: "1"
- tapOn: "1"
- tapOn: "Back"
- tapOn: "Done"
- tapOn: "OK"
- tapOn:
id: "sideMenuButton"
- tapOn: "Logout"
- tapOn: "1"
- tapOn: "1"
- tapOn: "1"
- tapOn: "1"
- extendedWaitUntil:
visible: "Wallets"
timeout: 120000

- stopApp
83 changes: 83 additions & 0 deletions maestro/09-buy-sell/C826-usa-buy-no-crash.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# Priority: Critical
# Test ID: C826
# Title: Buy Scene - No crash going into each USA supported Buy Partner
# Expected Result:
# 1. User is able to access each supported Buy Partner in the USA without crashing

appId: ${MAESTRO_APP_ID}
tags:
- android
- C826
---
- runFlow:
file: ../common/launch-cleared.yaml
- runFlow:
file: ../common/login-password.yaml
env:
USERNAME: ${MAESTRO_EDGE_USA_PARTNERS_USERNAME}
PASSWORD: ${MAESTRO_EDGE_USA_PARTNERS_PASSWORD}

- extendedWaitUntil:
visible: Buy
timeout: 120000
- tapOn: "Buy"
- extendedWaitUntil:
visible: Google Pay
timeout: 120000
- tapOn: "Google Pay"
- extendedWaitUntil:
visible: My Bitcoin
timeout: 120000
- tapOn: "My Bitcoin"
- tapOn: "Tap to Change Provider"
- extendedWaitUntil:
visible: Simplex
timeout: 120000
- tapOn:
text: "Simplex"
index: 0
- tapOn: "Next"
- extendedWaitUntil:
visible: Order Summary
timeout: 120000
- tapOn: "Close tab"
- tapOn: "Tap to Change Provider"
- tapOn: "Moonpay"
- tapOn: "Next"
- assertVisible: "Checkout with MoonPay"
- tapOn: "Close tab"
- tapOn: "Tap to Change Provider"
- tapOn: "Banxa"
- tapOn: "Next"
- assertVisible: "Let's verify your details."
- tapOn: "Close tab"
- tapOn:
id: "chevronBack"
- tapOn: "Credit and Debit Card"
- tapOn: "My Bitcoin"
- tapOn: "Tap to Change Provider"
- tapOn:
text: "Simplex"
index: 0
- tapOn: "Next"
- assertVisible: "Order summary"
- tapOn: "Close tab"
- tapOn: "Tap to Change Provider"
- tapOn: "Moonpay"
- tapOn: "Next"
- assertVisible: "Checkout with MoonPay"
- tapOn: "Close tab"
- tapOn: "Tap to Change Provider"
- tapOn: "Banxa"
- tapOn: "Next"
- assertVisible: "Let's verify your details."
- tapOn: "Close tab"
- tapOn:
id: "chevronBack"
- tapOn: "In-person Cash and Debit Card"
- assertVisible: "LibertyX"
- tapOn:
id: "chevronBack"
- assertVisible: "Buy Cryptocurrency"

- stopApp
42 changes: 42 additions & 0 deletions maestro/09-buy-sell/C827-usa-sell-no-crash.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Priority: Critical
# Test ID: C827
# Title: Buy Scene - No crash going into each USA supported Sell Partner
# Expected Result:
# 1. User is able to access each supported Sell Partner in the USA without crashing

appId: ${MAESTRO_APP_ID}
tags:
- android
- C826
---
- runFlow:
file: ../common/launch-cleared.yaml
- runFlow:
file: ../common/login-password.yaml
env:
USERNAME: ${MAESTRO_EDGE_USA_PARTNERS_USERNAME}
PASSWORD: ${MAESTRO_EDGE_USA_PARTNERS_PASSWORD}

- extendedWaitUntil:
visible: Sell
timeout: 120000
- tapOn: "Sell"
- extendedWaitUntil:
visible: Sell Cryptocurrency
timeout: 120000
- tapOn: "ACH Bank Transfer"
- extendedWaitUntil:
visible: MoonPay
timeout: 120000
- tapOn:
id: "chevronBack"
- assertVisible: "Sell Cryptocurrency"
- tapOn: "Gift Cards"
- extendedWaitUntil:
visible: "Bitrefill"
timeout: 120000
- tapOn:
id: "chevronBack"
- assertVisible: "Sell Cryptocurrency"

- stopApp
Loading

0 comments on commit ba4b74e

Please sign in to comment.