Files
zapstore/maestro/update_flow_test.yaml
Henrique Velloso 9fd0eecb83 - Updated app ID references from dev.zapstore.alpha to dev.zapstore.app across multiple YAML flow files to standardize the application identifier.
- Added a new flow for setting up the Amber test account to streamline automated testing processes.
- Improved existing flows to handle various installation scenarios, including older version installations and update verifications.
- Introduced a new test script for bulk updating multiple apps, ensuring all updates are visible and handled correctly.
- Enhanced test specifications to reflect changes in app ID and flow behaviors, ensuring consistency in automated tests.
2026-02-18 20:24:52 -03:00

80 lines
1.9 KiB
YAML

appId: dev.zapstore.app
name: "Flotilla Update Flow Test"
tags:
- update
- android
---
# =============================================================
# Test: Install an older version of Flotilla, then verify it
# appears in the Updates tab with a newer version available.
#
# Prerequisites:
# - Amber signer app installed on the device
# - Device has internet connectivity
# - Fresh app start recommended:
# adb shell am start -S --activity-clear-task -n dev.zapstore.app/.MainActivity
# =============================================================
# ====== Step 1: Ensure user is signed in ======
- runFlow:
file: flows/sign_in_amber.yaml
- takeScreenshot: "01_signed_in.png"
# ====== Step 2: Baseline — verify Flotilla is NOT in Updates ======
- tapOn:
text: ".*Tab 2 of 3"
label: "Tap Updates tab"
- waitForAnimationToEnd
- assertNotVisible:
text: ".*Flotilla.*"
label: "Flotilla should NOT be in Updates before install"
- takeScreenshot: "02_updates_baseline.png"
# ====== Step 3: Search for Flotilla ======
- runFlow:
file: flows/search_app.yaml
env:
APP_SEARCH_TERM: "Flotilla"
APP_MATCH_TEXT: ".*Flotilla.*hodlbod.*"
- takeScreenshot: "03_flotilla_detail.png"
# ====== Step 4: Uninstall if already installed ======
- runFlow:
file: flows/uninstall_if_installed.yaml
- takeScreenshot: "04_after_uninstall_check.png"
# ====== Step 5: Install older version ======
- runFlow:
file: flows/install_older_version.yaml
- takeScreenshot: "05_after_install.png"
# ====== Step 6: Verify Flotilla appears in Updates ======
- tapOn:
text: ".*Tab 2 of 3"
label: "Tap Updates tab"
- waitForAnimationToEnd
- assertVisible:
text: ".*Flotilla.*"
label: "Flotilla should now appear in Updates after installing older version"
- assertVisible:
text: ".*Update All.*"
label: "Updates available with Update All button"
- takeScreenshot: "06_updates_with_flotilla.png"