diff --git a/scripts/taler-monitoring/android-test/run-goa-gui-chain.sh b/scripts/taler-monitoring/android-test/run-goa-gui-chain.sh index a1818d4..af48da6 100755 --- a/scripts/taler-monitoring/android-test/run-goa-gui-chain.sh +++ b/scripts/taler-monitoring/android-test/run-goa-gui-chain.sh @@ -299,6 +299,8 @@ for AMT in "${AMOUNTS[@]}"; do step "2.$idx withdraw $AMT" URI="$(mint_withdraw "$AMT" | head -1)" [[ -n "$URI" ]] || die "mint failed for $AMT" + # wallet / monitoring QR rules: strip default ports + URI=$(printf '%s' "$URI" | sed 's/:443\//\//g; s/:443?/?/g; s/:80\//\//g') info "URI=$URI" echo "$URI" >>"$SHOTDIR/withdraw-uris.txt" adb_sh am start -a android.intent.action.VIEW -d "$URI" "$PKG" >/dev/null @@ -326,6 +328,7 @@ for PAY in "${PAYS[@]}"; do continue fi [[ -n "$PAYURI" ]] || { info "empty pay uri — skip"; continue; } + PAYURI=$(printf '%s' "$PAYURI" | sed 's/:443\//\//g; s/:443?/?/g; s/:80\//\//g') info "PAYURI=$PAYURI" echo "$PAYURI" >>"$SHOTDIR/pay-uris.txt" adb_sh am start -a android.intent.action.VIEW -d "$PAYURI" "$PKG" >/dev/null