feat(mobile): share history as Markdown or original audio and harden the E2E gate
Adds history share (Markdown file / original audio) with 12-locale strings, pins Maestro to the target device with --udid, allows cleartext only for explicit local E2E artifacts, and fixes small-screen scroll/keyboard races in the Maestro flows. Evidence: docs/evidence/2026-11-17-backlog-operations.md.
This commit is contained in:
parent
e0b1ceaa75
commit
8d8aaf5794
29 changed files with 627 additions and 26 deletions
|
|
@ -28,6 +28,8 @@ if [[ "$connected_devices" -ne 1 && -z "${ANDROID_SERIAL:-}" ]]; then
|
|||
exit 2
|
||||
fi
|
||||
adb get-state | grep -Fx 'device' >/dev/null
|
||||
target_serial="${ANDROID_SERIAL:-$(adb get-serialno)}"
|
||||
maestro_device_args=(--udid "$target_serial")
|
||||
|
||||
collect_evidence() {
|
||||
local gate_status="$1"
|
||||
|
|
@ -72,7 +74,7 @@ adb shell pm path "$PACKAGE_NAME" | grep -F "package:" >/dev/null
|
|||
run_flow() {
|
||||
local flow_name="$1"
|
||||
local flow_path="$2"
|
||||
"$MAESTRO_BIN" test "$flow_path" \
|
||||
"$MAESTRO_BIN" test "${maestro_device_args[@]}" "$flow_path" \
|
||||
--format JUNIT \
|
||||
--output "apps/mobile-rn/.maestro/${flow_name}.junit.xml" \
|
||||
--test-output-dir "$OUTPUT_ROOT/$flow_name"
|
||||
|
|
@ -89,7 +91,7 @@ adb shell wm size reset >/dev/null
|
|||
display_override_active='false'
|
||||
|
||||
if [[ -n "${MOBILE_E2E_EMAIL:-}" && -n "${MOBILE_E2E_PASSWORD:-}" ]]; then
|
||||
"$MAESTRO_BIN" test 'apps/mobile-rn/.maestro/authenticated-parity.yaml' \
|
||||
"$MAESTRO_BIN" test "${maestro_device_args[@]}" 'apps/mobile-rn/.maestro/authenticated-parity.yaml' \
|
||||
-e MOBILE_E2E_EMAIL="$MOBILE_E2E_EMAIL" \
|
||||
-e MOBILE_E2E_PASSWORD="$MOBILE_E2E_PASSWORD" \
|
||||
--format JUNIT \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue