diff --git a/mobile/tests/advanced/conditionals.probe b/mobile/tests/advanced/conditionals.probe index c2243d8..ee93727 100644 --- a/mobile/tests/advanced/conditionals.probe +++ b/mobile/tests/advanced/conditionals.probe @@ -5,8 +5,10 @@ test "A/B banner conditional" wait 1 seconds tap "Dynamic" wait 2 seconds - if "Special Offer!" appears then tap "Special Offer!" - else see "Dynamic" + if "Special Offer!" appears + tap "Special Offer!" + else + see "Dynamic" see "Dynamic" test "error dialog conditional" @@ -18,5 +20,7 @@ test "error dialog conditional" wait 2 seconds tap #trigger_error wait 1 seconds - if "Error" appears then tap "OK" - else see "Dynamic" + if "Error" appears + tap "OK" + else + see "Dynamic" diff --git a/mobile/tests/advanced/dart_escape.probe b/mobile/tests/advanced/dart_escape.probe index 5f26997..7929918 100644 --- a/mobile/tests/advanced/dart_escape.probe +++ b/mobile/tests/advanced/dart_escape.probe @@ -1,4 +1,5 @@ test "run inline dart code" restart the app wait 5 seconds - run dart: print('hello from dart') + run dart: + print('hello from dart') diff --git a/mobile/tests/device/lifecycle.probe b/mobile/tests/device/lifecycle.probe index bf7269a..1a3857d 100644 --- a/mobile/tests/device/lifecycle.probe +++ b/mobile/tests/device/lifecycle.probe @@ -1,3 +1,6 @@ +# Run with -y (--yes): "clear app data" is a destructive operation, and the CLI refuses it without the flag. +# The run command in the repo-root README.md already passes -y. + test "restart app preserves state" @device @lifecycle restart the app