Skip to content

Conversation

@Kyle-Ye
Copy link
Collaborator

@Kyle-Ye Kyle-Ye commented Sep 20, 2025

Summary

Adds test cases to track known visual rendering differences between OpenSwiftUI and SwiftUI for safe area handling: #511 and #474

Changes

  • Added InsetViewModifierUITests.swift in UI tests to track safeAreaPadding rendering differences
  • Added GeometryReaderSafeAreaUITests.swift in UI tests to track GeometryReader safe area behavio
    r
    Both tests use withKnownIssue and .bug() tracking API to properly document expected failures
    Tests pass with SwiftUI (reference behavior) and fail with known issues in OpenSwiftUI

@codecov
Copy link

codecov bot commented Sep 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 24.57%. Comparing base (9efeb5c) to head (8dd1952).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #512      +/-   ##
==========================================
- Coverage   24.58%   24.57%   -0.02%     
==========================================
  Files         485      485              
  Lines       28105    28105              
==========================================
- Hits         6909     6906       -3     
- Misses      21196    21199       +3     

☔ View full report in Codecov by Sentry.
📢 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 force-pushed the tests/refactor-safearea-ui-compat branch from 79c6e11 to efb09d6 Compare September 20, 2025 04:53
@Kyle-Ye Kyle-Ye merged commit 71adeba into main Sep 21, 2025
7 of 8 checks passed
@Kyle-Ye Kyle-Ye deleted the tests/refactor-safearea-ui-compat branch September 21, 2025 05:59
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