Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions mobile/tests/advanced/conditionals.probe
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
3 changes: 2 additions & 1 deletion mobile/tests/advanced/dart_escape.probe
Original file line number Diff line number Diff line change
@@ -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')
3 changes: 3 additions & 0 deletions mobile/tests/device/lifecycle.probe
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Loading