tests: update check for patch install in patch e2e tests

This commit is contained in:
Bryan Oltman
2024-04-26 11:31:38 -04:00
parent 0bce77cc69
commit 9aa940e43e
+2 -3
View File
@@ -53,10 +53,9 @@ shorebird patch android -v
# Run the app on Android and ensure that the original print statement is printed.
while IFS= read line; do
if [[ "$line" == *"I flutter : hello world"* ]]; then
sleep 5 # Wait for the patch to be installed.
if [[ "$line" == *"Patch 1 successfully installed"* ]]; then
adb kill-server
echo "✅ 'hello world' was printed"
echo "✅ Patch 1 successfully installed"
break
fi
done < <(shorebird preview --release-version 0.1.0+1 --app-id $APP_ID --platform android)