#56611 closed task (blessed) (fixed)
Expand unit tests for `theme.json`
Reported by: | desrosj | Owned by: | audrasjb |
---|---|---|---|
Milestone: | 6.1 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Editor | Keywords: | has-patch has-unit-tests |
Focuses: | Cc: |
Description
As support new properties in theme.json
has been added and expanded, the unit tests have not kept up.
There's a block theme used within unit tests missing some of the supported properties listed in the living reference.
I noticed this when merging support for box-shadow
on specific elements in [54253]. Ideally new tests should be added each time properties and values allowed in theme.json
change.
Attachments (1)
Change History (10)
#1
@
2 years ago
@desrosj Added new unit tests for:
- Gradients
filter
(Duotones)blockGap
shadow
useRootPaddingAwareAlignments
appearanceTools
This is based off of the current version of the living reference mentioned above.
Please update the Workflow Keywords as you deem appropriate.
#2
@
2 years ago
- Keywords has-patch has-unit-tests added; needs-patch needs-unit-tests removed
Thanks @johnregan3!
I'm going to create a GitHub pull request just to confirm the tests are passing correctly.
This ticket was mentioned in PR #3399 on WordPress/wordpress-develop by desrosj.
2 years ago
#3
Added new unit tests for:
- Gradients
filter
(Duotones)blockGap
shadow
useRootPaddingAwareAlignments
appearanceTools
Trac ticket: https://core.trac.wordpress.org/ticket/56611
#7
@
2 years ago
- Owner set to audrasjb
- Resolution set to fixed
- Status changed from new to closed
In 54443:
2 years ago
#8
Committed in https://core.trac.wordpress.org/changeset/54443
New theme.json Unit Tests