tests: update check for patch install in patch e2e tests
This commit is contained in:
@@ -53,10 +53,9 @@ shorebird patch android -v
|
|||||||
|
|
||||||
# Run the app on Android and ensure that the original print statement is printed.
|
# Run the app on Android and ensure that the original print statement is printed.
|
||||||
while IFS= read line; do
|
while IFS= read line; do
|
||||||
if [[ "$line" == *"I flutter : hello world"* ]]; then
|
if [[ "$line" == *"Patch 1 successfully installed"* ]]; then
|
||||||
sleep 5 # Wait for the patch to be installed.
|
|
||||||
adb kill-server
|
adb kill-server
|
||||||
echo "✅ 'hello world' was printed"
|
echo "✅ Patch 1 successfully installed"
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done < <(shorebird preview --release-version 0.1.0+1 --app-id $APP_ID --platform android)
|
done < <(shorebird preview --release-version 0.1.0+1 --app-id $APP_ID --platform android)
|
||||||
|
|||||||
Reference in New Issue
Block a user