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 golden tests, or understand why/how they fail #691

Closed
monsieurtanuki opened this issue Nov 25, 2021 · 1 comment · Fixed by #692
Closed

Fix golden tests, or understand why/how they fail #691

monsieurtanuki opened this issue Nov 25, 2021 · 1 comment · Fixed by #692
Assignees
Labels

Comments

@monsieurtanuki
Copy link
Contributor

monsieurtanuki commented Nov 25, 2021

cf. #679 #683 #689

@monsieurtanuki
Copy link
Contributor Author

The problem comes from #679, where I've explicitly added the bottom navigation bar in some pages, e.g. in UserPreferencesPage.
And the golden screenshots were created from the old version of UserPreferencesPage, without bottom navigation bar (the home page displayed UserPreferencesPage plus the bottom bar).
I'm about to PR.

monsieurtanuki added a commit to monsieurtanuki/smooth-app that referenced this issue Nov 25, 2021
…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 added a commit that referenced this issue Nov 25, 2021
#692)

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 self-assigned this Nov 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant