Skip to content

Translation Status page shows Generation date: as current date and time when loading #2588

@cylewaitforit

Description

@cylewaitforit

Describe the bug

When the translation data is unavailable or loading, the Translation Status page uses new Date().toISOString(). That means that the visual regression snapshot for the loading state of the page will constantly have a different date on it.

While we could probably mock Date() to make that less flaky for the visual regression tests, I think it would be more correct for the page to show something else like loading or unavailable when the data isn't present.

Originally posted by @cylewaitforit in #2559 (comment)

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    frontFrontend, Design

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions