Skip to content

InspectorControls: Try prop to bypass BaseControl margin #115831

InspectorControls: Try prop to bypass BaseControl margin

InspectorControls: Try prop to bypass BaseControl margin #115831

Triggered via pull request September 27, 2024 18:59
Status Failure
Total duration 8m 4s
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
25s
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) 4/4: packages/components/src/alignment-matrix-control/test/index.tsx#L115
Error: expect(element).toHaveFocus() Expected element with focus: <span class="css-17mjk8t-Cell e1r95csn1" id="alignment-matrix-control-12-center-left" role="gridcell" tabindex="-1"><div class="components-visually-hidden css-161q9d5-PolymorphicDiv e19lxcc00" data-wp-c16t="true" data-wp-component="VisuallyHidden" style="border: 0px; clip: rect(1px, 1px, 1px, 1px); clip-path: inset( 50% ); height: 1px; margin: -1px; overflow: hidden; padding: 0px; position: absolute; width: 1px; word-wrap: normal;">center left</div><span class="css-1jz015p-Point e1r95csn0" role="presentation" /></span> Received element with focus: <span aria-describedby="tooltip-108" class="css-17mjk8t-Cell e1r95csn1" data-active-item="true" data-focus-visible="true" id="alignment-matrix-control-12-top-left" role="gridcell" tabindex="0"><div class="components-visually-hidden css-161q9d5-PolymorphicDiv e19lxcc00" data-wp-c16t="true" data-wp-component="VisuallyHidden" style="border: 0px; clip: rect(1px, 1px, 1px, 1px); clip-path: inset( 50% ); height: 1px; margin: -1px; overflow: hidden; padding: 0px; position: absolute; width: 1px; word-wrap: normal;">top left</div><span class="css-1jz015p-Point e1r95csn0" role="presentation" /></span> at toHaveFocus (/home/runner/work/gutenberg/gutenberg/packages/components/src/alignment-matrix-control/test/index.tsx:115:35)
JavaScript (Node.js 22) 4/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 22) 3/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 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 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
9.85 MB