Skip to content

Commit ee9c1c8

Browse files
committed
more changes to unread badge
1 parent 6f13320 commit ee9c1c8

File tree

1 file changed

+21
-9
lines changed

1 file changed

+21
-9
lines changed

.maestro/tests/room/unread-badge.yaml

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,13 @@ tags:
3030
timeout: 60000
3131
- tapOn:
3232
id: 'rooms-list-view-item-${output.otherUser.username}'
33-
- tapOn:
34-
id: header-back
35-
retryTapIfNoChange: true
33+
- repeat:
34+
while:
35+
notVisible:
36+
id: rooms-list-view-item-${output.otherUser.username}
37+
commands:
38+
- tapOn:
39+
id: header-back
3640
- extendedWaitUntil:
3741
notVisible:
3842
id: 'unread-badge-1'
@@ -54,9 +58,13 @@ tags:
5458
timeout: 60000
5559
- tapOn:
5660
id: 'rooms-list-view-item-${output.otherUser.username}'
57-
- tapOn:
58-
id: header-back
59-
retryTapIfNoChange: true
61+
- repeat:
62+
while:
63+
notVisible:
64+
id: rooms-list-view-item-${output.otherUser.username}
65+
commands:
66+
- tapOn:
67+
id: header-back
6068
- extendedWaitUntil:
6169
notVisible:
6270
id: 'mention-badge-1'
@@ -79,9 +87,13 @@ tags:
7987
timeout: 60000
8088
- tapOn:
8189
id: 'rooms-list-view-item-${output.otherUser.username}'
82-
- tapOn:
83-
id: header-back
84-
retryTapIfNoChange: true
90+
- repeat:
91+
while:
92+
notVisible:
93+
id: rooms-list-view-item-${output.otherUser.username}
94+
commands:
95+
- tapOn:
96+
id: header-back
8597
- extendedWaitUntil:
8698
notVisible:
8799
id: 'mention-badge-2'

0 commit comments

Comments
 (0)