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

Unit test is broken. #41480

Closed
torounit opened this issue Jun 1, 2022 · 0 comments · Fixed by #41483
Closed

Unit test is broken. #41480

torounit opened this issue Jun 1, 2022 · 0 comments · Fixed by #41483
Assignees
Labels
[Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. [Type] Bug An existing feature does not function as intended

Comments

@torounit
Copy link
Member

torounit commented Jun 1, 2022

Description

Unit test fails and a large amount of HTML for the calendar is output to the log.

https://github.com/WordPress/gutenberg/actions/workflows/unit-test.yml
https://github.com/WordPress/gutenberg/runs/6690118780?check_suite_focus=true

This is happening both in trunk and in the branch I am working on right now. (#41216)

This error did not occur until yesterday.

I am guessing that maybe it is caused by a date dependent test.

https://github.com/WordPress/gutenberg/blob/trunk/packages/components/src/date-time/date/test/index.tsx#L33

Step-by-step reproduction instructions

run unit test or check github action log.

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@torounit torounit added [Type] Bug An existing feature does not function as intended [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. labels Jun 1, 2022
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Jun 1, 2022
@priethor priethor removed the [Status] In Progress Tracking issues with work in progress label May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants