-
-
Notifications
You must be signed in to change notification settings - Fork 359
test(e2e): Add auto init from JS tests #4588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
krystofwoldrich
merged 26 commits into
capture-app-start-errors
from
kw-add-auto-init-tests-ios
Feb 25, 2025
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
cc9543f
chore(samples): Add package scripts for native builds, dsn and testing
c20ac08
Merge branch 'capture-app-start-errors' into kw-simplify-local-sample…
f2a14c9
fix ci
d9fec19
fix android archive path
6b8f314
fix ios build release
25ab23b
fix(sample-e2e): Fix type errors missing sentry/core and afterAll
20a132e
Merge branch 'kw-fix-bad-merge' into kw-simplify-local-sample-testing
8b2227a
fix IOS_DEVICE empty check
d5e8e92
Merge branch 'capture-app-start-errors' into kw-simplify-local-sample…
20e7f55
fix ios archive
56fe4b8
test(e2e): Verify captured Errors Screen transaction
4cfc937
add more tests
b484b07
Merge branch 'capture-app-start-errors' into kw-test-transactions
86a675e
revert dsn change
71fada9
fix lint
0d6f543
remove jest extended from sample e2e tests
c5c93d2
Relax test to expect any type of app start, remove native frames as m…
def6e30
add app, device and react native context smoke tests
3aae5bf
include transaction name in the tests
46782a8
test(e2e): Add auto init from JS tests
b7bb5fb
update test job name to include test type
d336903
add test-ios-auto sh script
97e1b30
remove jest extended
9d4c63a
Merge branch 'kw-test-transactions' into kw-add-auto-init-tests-ios
b86c577
Merge remote-tracking branch 'origin/capture-app-start-errors' into k…
a0301bc
fix detox config name doesn't have auto yet
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| #!/bin/bash | ||
|
|
||
| # Exit on error and print commands | ||
| set -xe | ||
|
|
||
| if [ -z "$IOS_DEVICE" ]; then | ||
| # Get the first booted simulator device type and version | ||
| BOOTED_DEVICE=$(xcrun simctl list devices | grep "Booted" | head -n 1) | ||
|
|
||
| if [ -z "$BOOTED_DEVICE" ]; then | ||
| echo "No booted iOS simulator found" | ||
| exit 1 | ||
| fi | ||
|
|
||
| # Extract device type from booted device | ||
| export IOS_DEVICE=$(echo "$BOOTED_DEVICE" | cut -d "(" -f1 | xargs) | ||
| echo "Using booted iOS simulator: $IOS_DEVICE" | ||
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| #!/bin/bash | ||
|
|
||
| # Exit on error and print commands | ||
| set -xe | ||
|
|
||
| thisFilePath=$(dirname "$0") | ||
|
|
||
| cd "${thisFilePath}/.." | ||
|
|
||
| "${thisFilePath}/detect-ios-sim.sh" | ||
|
|
||
| detox test --configuration ci.sim --app-launch-args="--sentry-disable-native-start" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.