Skip to content

test(snapshots): Demonstrate selective ModuleA snapshot upload [do not merge]#269

Open
cameroncooke wants to merge 1 commit into
mainfrom
Update-button-shape
Open

test(snapshots): Demonstrate selective ModuleA snapshot upload [do not merge]#269
cameroncooke wants to merge 1 commit into
mainfrom
Update-button-shape

Conversation

@cameroncooke

@cameroncooke cameroncooke commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Important

Do not merge this PR, it acts as an example of selective testing

Demonstrate selective snapshot uploads by changing previews in a single test-covered area.

This PR intentionally changes only ModuleA preview output. The snapshot workflow should therefore select only the ModuleA snapshot test case instead of rendering the full suite.

Selective test selection

Only files under Examples/MultiModuleDemo/ModuleA changed, so the workflow should run the ModuleA snapshot test shard and skip the ModuleB/ModuleC shard. This shows how source-path based selection limits snapshot generation to the smallest relevant test case set.

Changed snapshot

The ModuleA label now uses a larger title font. This should appear as a visual diff for the ModuleA label snapshots while unrelated ModuleB and ModuleC snapshots are not regenerated.

Sentry UI
Screenshot 2026-06-08 at 19 26 55

@cameroncooke cameroncooke changed the title test(snapshots): Demonstrate selective ModuleA snapshot upload test(snapshots): Demonstrate selective ModuleA snapshot upload [do not merge] Jun 8, 2026
Change label font to .title
@cameroncooke cameroncooke force-pushed the Update-button-shape branch from 73179ea to aad18f0 Compare June 8, 2026 18:18
@sentry

sentry Bot commented Jun 8, 2026

Copy link
Copy Markdown

Sentry Snapshot Testing

Name Added Removed Changed Renamed Unchanged Skipped Status
com.example.multimoduledemo
com.example.multimoduledemo
0 0 2 0 1 5 ✅ Approved

⚙️ snapshot-previews Snapshot Settings

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.

1 participant