Skip to content

Update wpcs to 3.0 #590

Update wpcs to 3.0

Update wpcs to 3.0 #590

Triggered via pull request October 15, 2023 11:09
Status Failure
Total duration 12m 59s
Artifacts 1
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

run-test.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

17 errors
PHP 8.0 / WordPress Test: test/e2e/specs/transform.test.ts#L155
Error: expect(received).toMatchSnapshot() Snapshot name: `Transform from flexible table block to core table block should be transformed to core table block with no style & class cells 1` - Snapshot - 3 + Received + 3 - "<!-- wp:table {"hasFixedLayout":true} --> + "<!-- wp:flexible-table-block/table --> - <figure class="wp-block-table"><table class="has-fixed-layout"><tbody><tr><td>Flexible Table Block</td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr></tbody></table></figure> + <figure class="wp-block-flexible-table-block-table"><table class="has-fixed-layout"><tbody><tr><th style="font-size:20px;padding:1px;border-style:solid">Flexible Table Block</th><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr></tbody></table></figure> - <!-- /wp:table -->" + <!-- /wp:flexible-table-block/table -->" at Object.toMatchSnapshot (/home/runner/work/flexible-table-block/flexible-table-block/test/e2e/specs/transform.test.ts:155:42)
PHP 8.0 / WordPress Test: test/e2e/specs/transform.test.ts#L175
Error: expect(received).toMatchSnapshot() Snapshot name: `Transform from flexible table block to core table block should be transformed to core table block with no unnecessary attributes cells 1` - Snapshot - 3 + Received + 3 - "<!-- wp:table {"hasFixedLayout":true} --> + "<!-- wp:flexible-table-block/table --> - <figure class="wp-block-table"><table class="has-fixed-layout"><tbody><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr></tbody></table></figure> + <figure class="wp-block-flexible-table-block-table"><table class="has-fixed-layout"><tbody><tr><th id="id" headers="headers" scope="row"></th><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr></tbody></table></figure> - <!-- /wp:table -->" + <!-- /wp:flexible-table-block/table -->" at Object.toMatchSnapshot (/home/runner/work/flexible-table-block/flexible-table-block/test/e2e/specs/transform.test.ts:175:42)
PHP 8.0 / WordPress Test: test/e2e/specs/transform.test.ts#L199
Error: expect(received).toMatchSnapshot() Snapshot name: `Transform from flexible table block to core table block should be transformed to core table block with appropriate tag cells 1` - Snapshot - 3 + Received + 3 - "<!-- wp:table {"hasFixedLayout":true} --> + "<!-- wp:flexible-table-block/table --> - <figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th></th><th></th><th></th></tr></thead><tbody><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr></tbody><tfoot><tr><td></td><td></td><td></td></tr></tfoot></table></figure> + <figure class="wp-block-flexible-table-block-table"><table class="has-fixed-layout"><thead><tr><td></td><th></th><th></th></tr></thead><tbody><tr><th></th><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr></tbody><tfoot><tr><th></th><td></td><td></td></tr></tfoot></table></figure> - <!-- /wp:table -->" + <!-- /wp:flexible-table-block/table -->" at Object.toMatchSnapshot (/home/runner/work/flexible-table-block/flexible-table-block/test/e2e/specs/transform.test.ts:199:42)
PHP 8.0 / WordPress Test: test/e2e/specs/global-setting.test.ts#L96
TypeError: Cannot read properties of undefined (reading 'click') at click (/home/runner/work/flexible-table-block/flexible-table-block/test/e2e/helper.ts:96:26) at Object.<anonymous> (/home/runner/work/flexible-table-block/flexible-table-block/test/e2e/specs/global-setting.test.ts:40:3)
PHP 8.0 / WordPress Test: test/e2e/specs/block-support.test.ts#L90
Error: expect(received).toBe(expected) // Object.is equality - Expected - 2 + Received + 2 - <!-- wp:flexible-table-block/table {"style":{"typography":{"fontStyle":"normal","fontWeight":"500","lineHeight":"3","textTransform":"lowercase","letterSpacing":"10px"}},"fontSize":"large","fontFamily":"source-serif-pro"} --> + <!-- wp:flexible-table-block/table {"style":{"typography":{"fontStyle":"normal","fontWeight":"500","lineHeight":"3","textTransform":"lowercase","letterSpacing":"10px"}},"fontSize":"large"} --> - <figure class="wp-block-flexible-table-block-table has-source-serif-pro-font-family has-large-font-size" style="font-style:normal;font-weight:500;letter-spacing:10px;line-height:3;text-transform:lowercase"><table class="has-fixed-layout"><tbody><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr></tbody></table></figure> + <figure class="wp-block-flexible-table-block-table has-large-font-size" style="font-style:normal;font-weight:500;letter-spacing:10px;line-height:3;text-transform:lowercase"><table class="has-fixed-layout"><tbody><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td></tr></tbody></table></figure> <!-- /wp:flexible-table-block/table --> at Object.toBe (/home/runner/work/flexible-table-block/flexible-table-block/test/e2e/specs/block-support.test.ts:90:42)
PHP 8.0 / WordPress Test: test/e2e/specs/table-cell.test.ts#L96
TypeError: Cannot read properties of undefined (reading 'click') at click (/home/runner/work/flexible-table-block/flexible-table-block/test/e2e/helper.ts:96:26) at Object.<anonymous> (/home/runner/work/flexible-table-block/flexible-table-block/test/e2e/specs/table-cell.test.ts:47:3)
PHP 8.0 / WordPress Test
Process completed with exit code 1.
PHP 8.2 / WordPress#6.2.2 Test
The job was canceled because "_8_0_WordPress" failed.
PHP 8.2 / WordPress Test
The job was canceled because "_8_0_WordPress" failed.
PHP 8.2 / WordPress#6.2.2 Test
The operation was canceled.
PHP 8.2 / WordPress Test
The operation was canceled.
PHP 8.0 / WordPress#6.2.2 Test
The job was canceled because "_8_0_WordPress" failed.
PHP 8.0 / WordPress#6.2.2 Test
The operation was canceled.
PHP 8.0 / WordPress#6.1.3 Test
The job was canceled because "_8_0_WordPress" failed.
PHP 8.0 / WordPress#6.1.3 Test
The operation was canceled.
PHP 7.4 / WordPress Test
The job was canceled because "_8_0_WordPress" failed.
PHP 7.4 / WordPress Test
The operation was canceled.

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
3.03 MB