Skip to content

test(effects): add shared examples and UI snapshots - #1142

Merged
Kyle-Ye merged 5 commits into
mainfrom
feature/effect
Oct 14, 2026
Merged

Kyle-Ye merged 5 commits into
mainfrom
feature/effect

Conversation

@Kyle-Ye

@Kyle-Ye Kyle-Ye commented Oct 12, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Add shared examples and named previews for affine and projective transforms, VisualEffect geometry, color effects, blur, blend modes, and repeating scale and rotation effects.
  • Add 39 snapshot cases across five suites to cover effect parameters and composition order.
  • Capture the iOS view hierarchy for projective geometry and renderer effects, and use the default renderer on macOS.
  • Fix snapshot result validation to ignore skipped tests and expected failures while preserving checks for real failures.

Validation

  • All 39 new snapshot cases pass locally on iOS Simulator 18.5 and macOS 26.6.2.
  • All 36 snapshot action tests pass. The four CI recording results pass the corrected validation, and real snapshot failures remain rejected.

@Kyle-Ye

Kyle-Ye commented Oct 12, 2026

Copy link
Copy Markdown
Member Author

/uitest all update

@github-actions github-actions Bot added area: example Example apps, previews, sample projects, screenshots, or demo assets. area: rendering DisplayList, render backends, renderer hosts, drawing, and effects. area: tests Test suites, UI tests, fixtures, snapshots, and test support code. type: tests Test coverage, test infrastructure, snapshots, or test-only changes. labels Oct 12, 2026
@Kyle-Ye

Kyle-Ye commented Oct 12, 2026

Copy link
Copy Markdown
Member Author

/uitest all update

@tuist

tuist Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

🛠️ Tuist Run Report 🛠️

Tests 🧪

Scheme Status Ran test modules Commit
OpenSwiftUI ✅ 7 a3d5bc706

Builds 🔨

Scheme Status Duration Commit
OpenSwiftUI ✅ 49.2s a3d5bc706

@codecov

codecov Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 30.43%. Comparing base (f4486db) to head (59b0e27).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1142      +/-   ##
==========================================
+ Coverage   26.37%   30.43%   +4.06%     
==========================================
  Files         846      913      +67     
  Lines       62274    71182    +8908     
==========================================
+ Hits        16423    21663    +5240     
- Misses      45851    49519    +3668     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

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

@Kyle-Ye
Kyle-Ye merged commit ee1cf1d into main Oct 14, 2026
7 of 8 checks passed
@Kyle-Ye
Kyle-Ye deleted the feature/effect branch October 14, 2026 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: example Example apps, previews, sample projects, screenshots, or demo assets. area: rendering DisplayList, render backends, renderer hosts, drawing, and effects. area: tests Test suites, UI tests, fixtures, snapshots, and test support code. type: tests Test coverage, test infrastructure, snapshots, or test-only changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant