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

maestro new tests batch 2 (newtests2) #4505

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
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
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}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mutating tests must create new accounts.

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}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mutating tests must create new accounts.

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove 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"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There will be no ACH in 3.21

- 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
Loading