Skip to content

Add Post Type Archive in Link UI and Navigation Link via Types API endpoint #122391

Add Post Type Archive in Link UI and Navigation Link via Types API endpoint

Add Post Type Archive in Link UI and Navigation Link via Types API endpoint #122391

Triggered via pull request December 18, 2024 09:02
Status Cancelled
Total duration 2m 54s
Artifacts

unit-test.yml

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

Annotations

10 errors and 12 warnings
JavaScript (Node.js 22) 4/4: packages/core-data/src/fetch/test/__experimental-fetch-link-suggestions.js#L202
Error: expect(received).toEqual(expected) // deep equality - Expected - 7 + Received + 0 @@ -39,13 +39,6 @@ "kind": "media", "title": "Some Test Media Title", "type": "attachment", "url": "http://localhost:8888/wp-content/uploads/2022/03/test-pdf.pdf", }, - Object { - "id": "books", - "kind": "post-type-archive", - "title": "All Books", - "type": "books-archive", - "url": "http://wordpress.local/books/", - }, ] at toEqual (/home/runner/work/gutenberg/gutenberg/packages/core-data/src/fetch/test/__experimental-fetch-link-suggestions.js:202:26) at processTicksAndRejections (node:internal/process/task_queues:105:5)
JavaScript (Node.js 22) 4/4
Process completed with exit code 1.
JavaScript (Node.js 20) 4/4: packages/core-data/src/fetch/test/__experimental-fetch-link-suggestions.js#L202
Error: expect(received).toEqual(expected) // deep equality - Expected - 7 + Received + 0 @@ -39,13 +39,6 @@ "kind": "media", "title": "Some Test Media Title", "type": "attachment", "url": "http://localhost:8888/wp-content/uploads/2022/03/test-pdf.pdf", }, - Object { - "id": "books", - "kind": "post-type-archive", - "title": "All Books", - "type": "books-archive", - "url": "http://wordpress.local/books/", - }, ] at toEqual (/home/runner/work/gutenberg/gutenberg/packages/core-data/src/fetch/test/__experimental-fetch-link-suggestions.js:202:26) at processTicksAndRejections (node:internal/process/task_queues:95:5)
JavaScript (Node.js 20) 4/4
Process completed with exit code 1.
JavaScript (Node.js 20) 1/4
Canceling since a higher priority waiting request for 'Unit Tests-try/post-type-archive-search-types-api' exists
Mobile
Canceling since a higher priority waiting request for 'Unit Tests-try/post-type-archive-search-types-api' exists
Mobile
The operation was canceled.
Build JavaScript assets for PHP unit tests
Canceling since a higher priority waiting request for 'Unit Tests-try/post-type-archive-search-types-api' exists
Build JavaScript assets for PHP unit tests
The operation was canceled.
PHP
Process completed with exit code 1.
Compute previous WordPress version
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP coding standards
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
JavaScript Date Tests (Node.js 20)
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript Date Tests (Node.js 22)
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) 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 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 22) 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
PHP
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636