Skip to content

test(example): add extendedBlendMode example and UI snapshot test - #1143

Merged
Kyle-Ye merged 1 commit into
mainfrom
ci/extendedBlendMode
Oct 14, 2026
Merged

Kyle-Ye merged 1 commit into
mainfrom
ci/extendedBlendMode

Conversation

@Kyle-Ye

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

Copy link
Copy Markdown
Member

Summary

  • Add ExtendedBlendModeRectanglesExample, parameterized by GraphicsContext.BlendMode, next to the existing blend mode example.
  • Declare the extendedBlendMode(_:) SPI in the SwiftUI compatibility overlay so the example builds against both frameworks.
  • Add ExtendedBlendModeEffectUITests, a snapshot suite covering all 28 public GraphicsContext.BlendMode values.
  • Verified on macOS and the iOS 18.5 simulator: SwiftUI recorded references for every case and OpenSwiftUI matched all of them.

Stack created with GitHub Stacks CLI • Give Feedback 💬

@Kyle-Ye
Kyle-Ye added this pull request to stack #1145 October 13, 2026 19:01
@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 13, 2026
@Kyle-Ye Kyle-Ye changed the title ci/extendedBlendMode test(example): add extendedBlendMode example and UI snapshot test Oct 13, 2026
@Kyle-Ye

Kyle-Ye commented Oct 13, 2026

Copy link
Copy Markdown
Member Author

/uitest osui-iag update only-testing=OpenSwiftUIUITests/ExtendedBlendModeEffectUITests

@Kyle-Ye
Kyle-Ye merged commit f5c30e6 into main Oct 14, 2026
3 checks passed
@Kyle-Ye
Kyle-Ye deleted the ci/extendedBlendMode 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