Skip to content

Add: Media field changing ui to Dataviews and content preview field to posts and pages #120251

Add: Media field changing ui to Dataviews and content preview field to posts and pages

Add: Media field changing ui to Dataviews and content preview field to posts and pages #120251

Triggered via pull request November 25, 2024 17:55
Status Failure
Total duration 4m 18s
Artifacts

unit-test.yml

on: pull_request
Compute previous WordPress version
0s
Compute previous WordPress version
Build JavaScript assets for PHP unit tests
2m 42s
Build JavaScript assets for PHP unit tests
PHP coding standards
15s
PHP coding standards
Matrix: unit-js-date
Matrix: unit-js
Matrix: test-php
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 10 warnings
Build JavaScript assets for PHP unit tests: packages/dataviews/src/components/dataviews-view-config/index.tsx#L439
Property 'mediaField' does not exist on type '{ primaryField?: string | undefined; combinedFields?: CombinedField[] | undefined; styles?: Record<string, ColumnStyle> | undefined; density?: Density | undefined; } | { ...; } | { ...; }'.
Build JavaScript assets for PHP unit tests: packages/dataviews/src/components/dataviews-view-config/index.tsx#L470
Argument of type '{ layout: { mediaField: string; } | { mediaField: string; primaryField?: string | undefined; combinedFields?: CombinedField[] | undefined; styles?: Record<string, ColumnStyle> | undefined; density?: Density | undefined; } | { ...; } | { ...; }; ... 6 more ...; fields?: string[] | undefined; } | { ...; } | { ...; }' is not assignable to parameter of type 'View'.
Build JavaScript assets for PHP unit tests
Process completed with exit code 1.
PHP
Process completed with exit code 1.
JavaScript Date Tests (Node.js 22)
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript Date Tests (Node.js 20)
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript (Node.js 22) 3/4
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript (Node.js 22) 4/4
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript (Node.js 22) 2/4
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript (Node.js 20) 3/4
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript (Node.js 20) 4/4
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript (Node.js 20) 2/4
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript (Node.js 22) 1/4
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript (Node.js 20) 1/4
Both node-version and node-version-file inputs are specified, only node-version will be used