Skip to content

Commit 8913ffc

Browse files
committed
Test screenshot capture
1 parent 304824f commit 8913ffc

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

dev-packages/e2e-tests/maestro/feedback.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ jsEngine: graaljs
3030
id: 'message-input'
3131
- inputText: 'This is a test feedback message from CI e2e tests'
3232

33+
# Take screenshot
34+
- scrollUntilVisible:
35+
element:
36+
id: 'capture-screenshot-button'
37+
- tapOn:
38+
id: 'capture-screenshot-button'
39+
- tapOn: 'Take Screenshot'
40+
3341
# Submit feedback
3442
- scrollUntilVisible:
3543
element:

dev-packages/e2e-tests/patch-scripts/rn.patch.app.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ Sentry.init({
3232
},
3333
integrations: [
3434
Sentry.mobileReplayIntegration(),
35+
Sentry.feedbackIntegration({
36+
enableTakeScreenshot: true,
37+
}),
3538
],
3639
});
3740
`;

0 commit comments

Comments
 (0)