Skip to content

Conversation

ferdraghi
Copy link
Collaborator

Adds automated tests for SwiftUI capture tests on the UI Tests App

@ferdraghi ferdraghi requested a review from a team as a code owner September 9, 2025 22:31
Copy link

github-actions bot commented Sep 9, 2025

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

Copy link

codecov bot commented Sep 9, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.87%. Comparing base (9dd478f) to head (02aed4a).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #377      +/-   ##
==========================================
- Coverage   90.08%   89.87%   -0.21%     
==========================================
  Files         471      471              
  Lines       29993    29993              
==========================================
- Hits        27018    26957      -61     
- Misses       2975     3036      +61     

see 4 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link

github-actions bot commented Sep 9, 2025

🚀 Perf Comparison (PR vs Main)

Threshold: 1%

Test PR Avg (s) Main Avg (s) Δ vs Main Status
test_embraceStartSimple() 0.055 0.030 +83.96% 🔴 +83.96%
test_embraceStartBasic() 0.134 0.119 +12.49% 🔴 +12.49%

IS_XCTEST: true
run: |
set -e && xcodebuild -project "./Examples/EmbraceIOTestApp/EmbraceIOTestApp.xcodeproj" -scheme "EmbraceIOTestApp" -derivedDataPath "build/DerivedData" -resultBundlePath ".build/test/output" -destination "platform=iOS Simulator,name=${{ matrix.device }}" -parallel-testing-enabled NO test | xcbeautify && exit ${PIPESTATUS[0]}
set -e && xcodebuild -project "./Examples/EmbraceIOTestApp/EmbraceIOTestApp.xcodeproj" -scheme "EmbraceIOTestApp" -derivedDataPath "build/DerivedData" -resultBundlePath ".build/test/output" -destination "platform=iOS Simulator,name=${{ matrix.device }}" -parallel-testing-enabled NO test -retry-tests-on-failure -test-iterations 3 | xcbeautify && exit ${PIPESTATUS[0]}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-retry-tests-on-failure -test-iterations 3

nice!

@ferdraghi ferdraghi merged commit db82d3c into main Sep 11, 2025
22 of 24 checks passed
@ferdraghi ferdraghi deleted the fd/EMBR-8927_Automate_SwiftUI_Tests branch September 11, 2025 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants