-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Automated Testing: Unskip tests blocked by Enzyme support of React 16.3 #7005
Copy link
Copy link
Closed
Labels
Good First IssueAn issue that's suitable for someone looking to contribute for the first timeAn issue that's suitable for someone looking to contribute for the first time[Type] Automated TestingTesting infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.[Type] TaskIssues or PRs that have been broken down into an individual action to takeIssues or PRs that have been broken down into an individual action to take
Metadata
Metadata
Assignees
Labels
Good First IssueAn issue that's suitable for someone looking to contribute for the first timeAn issue that's suitable for someone looking to contribute for the first time[Type] Automated TestingTesting infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.[Type] TaskIssues or PRs that have been broken down into an individual action to takeIssues or PRs that have been broken down into an individual action to take
Type
Fields
Give feedbackNo fields configured for issues without a type.
Previously: https://github.com/WordPress/gutenberg/pull/6527/files#r185974677
We currently skip tests which rely on
React.forwardRefbecause they are not supported yet by Enzyme:gutenberg/components/button/test/index.js
Lines 106 to 118 in 400f8fc
This is tracked by the Enzyme project at enzymejs/enzyme#1604
Once the above issue is closed and Enzyme produces a new release introducing support for
React.forwardRef, we should remove the workarounds introduced by #6527 .Open questions:
Buttonhave tests which need to be updated?