Skip to content
Merged
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
21 changes: 6 additions & 15 deletions dev-packages/e2e-tests/maestro/replayStopResume.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,9 @@ jsEngine: graaljs
- runFlow: utils/assertReplay.yml

# stop() must halt recording: a subsequent error carries no replay at all.
#
# Android-only for now: sentry-cocoa's stop() does not clear scope.replayId, so
# on iOS an error captured after stop() still carries the stopped replay's id
# (unlike Android/sentry-java, which reset it to EMPTY_ID). Gate this assertion
# to Android until the cocoa fix lands, then re-enable it cross-platform.
- runFlow:
when:
platform: Android
commands:
- tapOn:
id: 'stopReplay'
- tapOn: 'Clear Event Id'
- runFlow: utils/primeReplayBuffer.yml
- tapOn: 'Capture Exception'
- runFlow: utils/assertNoReplay.yml
- tapOn:
id: 'stopReplay'
- tapOn: 'Clear Event Id'
- runFlow: utils/primeReplayBuffer.yml
- tapOn: 'Capture Exception'
- runFlow: utils/assertNoReplay.yml
Loading