We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb95587 commit 2cf6f6aCopy full SHA for 2cf6f6a
1 file changed
e2e/demo_app/.maestro/commands/addMedia.yaml
@@ -6,13 +6,19 @@ tags:
6
7
- addMedia:
8
- ../assets/image.png
9
-
+
10
- launchApp: com.google.android.documentsui # Files app
11
12
-- tapOn: Show roots
13
-- tapOn: Images
14
-- tapOn: Pictures
15
-- assertVisible: image.png
+# The image is inserted into MediaStore immediately, but the Files app caches
+# its album listing and does not always re-query in time to show the new file.
+# Re-navigate into Pictures on each attempt so documentsui issues a fresh query.
+- retry:
16
+ maxRetries: 4
17
+ commands:
18
+ - tapOn: Show roots
19
+ - tapOn: Images
20
+ - tapOn: Pictures
21
+ - assertVisible: image.png
22
- longPressOn: image.png
23
- tapOn: Search # The picture of the bin...
24
- tapOn: OK
0 commit comments