Skip to content

Revert "Fix zoom reflow by replacing border with padding" #116653

Revert "Fix zoom reflow by replacing border with padding"

Revert "Fix zoom reflow by replacing border with padding" #116653

Triggered via pull request October 10, 2024 14:20
Status Failure
Total duration 7m 55s
Artifacts 1

unit-test.yml

on: pull_request
Compute previous WordPress version
3s
Compute previous WordPress version
Build JavaScript assets for PHP unit tests
4m 35s
Build JavaScript assets for PHP unit tests
PHP coding standards
24s
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#L334
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 \"spread\" state 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:334: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:579:19) at listOnTimeout (node:internal/timers:594:17) at processTimers (node:internal/timers:529:7)
JavaScript (Node.js 22) 2/4
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 20) 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) 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) 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) 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

Artifacts

Produced during runtime
Name Size
build-assets Expired
9.83 MB