Skip to content
Closed
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
24 changes: 8 additions & 16 deletions packages/rn-tester/.maestro/flatlist-append-maintainvisible.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,14 @@ tags:
- setOrientation: portrait
- waitForAnimationToEnd:
timeout: 3000
# Find test
- assertVisible: 'Components'
- scrollUntilVisible:
element:
id: 'FlatList'
direction: DOWN
speed: 40
- tapOn:
id: 'FlatList'
- scrollUntilVisible:
element:
id: 'maintainVisibleContentPosition'
direction: DOWN
speed: 40
- tapOn:
id: 'maintainVisibleContentPosition'
# Open the example directly instead of scrolling through the list
- stopApp
- openLink: rntester://example/FlatListExample/maintainVisibleContentPosition
- runFlow: ./helpers/confirm-open-link.yml
- extendedWaitUntil:
visible:
id: 'scroll-offset-display'
timeout: 120000
# Scroll to offset 500
- tapOn:
text: 'ScrollToOffset 500'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,18 @@ tags:
- release-only
---
- launchApp
# Change to portrait
- setOrientation: portrait
- waitForAnimationToEnd:
timeout: 3000
- assertVisible: 'Components'
- scrollUntilVisible:
element:
id: 'FlatList'
direction: DOWN
speed: 40
- tapOn:
id: 'FlatList'
- scrollUntilVisible:
element:
id: 'maintainVisibleContentPosition'
direction: DOWN
speed: 40
- tapOn:
id: 'maintainVisibleContentPosition'
# Open the example directly instead of scrolling through the list
- stopApp
- openLink: rntester://example/FlatListExample/maintainVisibleContentPosition
- runFlow: ./helpers/confirm-open-link.yml
- extendedWaitUntil:
visible:
id: 'scroll-offset-display'
timeout: 120000
# Scroll to offset 200
- tapOn:
text: 'ScrollToOffset 100'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,18 @@ tags:
- release-only
---
- launchApp
# Change to portrait
- setOrientation: portrait
- waitForAnimationToEnd:
timeout: 3000
- assertVisible: 'Components'
- scrollUntilVisible:
element:
id: 'FlatList'
direction: DOWN
speed: 40
- tapOn:
id: 'FlatList'
- scrollUntilVisible:
element:
id: 'maintainVisibleContentPosition'
direction: DOWN
speed: 40
- tapOn:
id: 'maintainVisibleContentPosition'
# Open the example directly instead of scrolling through the list
- stopApp
- openLink: rntester://example/FlatListExample/maintainVisibleContentPosition
- runFlow: ./helpers/confirm-open-link.yml
- extendedWaitUntil:
visible:
id: 'scroll-offset-display'
timeout: 120000
# Scroll to offset 200 (item 5 should be visible)
- tapOn:
text: 'ScrollToOffset 100'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,18 @@ tags:
- release-only
---
- launchApp
# Change to portrait
- setOrientation: portrait
- waitForAnimationToEnd:
timeout: 3000
- assertVisible: 'Components'
- scrollUntilVisible:
element:
id: 'FlatList'
direction: DOWN
speed: 40
- tapOn:
id: 'FlatList'
- scrollUntilVisible:
element:
id: 'maintainVisibleContentPosition'
direction: DOWN
speed: 40
- tapOn:
id: 'maintainVisibleContentPosition'
# Open the example directly instead of scrolling through the list
- stopApp
- openLink: rntester://example/FlatListExample/maintainVisibleContentPosition
- runFlow: ./helpers/confirm-open-link.yml
- extendedWaitUntil:
visible:
id: 'scroll-offset-display'
timeout: 120000
# Scroll to offset 400 (item 10 should be visible)
- tapOn:
text: 'ScrollToOffset 500'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,14 @@ tags:
- setOrientation: portrait
- waitForAnimationToEnd:
timeout: 3000
# Find test
- assertVisible: 'Components'
- scrollUntilVisible:
element:
id: 'FlatList'
direction: DOWN
speed: 40
- tapOn:
id: 'FlatList'
- scrollUntilVisible:
element:
id: 'maintainVisibleContentPosition'
direction: DOWN
speed: 40
- tapOn:
id: 'maintainVisibleContentPosition'
# Open the example directly instead of scrolling through the list
- stopApp
- openLink: rntester://example/FlatListExample/maintainVisibleContentPosition
- runFlow: ./helpers/confirm-open-link.yml
- extendedWaitUntil:
visible:
id: 'scroll-offset-display'
timeout: 120000
# Scroll to item 10
- tapOn:
text: 'ScrollToOffset 500'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,14 @@ tags:
- setOrientation: portrait
- waitForAnimationToEnd:
timeout: 3000
# Find test

- assertVisible: 'Components'
- scrollUntilVisible:
element:
id: 'FlatList'
direction: DOWN
speed: 40
- tapOn:
id: 'FlatList'
- scrollUntilVisible:
element:
id: 'maintainVisibleContentPosition'
direction: DOWN
speed: 40
- tapOn:
id: 'maintainVisibleContentPosition'
# Open the example directly instead of scrolling through the list
- stopApp
- openLink: rntester://example/FlatListExample/maintainVisibleContentPosition
- runFlow: ./helpers/confirm-open-link.yml
- extendedWaitUntil:
visible:
id: 'scroll-offset-display'
timeout: 120000
# Scroll to offset 500
- tapOn:
text: 'ScrollToOffset 500'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,18 @@ tags:
- release-only
---
- launchApp
# Change to portrait
- setOrientation: portrait
- waitForAnimationToEnd:
timeout: 3000
- assertVisible: 'Components'
- scrollUntilVisible:
element:
id: 'FlatList'
direction: DOWN
speed: 40
- tapOn:
id: 'FlatList'
- scrollUntilVisible:
element:
id: 'maintainVisibleContentPosition'
direction: DOWN
speed: 40
- tapOn:
id: 'maintainVisibleContentPosition'
# Open the example directly instead of scrolling through the list
- stopApp
- openLink: rntester://example/FlatListExample/maintainVisibleContentPosition
- runFlow: ./helpers/confirm-open-link.yml
- extendedWaitUntil:
visible:
id: 'scroll-offset-display'
timeout: 120000
# Enable horizontal mode
- tapOn:
text: 'Horizontal: OFF'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,14 @@ tags:
- setOrientation: portrait
- waitForAnimationToEnd:
timeout: 3000
# Find test
- assertVisible: 'Components'
- scrollUntilVisible:
element:
id: 'FlatList'
direction: DOWN
speed: 40
- tapOn:
id: 'FlatList'
- scrollUntilVisible:
element:
id: 'maintainVisibleContentPosition'
direction: DOWN
speed: 40
- tapOn:
id: 'maintainVisibleContentPosition'
# Open the example directly instead of scrolling through the list
- stopApp
- openLink: rntester://example/FlatListExample/maintainVisibleContentPosition
- runFlow: ./helpers/confirm-open-link.yml
- extendedWaitUntil:
visible:
id: 'scroll-offset-display'
timeout: 120000
# Enable horizontal mode
- tapOn:
text: 'Horizontal: OFF'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,14 @@ tags:
- setOrientation: portrait
- waitForAnimationToEnd:
timeout: 3000
# Find test
- assertVisible: 'Components'
- scrollUntilVisible:
element:
id: 'FlatList'
direction: DOWN
speed: 40
- tapOn:
id: 'FlatList'
- scrollUntilVisible:
element:
id: 'maintainVisibleContentPosition'
direction: DOWN
speed: 40
- tapOn:
id: 'maintainVisibleContentPosition'
# Open the example directly instead of scrolling through the list
- stopApp
- openLink: rntester://example/FlatListExample/maintainVisibleContentPosition
- runFlow: ./helpers/confirm-open-link.yml
- extendedWaitUntil:
visible:
id: 'scroll-offset-display'
timeout: 120000
# Enable both horizontal and inverted mode
- tapOn:
text: 'Horizontal: OFF'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,14 @@ tags:
- setOrientation: portrait
- waitForAnimationToEnd:
timeout: 3000
# Find test
- assertVisible: 'Components'
- scrollUntilVisible:
element:
id: 'FlatList'
direction: DOWN
speed: 40
- tapOn:
id: 'FlatList'
- scrollUntilVisible:
element:
id: 'maintainVisibleContentPosition'
direction: DOWN
speed: 40
- tapOn:
id: 'maintainVisibleContentPosition'
# Open the example directly instead of scrolling through the list
- stopApp
- openLink: rntester://example/FlatListExample/maintainVisibleContentPosition
- runFlow: ./helpers/confirm-open-link.yml
- extendedWaitUntil:
visible:
id: 'scroll-offset-display'
timeout: 120000
# Enable horizontal mode
- tapOn:
text: 'Horizontal: OFF'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,14 @@ tags:
- setOrientation: portrait
- waitForAnimationToEnd:
timeout: 3000
# Find test
- assertVisible: 'Components'
- scrollUntilVisible:
element:
id: 'FlatList'
direction: DOWN
speed: 40
- tapOn:
id: 'FlatList'
- scrollUntilVisible:
element:
id: 'maintainVisibleContentPosition'
direction: DOWN
speed: 40
- tapOn:
id: 'maintainVisibleContentPosition'
# Open the example directly instead of scrolling through the list
- stopApp
- openLink: rntester://example/FlatListExample/maintainVisibleContentPosition
- runFlow: ./helpers/confirm-open-link.yml
- extendedWaitUntil:
visible:
id: 'scroll-offset-display'
timeout: 120000
# Enable horizontal mode
- tapOn:
text: 'Horizontal: OFF'
Expand Down
24 changes: 8 additions & 16 deletions packages/rn-tester/.maestro/flatlist-inverted-maintainvisible.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,14 @@ tags:
- setOrientation: portrait
- waitForAnimationToEnd:
timeout: 3000
# Find test
- assertVisible: 'Components'
- scrollUntilVisible:
element:
id: 'FlatList'
direction: DOWN
speed: 40
- tapOn:
id: 'FlatList'
- scrollUntilVisible:
element:
id: 'maintainVisibleContentPosition'
direction: DOWN
speed: 40
- tapOn:
id: 'maintainVisibleContentPosition'
# Open the example directly instead of scrolling through the list
- stopApp
- openLink: rntester://example/FlatListExample/maintainVisibleContentPosition
- runFlow: ./helpers/confirm-open-link.yml
- extendedWaitUntil:
visible:
id: 'scroll-offset-display'
timeout: 120000
- waitForAnimationToEnd:
timeout: 2000
# Enable inverted mode
Expand Down
Loading
Loading