Skip to content

List Item: Add border support #111926

List Item: Add border support

List Item: Add border support #111926

You are viewing an older attempt in the history of this workflow run. View latest attempt.
Triggered via pull request August 9, 2024 13:36
Status Failure
Total duration 7m 37s
Artifacts

unit-test.yml

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

Annotations

2 errors and 10 warnings
JavaScript (Node.js 22) 2/4: packages/components/src/composite/legacy/test/index.tsx#L278
Error: expect(element).toHaveFocus() Expected element with focus: <button id="test-id-2" tabindex="-1" type="button">Item 2</button> Received element with focus: <button data-active-item="true" data-focus-visible="true" id="test-id-1" type="button">Item 1</button> Ignored nodes: comments, script, style <html> <head /> <body> <div> <div aria-label="With `state` prop Supports `currentId`" id="test-id" > <button data-active-item="true" data-focus-visible="true" id="test-id-1" type="button" > Item 1 </button> <button id="test-id-2" tabindex="-1" type="button" > Item 2 </button> <button id="test-id-3" tabindex="-1" type="button" > Item 3 </button> </div> </div> </body> </html> at toHaveFocus (/home/runner/work/gutenberg/gutenberg/packages/components/src/composite/legacy/test/index.tsx:278:40) at runWithExpensiveErrorDiagnosticsDisabled (/home/runner/work/gutenberg/gutenberg/node_modules/@testing-library/dom/dist/config.js:47:12) at checkCallback (/home/runner/work/gutenberg/gutenberg/node_modules/@testing-library/dom/dist/wait-for.js:121:77) at checkRealTimersCallback (/home/runner/work/gutenberg/gutenberg/node_modules/@testing-library/dom/dist/wait-for.js:115:16) at Timeout.task [as _onTimeout] (/home/runner/work/gutenberg/gutenberg/node_modules/jsdom/lib/jsdom/browser/Window.js:553:19) at listOnTimeout (node:internal/timers:581:17) at processTimers (node:internal/timers:519:7)
JavaScript (Node.js 22) 2/4
Process completed with exit code 1.
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 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
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) 1/4
Both node-version and node-version-file inputs are specified, only node-version will be used

Artifacts

Produced during runtime
Name Size
build-assets Expired
9.71 MB