Skip to content

Add poppygl-based STEP visual snapshots with PNG matcher#9

Merged
seveibar merged 3 commits intotscircuit:mainfrom
ShiboSoftwareDev:main
Oct 7, 2025
Merged

Add poppygl-based STEP visual snapshots with PNG matcher#9
seveibar merged 3 commits intotscircuit:mainfrom
ShiboSoftwareDev:main

Conversation

@ShiboSoftwareDev
Copy link
Copy Markdown
Contributor

• Introduces visual snapshot testing pipeline for STEP:
• expect(stepContent).toMatchStepSnapshot(import.meta.path, "name")
• New tests:
• visual-simple-box.test.ts (creates/validates snapshot)
• visual-simple-box-mismatch.test.ts (ensures diff artifact on change)

/claim #6
/closes #6

Copy link
Copy Markdown
Contributor

@seveibar seveibar left a comment

Choose a reason for hiding this comment

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

Can you add visual snapshots for existing tests

Copy link
Copy Markdown
Contributor

@seveibar seveibar left a comment

Choose a reason for hiding this comment

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

The angle on the box hole tests is non ideal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement poppygl visual snapshot pipeline

2 participants