Skip to content

Update snapshot testing dependency for Testing integration#901

Merged
Kyle-Ye merged 4 commits into
mainfrom
optimize/uitest
Jun 9, 2026
Merged

Update snapshot testing dependency for Testing integration#901
Kyle-Ye merged 4 commits into
mainfrom
optimize/uitest

Conversation

@Kyle-Ye

@Kyle-Ye Kyle-Ye commented Jun 9, 2026

Copy link
Copy Markdown
Member

Agent Summary

Update the Example UI test snapshot dependency from the OSUI-specific 1.18.9-osui tag to OpenSwiftUIProject/swift-snapshot-testing.git at 1.19.2.

This lets the UI test helpers use the upstream Testing integration and moves their record parameters to SnapshotTestingConfiguration.Record?, avoiding the deprecated Bool? record overloads while preserving the existing defaults: OpenSwiftUI snapshots do not record by default, and SwiftUI comparison snapshots record all references.

The legacy Xcode project and Tuist resolved package state are updated to match the new dependency pin.

Validation

  • ./setup.sh from Example

@github-actions github-actions Bot added area: example Example apps, previews, sample projects, screenshots, or demo assets. area: tests Test suites, UI tests, fixtures, snapshots, and test support code. type: maintenance Refactor, cleanup, dependency bump, NFC, or internal maintenance. labels Jun 9, 2026
@Kyle-Ye Kyle-Ye marked this pull request as ready for review June 9, 2026 04:51
@Kyle-Ye

Kyle-Ye commented Jun 9, 2026

Copy link
Copy Markdown
Member Author

/uitest

@augmentcode

augmentcode Bot commented Jun 9, 2026

Copy link
Copy Markdown
🤖 Augment PR Summary

Summary: Updates the Example UI snapshot testing dependency to swift-snapshot-testing 1.19.2 to use the upstream Testing integration.
Changes: Migrates UI test helper record parameters from Bool? to SnapshotTestingConfiguration.Record? and updates the Xcode/Tuist package pins to match.

🤖 Was this summary useful? React with 👍 or 👎

@augmentcode augmentcode Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Review completed. No suggestions at this time.

Comment augment review to trigger a new review at any time.

@codecov

codecov Bot commented Jun 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 26.70%. Comparing base (05fbc50) to head (182eaa4).

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #901       +/-   ##
===========================================
+ Coverage   14.23%   26.70%   +12.47%     
===========================================
  Files         654      697       +43     
  Lines       42646    48916     +6270     
===========================================
+ Hits         6069    13063     +6994     
+ Misses      36577    35853      -724     

☔ 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 commented Jun 9, 2026

Copy link
Copy Markdown
Member Author

/uitest

@github-actions github-actions Bot added the area: tooling Developer tooling, package manifests, Tuist, scripts, formatting, or release tooling. label Jun 9, 2026
@Kyle-Ye Kyle-Ye force-pushed the optimize/uitest branch from 5ebdd60 to 182eaa4 Compare June 9, 2026 11:03
@Kyle-Ye

Kyle-Ye commented Jun 9, 2026

Copy link
Copy Markdown
Member Author

/uitest

@github-actions github-actions Bot added the type: ci GitHub Actions, test infrastructure, runners, checks, or automation. label Jun 9, 2026
@Kyle-Ye Kyle-Ye merged commit e10497d into main Jun 9, 2026
12 checks passed
@Kyle-Ye Kyle-Ye deleted the optimize/uitest branch June 9, 2026 13:11
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: tests Test suites, UI tests, fixtures, snapshots, and test support code. area: tooling Developer tooling, package manifests, Tuist, scripts, formatting, or release tooling. type: ci GitHub Actions, test infrastructure, runners, checks, or automation. type: maintenance Refactor, cleanup, dependency bump, NFC, or internal maintenance.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant