Skip to content

Commit e861ade

Browse files
committed
fix: gallery native widget test
1 parent 2019825 commit e861ade

1 file changed

Lines changed: 5 additions & 12 deletions

File tree

packages/pluggableWidgets/gallery-native/e2e/specs/maestro/Gallery_native_horizontal.yaml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,8 @@ appId: "${APP_ID}"
1010
text: "Gallery"
1111
- assertVisible:
1212
text: ".*Title 0.*"
13-
- repeat:
14-
times: 30
15-
commands:
16-
- runFlow:
17-
when:
18-
notVisible:
19-
text: ".*Title 20.*"
20-
commands:
21-
- swipe:
22-
direction: LEFT
23-
- assertVisible:
24-
text: ".*Title 20.*"
13+
- scrollUntilVisible:
14+
element:
15+
text: ".*Title 20.*"
16+
direction: LEFT
17+
timeout: 60000

0 commit comments

Comments
 (0)