Skip to content

Conversation

@lukasmasuch
Copy link
Collaborator

@lukasmasuch lukasmasuch commented Oct 21, 2024

Describe your changes

  • Adds make update-snapshots command to update the local snapshots based on the latest completed CI run.
  • Changes the behavior of snapshot testing to only fail after the full test has run through on a snapshot mismatch. This makes it easier to update snapshots of tests that contain multiple snapshot asserts.

Testing Plan

  • Only adds dev-related tooling.

Contribution License Agreement

By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

@lukasmasuch lukasmasuch added security-assessment-completed Security assessment has been completed for PR change:other PR contains other type of change impact:internal PR changes only affect internal code labels Oct 21, 2024
@lukasmasuch lukasmasuch marked this pull request as ready for review October 21, 2024 23:45
Copy link
Collaborator

@raethlein raethlein left a comment

Choose a reason for hiding this comment

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

LGTM

@lukasmasuch lukasmasuch merged commit 703a666 into develop Oct 25, 2024
@lukasmasuch lukasmasuch deleted the simplify-e2e-snapshot-handling branch October 25, 2024 04:45
edegp pushed a commit to edegp/streamlit that referenced this pull request Jan 19, 2025
## Describe your changes

- Adds `make update-snapshots` command to update the local snapshots
based on the latest completed CI run.
- Changes the behavior of snapshot testing to only fail after the full
test has run through on a snapshot mismatch. This makes it easier to
update snapshots of tests that contain multiple snapshot asserts.

## Testing Plan

- Only adds dev-related tooling.

---

**Contribution License Agreement**

By submitting this pull request you agree that all contributions to this
project are made under the Apache 2.0 license.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

change:other PR contains other type of change impact:internal PR changes only affect internal code security-assessment-completed Security assessment has been completed for PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants