Skip to content
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

fix: #691 - regenerated golden screenshots for profile with bottom bar #692

Merged
merged 1 commit into from
Nov 25, 2021

Conversation

monsieurtanuki
Copy link
Contributor

Using flutter test --update-goldens

Impacted files:

  • user_preferences_page-blue-dark.png
  • user_preferences_page-blue-light.png
  • user_preferences_page-brown-dark.png
  • user_preferences_page-brown-light.png
  • user_preferences_page-green-dark.png
  • user_preferences_page-green-light.png

…ith bottom bar

Using `flutter test --update-goldens`

Impacted files:
* `user_preferences_page-blue-dark.png`
* `user_preferences_page-blue-light.png`
* `user_preferences_page-brown-dark.png`
* `user_preferences_page-brown-light.png`
* `user_preferences_page-green-dark.png`
* `user_preferences_page-green-light.png`
@monsieurtanuki monsieurtanuki linked an issue Nov 25, 2021 that may be closed by this pull request
@monsieurtanuki
Copy link
Contributor Author

"All checks have passed!"

I've just noticed that beyond the bottom navigation bar, the "importance" icon changed too (as we removed one level in #671).

For the record, the screenshots were something like this:
Capture d’écran 2021-11-25 à 18 52 54

And now something like this:
Capture d’écran 2021-11-25 à 18 52 01

Copy link
Member

@M123-dev M123-dev left a comment

Choose a reason for hiding this comment

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

That's great, thanks @monsieurtanuki can you maybe add this command to the README

@monsieurtanuki monsieurtanuki merged commit 85970d9 into openfoodfacts:develop Nov 25, 2021
@monsieurtanuki
Copy link
Contributor Author

@M123-dev Thank you for your approval!
I couldn't see which README would make sense for this addition.
Besides, the purpose of those tests is to take developers by surprise - if refreshing the screenshots becomes part of the process, we can derive day after day from the reference screenshots.
Just search "golden" in the code and you'll find again quickly the relevant command and files.

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.

Fix golden tests, or understand why/how they fail
2 participants