Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 3 additions & 2 deletions examples/react-native/tests/test-suite-all-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -581,9 +581,10 @@ processes:
exit 1
fi

# Capture simulator logs for analysis
# Capture simulator logs for analysis (scoped to our app process)
if [ -n "$UDID" ]; then
xcrun simctl spawn "$UDID" log show --last 2m --style compact > "$_logs_dir/simulator-app.log" 2>&1 || true
APP_PROCESS="${IOS_APP_SCHEME:-ReactNativeExample}"
xcrun simctl spawn "$UDID" log show --last 2m --predicate "process == \"$APP_PROCESS\"" --style compact > "$_logs_dir/simulator-app.log" 2>&1 || true

# Scan for native crash patterns
error_patterns="Terminating app|SIGABRT|EXC_BAD_ACCESS|EXC_CRASH|Assertion failure"
Expand Down
5 changes: 3 additions & 2 deletions examples/react-native/tests/test-suite-ios-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,10 @@ processes:
exit 1
fi

# Capture simulator logs for analysis
# Capture simulator logs for analysis (scoped to our app process)
if [ -n "$UDID" ]; then
xcrun simctl spawn "$UDID" log show --last 2m --style compact > "$_logs_dir/simulator-app.log" 2>&1 || true
APP_PROCESS="${IOS_APP_SCHEME:-ReactNativeExample}"
xcrun simctl spawn "$UDID" log show --last 2m --predicate "process == \"$APP_PROCESS\"" --style compact > "$_logs_dir/simulator-app.log" 2>&1 || true

# Scan for native crash patterns
error_patterns="Terminating app|SIGABRT|EXC_BAD_ACCESS|EXC_CRASH|Assertion failure"
Expand Down
Loading