Skip to content

Commit 71cc388

Browse files
committed
Increase timeouts on Android too
1 parent 98ce402 commit 71cc388

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

samples/react-native/e2e/tests/captureMessage/captureMessage.test.android.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ describe('Capture message', () => {
2323
await maestro('tests/captureMessage/captureMessage.test.yml');
2424

2525
envelope = await envelopePromise;
26-
});
26+
}, 240000); // 240 seconds timeout
2727

2828
afterAll(async () => {
2929
await sentryServer.close();

samples/react-native/e2e/tests/captureMessage/captureMessage.test.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,14 @@ appId: io.sentry.reactnative.sample
66
arguments:
77
isE2ETest: true
88

9-
# App launches on ErrorsTab (first tab), but button might be off-screen
9+
# App launches on ErrorsTab (first tab)
10+
# Wait a moment for the screen to fully load
11+
- waitForAnimationToEnd:
12+
timeout: 2000
13+
14+
# Button might be off-screen, scroll to find it
1015
- scrollUntilVisible:
1116
element: "Capture message"
12-
timeout: 5000
17+
timeout: 10000
18+
direction: DOWN
1319
- tapOn: "Capture message"

0 commit comments

Comments
 (0)