-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto-update snapshot tests if changing strings #20
Auto-update snapshot tests if changing strings #20
Conversation
The special incantation to update snapshots is tough to remember and non-obvious to many folks who are just updating text copy in the app. This makes the CI workflow auto-update snapshot tests on pull requests (not other pushes) where there were changes to the english strings. It's possible this could make tests pass when they shouldn't (if other things that should not have changed were changed), so it also posts a comment to the PR if it had to update the snapshots that reminds a reviewer to check the snapshot changes.
09c7767
to
542dc2e
Compare
5e3b6c3
to
e24f593
Compare
609d5c4
to
0d47ba1
Compare
b53366f
to
89403b9
Compare
👋 FYI, your PR has been automatically updated with changes to |
🚨 The "snapshot" tests in your PR have been automatically updated because you changed some text in the app! Make sure the changes to |
2219996
to
8aa7cdc
Compare
🚨 The "snapshot" tests in your PR have been automatically updated because you changed some text in the app! Make sure the changes to |
fba3909
to
9bd2710
Compare
4cdd143
to
4e21b7e
Compare
The special incantation to update snapshots is tough to remember and non-obvious to many folks who are just updating text copy in the app. This makes the CI workflow auto-update snapshot tests on pull requests (not other pushes) where there were changes to the english strings. It's possible this could make tests pass when they shouldn't (if other things that should not have changed were changed), so it also posts a comment to the PR if it had to update the snapshots that reminds a reviewer to check the snapshot changes.