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

[VRT] Update more reference images #7763

Conversation

mgadewoll
Copy link
Contributor

@mgadewoll mgadewoll commented May 15, 2024

Summary

This PR adds/updates VRT reference images for some component stories.

A couple images were missing though they had been added before. This might have been a hiccup when rebasing with the monorepo changes.
The other updated images are a result of us not running VRT again after changes 🙈

ℹ️ Additionally, this PR updates the story of EuiDataGrid as faker.date.past() seems to not be stable enough.
The faker date is locked to a certain time distance (1 year) which results in updated dates with progressing time.
This PR removes this usage in favor of static dates.

Funnily enough the call to faker.date.past() had an influence on the other faker data calls, which is why the EuiDataGrid images updated more than expected. 🤷‍♀️

QA

  • review the added VRT images

- faker.date updated periodically to match the same time distance to a reference date which updated the data
faker.date somehow has influence on the other faker data calls which is why the images update more than expected
@mgadewoll mgadewoll added documentation Issues or PRs that only affect documentation - will not need changelog entries skip-changelog labels May 15, 2024
@mgadewoll mgadewoll marked this pull request as ready for review May 15, 2024 16:59
@mgadewoll mgadewoll requested a review from a team as a code owner May 15, 2024 16:59
@mgadewoll mgadewoll changed the title [Storybook] Update VRT images [VRT] Update more reference images May 15, 2024
Copy link
Member

@cee-chen cee-chen left a comment

Choose a reason for hiding this comment

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

LGTM/rubberstamping this, feel free to wait for a more thorough review from Tomasz if you prefer!

@kibanamachine
Copy link

Preview staging links for this PR:

@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

@mgadewoll mgadewoll merged commit fa8462f into elastic:main May 15, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Issues or PRs that only affect documentation - will not need changelog entries skip-changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants