Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
2363742
Merge branch 'main' into capture-app-start-errors
krystofwoldrich Jun 11, 2025
2cba1c5
chore(sample-e2e): Migrate from Detox to Maestro
krystofwoldrich Jun 12, 2025
8632961
fix set dsn script path
krystofwoldrich Jun 12, 2025
a19c02d
Merge capture-app-start-errors-v7 into antonis/v7-detox-to-maestro-mi…
antonis Dec 15, 2025
1cc3572
Merge branch 'capture-app-start-errors-v7' into antonis/v7-detox-to-m…
antonis Dec 16, 2025
8518c78
fix: Update script paths after detox-to-maestro migration
antonis Dec 16, 2025
4239de8
Update script paths
antonis Dec 16, 2025
2eb589f
Fix tests
antonis Dec 16, 2025
a078aaa
Merge branch 'capture-app-start-errors-v7' into antonis/v7-detox-to-m…
antonis Dec 16, 2025
48f8c98
Fix test failure
antonis Dec 17, 2025
dcd62a8
Merge branch 'capture-app-start-errors-v7' into antonis/v7-detox-to-m…
antonis Dec 17, 2025
d160d7b
Fix idle issue
antonis Dec 17, 2025
7d2e90c
fix(e2e): Fix Maestro flows for captureMessage and captureSpaceflight…
antonis Dec 17, 2025
37179c0
Merge branch 'capture-app-start-errors-v7' into antonis/v7-detox-to-m…
antonis Dec 18, 2025
d466eb1
chore(e2e-sample): Increase Maestro driver startup timeout
antonis Dec 18, 2025
586ae51
increase timeout
antonis Dec 18, 2025
98ce402
Merge branch 'capture-app-start-errors-v7' into antonis/v7-detox-to-m…
antonis Dec 19, 2025
71cc388
Increase timeouts on Android too
antonis Dec 19, 2025
8eb6bb9
Merge branch 'capture-app-start-errors-v7' into antonis/v7-detox-to-m…
antonis Dec 22, 2025
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
Prev Previous commit
Next Next commit
fix(e2e): Fix Maestro flows for captureMessage and captureSpaceflight…
…NewsScreen

- Add scrollUntilVisible for 'Capture message' button (might be off-screen)
- Add proper waiting and scrolling for SpaceflightNewsScreen to trigger auto-load
- Wait for 'Load More Articles' button to appear after autoLoadCount threshold
  • Loading branch information
antonis committed Dec 17, 2025
commit 7d2e90c2f9da3045a9744c659c49042b846e38a4
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@ appId: io.sentry.reactnative.sample
arguments:
isE2ETest: true

# App launches on ErrorsTab (first tab), but button might be off-screen
- scrollUntilVisible:
element: "Capture message"
timeout: 5000
- tapOn: "Capture message"
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,38 @@ appId: io.sentry.reactnative.sample
id: "performance-tab-icon"
- tapOn: "Open Spaceflight News"

# Wait for the screen to load articles and initial data to appear
- waitForAnimationToEnd:
timeout: 5000

# Scroll down multiple times to trigger auto-load (AUTO_LOAD_LIMIT = 1)
# This will trigger handleEndReached which increments autoLoadCount
# After autoLoadCount >= 1, the "Load More Articles" button will appear
- scroll
- scroll
- scroll

# Wait a bit for the auto-load to complete and button to appear
- waitForAnimationToEnd:
timeout: 3000

# Now the "Load More Articles" button should be visible
- scrollUntilVisible:
element: "Load More Articles"
timeout: 10000
# On iOS the visibility is resolved when the button only peaks from the bottom tabs
# this causes Maestro to click the bottom tab instead of the button
# thus the extra scroll is needed to make the button visible
- scroll
- tapOn: "Load More Articles"

# Wait for more articles to load after manual tap
- waitForAnimationToEnd:
timeout: 3000
- scroll
- scrollUntilVisible:
element: "Load More Articles"
timeout: 10000

- tapOn:
id: "errors-tab-icon"
Expand Down
Loading