Plugin: Add requirement for minimum and maximum WordPress versions #87111
end2end-test.yml
on: pull_request
Matrix: e2e-playwright
Matrix: e2e-puppeteer
Report to GitHub
2m 30s
Annotations
34 errors and 3 notices
Puppeteer - 3:
packages/e2e-tests/specs/editor/various/change-detection.test.js#L23
Error: No node found for selector: .components-confirm-dialog .is-primary
at assert (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/assert.ts:23:21)
at DOMWorld.click (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:461:11)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/editor/various/change-detection.test.js:352:3)
|
Puppeteer - 3:
packages/e2e-tests/specs/editor/various/change-detection.test.js#L322
Error: Execution context was destroyed, most likely because of a navigation.
at rewriteError (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/ExecutionContext.ts:322:15)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at ExecutionContext._evaluateInternal (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/ExecutionContext.ts:271:7)
at ExecutionContext.evaluate (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/ExecutionContext.ts:140:12)
at clearLocalStorage (/home/runner/work/gutenberg/gutenberg/packages/e2e-test-utils/build/@wordpress/e2e-test-utils/src/clear-local-storage.js:5:2)
at setupBrowser (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/config/setup-test-framework.js:79:2)
at Object.<anonymous> (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/config/setup-test-framework.js:263:2)
|
Puppeteer - 3
Process completed with exit code 1.
|
[chromium] › editor/blocks/buttons.spec.js:167:2 › Buttons › can toggle button link settings:
test/e2e/specs/editor/blocks/buttons.spec.js#L229
1) [chromium] › editor/blocks/buttons.spec.js:167:2 › Buttons › can toggle button link settings ──
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByLabel('nofollow')
============================================================
227 |
228 | // Navigate to and toggle the "nofollow" checkbox.
> 229 | await noFollowCheckbox.click();
| ^
230 |
231 | // expect settings for `Open in new tab` and `No follow`
232 | await expect( newTabCheckbox ).toBeChecked();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/buttons.spec.js:229:26
|
[chromium] › editor/blocks/buttons.spec.js:167:2 › Buttons › can toggle button link settings:
test/e2e/specs/editor/blocks/buttons.spec.js#L195
1) [chromium] › editor/blocks/buttons.spec.js:167:2 › Buttons › can toggle button link settings ──
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByLabel('Open in new tab')
============================================================
193 |
194 | // Navigate to and toggle the "Open in new tab" checkbox.
> 195 | await newTabCheckbox.click();
| ^
196 |
197 | // Toggle should still have focus and be checked.
198 | await expect( newTabCheckbox ).toBeChecked();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/buttons.spec.js:195:24
|
[chromium] › editor/blocks/buttons.spec.js:167:2 › Buttons › can toggle button link settings:
test/e2e/specs/editor/blocks/buttons.spec.js#L229
1) [chromium] › editor/blocks/buttons.spec.js:167:2 › Buttons › can toggle button link settings ──
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByLabel('nofollow')
============================================================
227 |
228 | // Navigate to and toggle the "nofollow" checkbox.
> 229 | await noFollowCheckbox.click();
| ^
230 |
231 | // expect settings for `Open in new tab` and `No follow`
232 | await expect( newTabCheckbox ).toBeChecked();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/buttons.spec.js:229:26
|
[chromium] › editor/blocks/cover.spec.js:74:2 › Cover › dims background image down by 50% with the average image color when an image is uploaded:
test/e2e/specs/editor/blocks/cover.spec.js#L90
2) [chromium] › editor/blocks/cover.spec.js:74:2 › Cover › dims background image down by 50% with the average image color when an image is uploaded
Error: expect(received).toHaveCSS(expected)
Expected string: "rgb(179, 179, 179)"
Received string: "rgb(0, 0, 0)"
Call log:
- expect.toHaveCSS with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Cover' }).locator('.wp-block-cover__background')
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(0, 0, 0)"
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Cover' }).locator('.wp-block-cover__background')
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(0, 0, 0)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(0, 0, 0)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(0, 0, 0)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(0, 0, 0)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(0, 0, 0)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(0, 0, 0)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(0, 0, 0)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(0, 0, 0)"
88 | const overlay = coverBlock.locator( '.wp-block-cover__background' );
89 |
> 90 | await expect( overlay ).toHaveCSS(
| ^
91 | 'background-color',
92 | 'rgb(179, 179, 179)'
93 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/cover.spec.js:90:27
|
[chromium] › editor/blocks/cover.spec.js:74:2 › Cover › dims background image down by 50% with the average image color when an image is uploaded:
test/e2e/specs/editor/blocks/cover.spec.js#L90
2) [chromium] › editor/blocks/cover.spec.js:74:2 › Cover › dims background image down by 50% with the average image color when an image is uploaded
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toHaveCSS(expected)
Expected string: "rgb(179, 179, 179)"
Received string: "rgb(0, 0, 0)"
Call log:
- expect.toHaveCSS with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Cover' }).locator('.wp-block-cover__background')
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(0, 0, 0)"
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Cover' }).locator('.wp-block-cover__background')
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(0, 0, 0)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(0, 0, 0)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(0, 0, 0)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(0, 0, 0)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(0, 0, 0)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(0, 0, 0)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(0, 0, 0)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(0, 0, 0)"
88 | const overlay = coverBlock.locator( '.wp-block-cover__background' );
89 |
> 90 | await expect( overlay ).toHaveCSS(
| ^
91 | 'background-color',
92 | 'rgb(179, 179, 179)'
93 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/cover.spec.js:90:27
|
[chromium] › editor/blocks/cover.spec.js:74:2 › Cover › dims background image down by 50% with the average image color when an image is uploaded:
test/e2e/specs/editor/blocks/cover.spec.js#L90
2) [chromium] › editor/blocks/cover.spec.js:74:2 › Cover › dims background image down by 50% with the average image color when an image is uploaded
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toHaveCSS(expected)
Expected string: "rgb(179, 179, 179)"
Received string: "rgb(0, 0, 0)"
Call log:
- expect.toHaveCSS with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Cover' }).locator('.wp-block-cover__background')
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(0, 0, 0)"
- waiting for frameLocator('[name="editor-canvas"]').getByRole('document', { name: 'Block: Cover' }).locator('.wp-block-cover__background')
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(0, 0, 0)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(0, 0, 0)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(0, 0, 0)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(0, 0, 0)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(0, 0, 0)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(0, 0, 0)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(0, 0, 0)"
- locator resolved to <span aria-hidden="true" class="wp-block-cover__backgr…></span>
- unexpected value "rgb(0, 0, 0)"
88 | const overlay = coverBlock.locator( '.wp-block-cover__background' );
89 |
> 90 | await expect( overlay ).toHaveCSS(
| ^
91 | 'background-color',
92 | 'rgb(179, 179, 179)'
93 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/cover.spec.js:90:27
|
[chromium] › editor/blocks/list.spec.js:1381:2 › List (@firefox) › selects all transformed output:
test/e2e/specs/editor/blocks/list.spec.js#L1408
3) [chromium] › editor/blocks/list.spec.js:1381:2 › List (@Firefox) › selects all transformed output
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('button', { name: 'Multiple blocks selected' })
============================================================
1406 | await page
1407 | .getByRole( 'button', { name: 'Multiple blocks selected' } )
> 1408 | .click();
| ^
1409 | await page.getByRole( 'menuitem', { name: 'List' } ).click();
1410 |
1411 | expect( await editor.getEditedPostContent() ).toBe( `<!-- wp:list -->
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:1408:5
|
[chromium] › editor/blocks/list.spec.js:1381:2 › List (@firefox) › selects all transformed output:
test/e2e/specs/editor/blocks/list.spec.js#L1408
3) [chromium] › editor/blocks/list.spec.js:1381:2 › List (@Firefox) › selects all transformed output
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('button', { name: 'Multiple blocks selected' })
============================================================
1406 | await page
1407 | .getByRole( 'button', { name: 'Multiple blocks selected' } )
> 1408 | .click();
| ^
1409 | await page.getByRole( 'menuitem', { name: 'List' } ).click();
1410 |
1411 | expect( await editor.getEditedPostContent() ).toBe( `<!-- wp:list -->
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:1408:5
|
[chromium] › editor/blocks/list.spec.js:1381:2 › List (@firefox) › selects all transformed output:
test/e2e/specs/editor/blocks/list.spec.js#L1408
3) [chromium] › editor/blocks/list.spec.js:1381:2 › List (@Firefox) › selects all transformed output
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
=========================== logs ===========================
waiting for getByRole('button', { name: 'Multiple blocks selected' })
============================================================
1406 | await page
1407 | .getByRole( 'button', { name: 'Multiple blocks selected' } )
> 1408 | .click();
| ^
1409 | await page.getByRole( 'menuitem', { name: 'List' } ).click();
1410 |
1411 | expect( await editor.getEditedPostContent() ).toBe( `<!-- wp:list -->
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/list.spec.js:1408:5
|
[chromium] › editor/local/demo.spec.js:7:2 › New editor state › content should load:
test/e2e/specs/editor/local/demo.spec.js#L30
4) [chromium] › editor/local/demo.spec.js:7:2 › New editor state › content should load, making the post dirty
Error: expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false
28 | return window.wp.data.select( 'core/editor' ).isEditedPostDirty();
29 | } );
> 30 | expect( isDirty ).toBe( true );
| ^
31 |
32 | await expect(
33 | page
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/local/demo.spec.js:30:21
|
[chromium] › interactivity/directives-text.spec.ts:19:6 › data-wp-text › show proper text reading from state:
test/e2e/specs/interactivity/directives-text.spec.ts#L21
1) [chromium] › interactivity/directives-text.spec.ts:19:6 › data-wp-text › show proper text reading from state
Error: expect(received).toHaveText(expected)
Expected string: "Text 1"
Received string: ""
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByTestId('show state text')
- locator resolved to <span data-wp-text="state.text" data-testid="show stat…></span>
- unexpected value ""
- waiting for getByTestId('show state text')
- locator resolved to <span data-wp-text="state.text" data-testid="show stat…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="state.text" data-testid="show stat…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="state.text" data-testid="show stat…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="state.text" data-testid="show stat…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="state.text" data-testid="show stat…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="state.text" data-testid="show stat…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="state.text" data-testid="show stat…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="state.text" data-testid="show stat…></span>
- unexpected value ""
19 | test( 'show proper text reading from state', async ( { page } ) => {
20 | const el = page.getByTestId( 'show state text' );
> 21 | await expect( el ).toHaveText( 'Text 1' );
| ^
22 | await page.getByTestId( 'toggle state text' ).click();
23 | await expect( el ).toHaveText( 'Text 2' );
24 | await page.getByTestId( 'toggle state text' ).click();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-text.spec.ts:21:22
|
[chromium] › interactivity/directives-text.spec.ts:19:6 › data-wp-text › show proper text reading from state:
test/e2e/specs/interactivity/directives-text.spec.ts#L21
1) [chromium] › interactivity/directives-text.spec.ts:19:6 › data-wp-text › show proper text reading from state
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toHaveText(expected)
Expected string: "Text 1"
Received string: ""
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByTestId('show state text')
- locator resolved to <span data-wp-text="state.text" data-testid="show stat…></span>
- unexpected value ""
- waiting for getByTestId('show state text')
- locator resolved to <span data-wp-text="state.text" data-testid="show stat…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="state.text" data-testid="show stat…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="state.text" data-testid="show stat…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="state.text" data-testid="show stat…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="state.text" data-testid="show stat…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="state.text" data-testid="show stat…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="state.text" data-testid="show stat…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="state.text" data-testid="show stat…></span>
- unexpected value ""
19 | test( 'show proper text reading from state', async ( { page } ) => {
20 | const el = page.getByTestId( 'show state text' );
> 21 | await expect( el ).toHaveText( 'Text 1' );
| ^
22 | await page.getByTestId( 'toggle state text' ).click();
23 | await expect( el ).toHaveText( 'Text 2' );
24 | await page.getByTestId( 'toggle state text' ).click();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-text.spec.ts:21:22
|
[chromium] › interactivity/directives-text.spec.ts:19:6 › data-wp-text › show proper text reading from state:
test/e2e/specs/interactivity/directives-text.spec.ts#L21
1) [chromium] › interactivity/directives-text.spec.ts:19:6 › data-wp-text › show proper text reading from state
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toHaveText(expected)
Expected string: "Text 1"
Received string: ""
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByTestId('show state text')
- locator resolved to <span data-wp-text="state.text" data-testid="show stat…></span>
- unexpected value ""
- waiting for getByTestId('show state text')
- locator resolved to <span data-wp-text="state.text" data-testid="show stat…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="state.text" data-testid="show stat…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="state.text" data-testid="show stat…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="state.text" data-testid="show stat…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="state.text" data-testid="show stat…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="state.text" data-testid="show stat…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="state.text" data-testid="show stat…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="state.text" data-testid="show stat…></span>
- unexpected value ""
19 | test( 'show proper text reading from state', async ( { page } ) => {
20 | const el = page.getByTestId( 'show state text' );
> 21 | await expect( el ).toHaveText( 'Text 1' );
| ^
22 | await page.getByTestId( 'toggle state text' ).click();
23 | await expect( el ).toHaveText( 'Text 2' );
24 | await page.getByTestId( 'toggle state text' ).click();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-text.spec.ts:21:22
|
[chromium] › interactivity/directives-text.spec.ts:28:6 › data-wp-text › show proper text reading from context:
test/e2e/specs/interactivity/directives-text.spec.ts#L30
2) [chromium] › interactivity/directives-text.spec.ts:28:6 › data-wp-text › show proper text reading from context
Error: expect(received).toHaveText(expected)
Expected string: "Text 1"
Received string: ""
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByTestId('show context text')
- locator resolved to <span data-wp-text="context.text" data-testid="show co…></span>
- unexpected value ""
- waiting for getByTestId('show context text')
- locator resolved to <span data-wp-text="context.text" data-testid="show co…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="context.text" data-testid="show co…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="context.text" data-testid="show co…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="context.text" data-testid="show co…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="context.text" data-testid="show co…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="context.text" data-testid="show co…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="context.text" data-testid="show co…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="context.text" data-testid="show co…></span>
- unexpected value ""
28 | test( 'show proper text reading from context', async ( { page } ) => {
29 | const el = page.getByTestId( 'show context text' );
> 30 | await expect( el ).toHaveText( 'Text 1' );
| ^
31 | await page.getByTestId( 'toggle context text' ).click();
32 | await expect( el ).toHaveText( 'Text 2' );
33 | await page.getByTestId( 'toggle context text' ).click();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-text.spec.ts:30:22
|
[chromium] › interactivity/directives-text.spec.ts:28:6 › data-wp-text › show proper text reading from context:
test/e2e/specs/interactivity/directives-text.spec.ts#L30
2) [chromium] › interactivity/directives-text.spec.ts:28:6 › data-wp-text › show proper text reading from context
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toHaveText(expected)
Expected string: "Text 1"
Received string: ""
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByTestId('show context text')
- locator resolved to <span data-wp-text="context.text" data-testid="show co…></span>
- unexpected value ""
- waiting for getByTestId('show context text')
- locator resolved to <span data-wp-text="context.text" data-testid="show co…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="context.text" data-testid="show co…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="context.text" data-testid="show co…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="context.text" data-testid="show co…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="context.text" data-testid="show co…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="context.text" data-testid="show co…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="context.text" data-testid="show co…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="context.text" data-testid="show co…></span>
- unexpected value ""
28 | test( 'show proper text reading from context', async ( { page } ) => {
29 | const el = page.getByTestId( 'show context text' );
> 30 | await expect( el ).toHaveText( 'Text 1' );
| ^
31 | await page.getByTestId( 'toggle context text' ).click();
32 | await expect( el ).toHaveText( 'Text 2' );
33 | await page.getByTestId( 'toggle context text' ).click();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-text.spec.ts:30:22
|
[chromium] › interactivity/directives-text.spec.ts:28:6 › data-wp-text › show proper text reading from context:
test/e2e/specs/interactivity/directives-text.spec.ts#L30
2) [chromium] › interactivity/directives-text.spec.ts:28:6 › data-wp-text › show proper text reading from context
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toHaveText(expected)
Expected string: "Text 1"
Received string: ""
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByTestId('show context text')
- locator resolved to <span data-wp-text="context.text" data-testid="show co…></span>
- unexpected value ""
- waiting for getByTestId('show context text')
- locator resolved to <span data-wp-text="context.text" data-testid="show co…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="context.text" data-testid="show co…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="context.text" data-testid="show co…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="context.text" data-testid="show co…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="context.text" data-testid="show co…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="context.text" data-testid="show co…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="context.text" data-testid="show co…></span>
- unexpected value ""
- locator resolved to <span data-wp-text="context.text" data-testid="show co…></span>
- unexpected value ""
28 | test( 'show proper text reading from context', async ( { page } ) => {
29 | const el = page.getByTestId( 'show context text' );
> 30 | await expect( el ).toHaveText( 'Text 1' );
| ^
31 | await page.getByTestId( 'toggle context text' ).click();
32 | await expect( el ).toHaveText( 'Text 2' );
33 | await page.getByTestId( 'toggle context text' ).click();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directives-text.spec.ts:30:22
|
[chromium] › interactivity/negation-operator.spec.ts:21:6 › negation-operator › add hidden attribute when !state.active:
test/e2e/specs/interactivity/negation-operator.spec.ts#L26
3) [chromium] › interactivity/negation-operator.spec.ts:21:6 › negation-operator › add hidden attribute when !state.active
Error: expect(received).toHaveAttribute(expected)
Expected string: ""
Received string: serializes to the same string
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByTestId('add hidden attribute if state is not active')
- locator resolved to <div data-wp-bind--hidden="!state.active" data-testid…></div>
- unexpected value "null"
- waiting for getByTestId('add hidden attribute if state is not active')
- locator resolved to <div data-wp-bind--hidden="!state.active" data-testid…></div>
- unexpected value "null"
- locator resolved to <div data-wp-bind--hidden="!state.active" data-testid…></div>
- unexpected value "null"
- locator resolved to <div data-wp-bind--hidden="!state.active" data-testid…></div>
- unexpected value "null"
- locator resolved to <div data-wp-bind--hidden="!state.active" data-testid…></div>
- unexpected value "null"
- locator resolved to <div data-wp-bind--hidden="!state.active" data-testid…></div>
- unexpected value "null"
- locator resolved to <div data-wp-bind--hidden="!state.active" data-testid…></div>
- unexpected value "null"
- locator resolved to <div data-wp-bind--hidden="!state.active" data-testid…></div>
- unexpected value "null"
- locator resolved to <div data-wp-bind--hidden="!state.active" data-testid…></div>
- unexpected value "null"
24 | );
25 |
> 26 | await expect( el ).toHaveAttribute( 'hidden', '' );
| ^
27 | await page.getByTestId( 'toggle active value' ).click();
28 | await expect( el ).not.toHaveAttribute( 'hidden', '' );
29 | await page.getByTestId( 'toggle active value' ).click();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/negation-operator.spec.ts:26:22
|
[chromium] › interactivity/negation-operator.spec.ts:21:6 › negation-operator › add hidden attribute when !state.active:
test/e2e/specs/interactivity/negation-operator.spec.ts#L26
3) [chromium] › interactivity/negation-operator.spec.ts:21:6 › negation-operator › add hidden attribute when !state.active
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toHaveAttribute(expected)
Expected string: ""
Received string: serializes to the same string
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByTestId('add hidden attribute if state is not active')
- locator resolved to <div data-wp-bind--hidden="!state.active" data-testid…></div>
- unexpected value "null"
- waiting for getByTestId('add hidden attribute if state is not active')
- locator resolved to <div data-wp-bind--hidden="!state.active" data-testid…></div>
- unexpected value "null"
- locator resolved to <div data-wp-bind--hidden="!state.active" data-testid…></div>
- unexpected value "null"
- locator resolved to <div data-wp-bind--hidden="!state.active" data-testid…></div>
- unexpected value "null"
- locator resolved to <div data-wp-bind--hidden="!state.active" data-testid…></div>
- unexpected value "null"
- locator resolved to <div data-wp-bind--hidden="!state.active" data-testid…></div>
- unexpected value "null"
- locator resolved to <div data-wp-bind--hidden="!state.active" data-testid…></div>
- unexpected value "null"
- locator resolved to <div data-wp-bind--hidden="!state.active" data-testid…></div>
- unexpected value "null"
- locator resolved to <div data-wp-bind--hidden="!state.active" data-testid…></div>
- unexpected value "null"
24 | );
25 |
> 26 | await expect( el ).toHaveAttribute( 'hidden', '' );
| ^
27 | await page.getByTestId( 'toggle active value' ).click();
28 | await expect( el ).not.toHaveAttribute( 'hidden', '' );
29 | await page.getByTestId( 'toggle active value' ).click();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/negation-operator.spec.ts:26:22
|
[chromium] › interactivity/negation-operator.spec.ts:21:6 › negation-operator › add hidden attribute when !state.active:
test/e2e/specs/interactivity/negation-operator.spec.ts#L26
3) [chromium] › interactivity/negation-operator.spec.ts:21:6 › negation-operator › add hidden attribute when !state.active
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toHaveAttribute(expected)
Expected string: ""
Received string: serializes to the same string
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByTestId('add hidden attribute if state is not active')
- locator resolved to <div data-wp-bind--hidden="!state.active" data-testid…></div>
- unexpected value "null"
- waiting for getByTestId('add hidden attribute if state is not active')
- locator resolved to <div data-wp-bind--hidden="!state.active" data-testid…></div>
- unexpected value "null"
- locator resolved to <div data-wp-bind--hidden="!state.active" data-testid…></div>
- unexpected value "null"
- locator resolved to <div data-wp-bind--hidden="!state.active" data-testid…></div>
- unexpected value "null"
- locator resolved to <div data-wp-bind--hidden="!state.active" data-testid…></div>
- unexpected value "null"
- locator resolved to <div data-wp-bind--hidden="!state.active" data-testid…></div>
- unexpected value "null"
- locator resolved to <div data-wp-bind--hidden="!state.active" data-testid…></div>
- unexpected value "null"
- locator resolved to <div data-wp-bind--hidden="!state.active" data-testid…></div>
- unexpected value "null"
- locator resolved to <div data-wp-bind--hidden="!state.active" data-testid…></div>
- unexpected value "null"
24 | );
25 |
> 26 | await expect( el ).toHaveAttribute( 'hidden', '' );
| ^
27 | await page.getByTestId( 'toggle active value' ).click();
28 | await expect( el ).not.toHaveAttribute( 'hidden', '' );
29 | await page.getByTestId( 'toggle active value' ).click();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/negation-operator.spec.ts:26:22
|
[chromium] › interactivity/negation-operator.spec.ts:33:6 › negation-operator › add hidden attribute when !selectors.active:
test/e2e/specs/interactivity/negation-operator.spec.ts#L38
4) [chromium] › interactivity/negation-operator.spec.ts:33:6 › negation-operator › add hidden attribute when !selectors.active
Error: expect(received).toHaveAttribute(expected)
Expected string: ""
Received string: serializes to the same string
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByTestId('add hidden attribute if selector is not active')
- locator resolved to <div data-wp-bind--hidden="!selectors.active" data-te…></div>
- unexpected value "null"
- waiting for getByTestId('add hidden attribute if selector is not active')
- locator resolved to <div data-wp-bind--hidden="!selectors.active" data-te…></div>
- unexpected value "null"
- locator resolved to <div data-wp-bind--hidden="!selectors.active" data-te…></div>
- unexpected value "null"
- locator resolved to <div data-wp-bind--hidden="!selectors.active" data-te…></div>
- unexpected value "null"
- locator resolved to <div data-wp-bind--hidden="!selectors.active" data-te…></div>
- unexpected value "null"
- locator resolved to <div data-wp-bind--hidden="!selectors.active" data-te…></div>
- unexpected value "null"
- locator resolved to <div data-wp-bind--hidden="!selectors.active" data-te…></div>
- unexpected value "null"
- locator resolved to <div data-wp-bind--hidden="!selectors.active" data-te…></div>
- unexpected value "null"
- locator resolved to <div data-wp-bind--hidden="!selectors.active" data-te…></div>
- unexpected value "null"
36 | );
37 |
> 38 | await expect( el ).toHaveAttribute( 'hidden', '' );
| ^
39 | await page.getByTestId( 'toggle active value' ).click();
40 | await expect( el ).not.toHaveAttribute( 'hidden', '' );
41 | await page.getByTestId( 'toggle active value' ).click();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/negation-operator.spec.ts:38:22
|
[chromium] › editor/various/writing-flow.spec.js:1120:2 › Writing Flow (@firefox:
test/e2e/specs/editor/various/writing-flow.spec.js#L1142
1) [chromium] › editor/various/writing-flow.spec.js:1120:2 › Writing Flow (@Firefox, @WebKit) › should select synced pattern
Error: expect(received).toBeFocused()
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').locator('[data-type="core/block"]')
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
- waiting for frameLocator('[name="editor-canvas"]').locator('[data-type="core/block"]')
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
1140 | await expect(
1141 | editor.canvas.locator( '[data-type="core/block"]' )
> 1142 | ).toBeFocused();
| ^
1143 | } );
1144 | } );
1145 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/writing-flow.spec.js:1142:5
|
[chromium] › editor/various/writing-flow.spec.js:1120:2 › Writing Flow (@firefox:
test/e2e/specs/editor/various/writing-flow.spec.js#L1142
1) [chromium] › editor/various/writing-flow.spec.js:1120:2 › Writing Flow (@Firefox, @WebKit) › should select synced pattern
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeFocused()
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').locator('[data-type="core/block"]')
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
- waiting for frameLocator('[name="editor-canvas"]').locator('[data-type="core/block"]')
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
1140 | await expect(
1141 | editor.canvas.locator( '[data-type="core/block"]' )
> 1142 | ).toBeFocused();
| ^
1143 | } );
1144 | } );
1145 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/writing-flow.spec.js:1142:5
|
[chromium] › editor/various/writing-flow.spec.js:1120:2 › Writing Flow (@firefox:
test/e2e/specs/editor/various/writing-flow.spec.js#L1142
1) [chromium] › editor/various/writing-flow.spec.js:1120:2 › Writing Flow (@Firefox, @WebKit) › should select synced pattern
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeFocused()
Call log:
- expect.toBeFocused with timeout 5000ms
- waiting for frameLocator('[name="editor-canvas"]').locator('[data-type="core/block"]')
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
- waiting for frameLocator('[name="editor-canvas"]').locator('[data-type="core/block"]')
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
- locator resolved to <div tabindex="0" role="document" data-title="Pattern…>…</div>
- unexpected value "not focused"
1140 | await expect(
1141 | editor.canvas.locator( '[data-type="core/block"]' )
> 1142 | ).toBeFocused();
| ^
1143 | } );
1144 | } );
1145 |
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/writing-flow.spec.js:1142:5
|
[chromium] › interactivity/directive-bind.spec.ts:21:6 › data-wp-bind › add missing href at hydration:
test/e2e/specs/interactivity/directive-bind.spec.ts#L23
2) [chromium] › interactivity/directive-bind.spec.ts:21:6 › data-wp-bind › add missing href at hydration
Error: expect(received).toHaveAttribute(expected)
Expected string: "/some-url"
Received string: ""
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByTestId('add missing href at hydration')
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
- waiting for getByTestId('add missing href at hydration')
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
21 | test( 'add missing href at hydration', async ( { page } ) => {
22 | const el = page.getByTestId( 'add missing href at hydration' );
> 23 | await expect( el ).toHaveAttribute( 'href', '/some-url' );
| ^
24 | } );
25 |
26 | test( 'change href at hydration', async ( { page } ) => {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-bind.spec.ts:23:22
|
[chromium] › interactivity/directive-bind.spec.ts:21:6 › data-wp-bind › add missing href at hydration:
test/e2e/specs/interactivity/directive-bind.spec.ts#L23
2) [chromium] › interactivity/directive-bind.spec.ts:21:6 › data-wp-bind › add missing href at hydration
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toHaveAttribute(expected)
Expected string: "/some-url"
Received string: ""
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByTestId('add missing href at hydration')
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
- waiting for getByTestId('add missing href at hydration')
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
21 | test( 'add missing href at hydration', async ( { page } ) => {
22 | const el = page.getByTestId( 'add missing href at hydration' );
> 23 | await expect( el ).toHaveAttribute( 'href', '/some-url' );
| ^
24 | } );
25 |
26 | test( 'change href at hydration', async ( { page } ) => {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-bind.spec.ts:23:22
|
[chromium] › interactivity/directive-bind.spec.ts:21:6 › data-wp-bind › add missing href at hydration:
test/e2e/specs/interactivity/directive-bind.spec.ts#L23
2) [chromium] › interactivity/directive-bind.spec.ts:21:6 › data-wp-bind › add missing href at hydration
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toHaveAttribute(expected)
Expected string: "/some-url"
Received string: ""
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByTestId('add missing href at hydration')
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
- waiting for getByTestId('add missing href at hydration')
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
21 | test( 'add missing href at hydration', async ( { page } ) => {
22 | const el = page.getByTestId( 'add missing href at hydration' );
> 23 | await expect( el ).toHaveAttribute( 'href', '/some-url' );
| ^
24 | } );
25 |
26 | test( 'change href at hydration', async ( { page } ) => {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-bind.spec.ts:23:22
|
[chromium] › interactivity/directive-bind.spec.ts:26:6 › data-wp-bind › change href at hydration:
test/e2e/specs/interactivity/directive-bind.spec.ts#L28
3) [chromium] › interactivity/directive-bind.spec.ts:26:6 › data-wp-bind › change href at hydration
Error: expect(received).toHaveAttribute(expected)
Expected string: "/some-url"
Received string: "/other-url"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByTestId('change href at hydration')
- locator resolved to <a href="/other-url" data-wp-bind--href="state.url"…></a>
- unexpected value "/other-url"
- waiting for getByTestId('change href at hydration')
- locator resolved to <a href="/other-url" data-wp-bind--href="state.url"…></a>
- unexpected value "/other-url"
- locator resolved to <a href="/other-url" data-wp-bind--href="state.url"…></a>
- unexpected value "/other-url"
- locator resolved to <a href="/other-url" data-wp-bind--href="state.url"…></a>
- unexpected value "/other-url"
- locator resolved to <a href="/other-url" data-wp-bind--href="state.url"…></a>
- unexpected value "/other-url"
- locator resolved to <a href="/other-url" data-wp-bind--href="state.url"…></a>
- unexpected value "/other-url"
- locator resolved to <a href="/other-url" data-wp-bind--href="state.url"…></a>
- unexpected value "/other-url"
- locator resolved to <a href="/other-url" data-wp-bind--href="state.url"…></a>
- unexpected value "/other-url"
- locator resolved to <a href="/other-url" data-wp-bind--href="state.url"…></a>
- unexpected value "/other-url"
26 | test( 'change href at hydration', async ( { page } ) => {
27 | const el = page.getByTestId( 'change href at hydration' );
> 28 | await expect( el ).toHaveAttribute( 'href', '/some-url' );
| ^
29 | } );
30 |
31 | test( 'update missing href at hydration', async ( { page } ) => {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-bind.spec.ts:28:22
|
[chromium] › interactivity/directive-bind.spec.ts:26:6 › data-wp-bind › change href at hydration:
test/e2e/specs/interactivity/directive-bind.spec.ts#L28
3) [chromium] › interactivity/directive-bind.spec.ts:26:6 › data-wp-bind › change href at hydration
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toHaveAttribute(expected)
Expected string: "/some-url"
Received string: "/other-url"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByTestId('change href at hydration')
- locator resolved to <a href="/other-url" data-wp-bind--href="state.url"…></a>
- unexpected value "/other-url"
- waiting for getByTestId('change href at hydration')
- locator resolved to <a href="/other-url" data-wp-bind--href="state.url"…></a>
- unexpected value "/other-url"
- locator resolved to <a href="/other-url" data-wp-bind--href="state.url"…></a>
- unexpected value "/other-url"
- locator resolved to <a href="/other-url" data-wp-bind--href="state.url"…></a>
- unexpected value "/other-url"
- locator resolved to <a href="/other-url" data-wp-bind--href="state.url"…></a>
- unexpected value "/other-url"
- locator resolved to <a href="/other-url" data-wp-bind--href="state.url"…></a>
- unexpected value "/other-url"
- locator resolved to <a href="/other-url" data-wp-bind--href="state.url"…></a>
- unexpected value "/other-url"
- locator resolved to <a href="/other-url" data-wp-bind--href="state.url"…></a>
- unexpected value "/other-url"
- locator resolved to <a href="/other-url" data-wp-bind--href="state.url"…></a>
- unexpected value "/other-url"
26 | test( 'change href at hydration', async ( { page } ) => {
27 | const el = page.getByTestId( 'change href at hydration' );
> 28 | await expect( el ).toHaveAttribute( 'href', '/some-url' );
| ^
29 | } );
30 |
31 | test( 'update missing href at hydration', async ( { page } ) => {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-bind.spec.ts:28:22
|
[chromium] › interactivity/directive-bind.spec.ts:26:6 › data-wp-bind › change href at hydration:
test/e2e/specs/interactivity/directive-bind.spec.ts#L28
3) [chromium] › interactivity/directive-bind.spec.ts:26:6 › data-wp-bind › change href at hydration
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toHaveAttribute(expected)
Expected string: "/some-url"
Received string: "/other-url"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByTestId('change href at hydration')
- locator resolved to <a href="/other-url" data-wp-bind--href="state.url"…></a>
- unexpected value "/other-url"
- waiting for getByTestId('change href at hydration')
- locator resolved to <a href="/other-url" data-wp-bind--href="state.url"…></a>
- unexpected value "/other-url"
- locator resolved to <a href="/other-url" data-wp-bind--href="state.url"…></a>
- unexpected value "/other-url"
- locator resolved to <a href="/other-url" data-wp-bind--href="state.url"…></a>
- unexpected value "/other-url"
- locator resolved to <a href="/other-url" data-wp-bind--href="state.url"…></a>
- unexpected value "/other-url"
- locator resolved to <a href="/other-url" data-wp-bind--href="state.url"…></a>
- unexpected value "/other-url"
- locator resolved to <a href="/other-url" data-wp-bind--href="state.url"…></a>
- unexpected value "/other-url"
- locator resolved to <a href="/other-url" data-wp-bind--href="state.url"…></a>
- unexpected value "/other-url"
- locator resolved to <a href="/other-url" data-wp-bind--href="state.url"…></a>
- unexpected value "/other-url"
26 | test( 'change href at hydration', async ( { page } ) => {
27 | const el = page.getByTestId( 'change href at hydration' );
> 28 | await expect( el ).toHaveAttribute( 'href', '/some-url' );
| ^
29 | } );
30 |
31 | test( 'update missing href at hydration', async ( { page } ) => {
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-bind.spec.ts:28:22
|
[chromium] › interactivity/directive-bind.spec.ts:31:6 › data-wp-bind › update missing href at hydration:
test/e2e/specs/interactivity/directive-bind.spec.ts#L33
4) [chromium] › interactivity/directive-bind.spec.ts:31:6 › data-wp-bind › update missing href at hydration
Error: expect(received).toHaveAttribute(expected)
Expected string: "/some-url"
Received string: ""
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for getByTestId('add missing href at hydration')
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
- waiting for getByTestId('add missing href at hydration')
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
- locator resolved to <a data-wp-bind--href="state.url" data-testid="add …></a>
- unexpected value "null"
31 | test( 'update missing href at hydration', async ( { page } ) => {
32 | const el = page.getByTestId( 'add missing href at hydration' );
> 33 | await expect( el ).toHaveAttribute( 'href', '/some-url' );
| ^
34 | await page.getByTestId( 'toggle' ).click();
35 | await expect( el ).toHaveAttribute( 'href', '/some-other-url' );
36 | } );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/interactivity/directive-bind.spec.ts:33:22
|
Playwright - 2
The hosted runner: GitHub Actions 11 lost communication with the server. Anything in your workflow that terminates the runner process, starves it for CPU/Memory, or blocks its network access can cause this error.
|
🎭 Playwright Run Summary
4 failed
[chromium] › editor/blocks/buttons.spec.js:167:2 › Buttons › can toggle button link settings ───
[chromium] › editor/blocks/cover.spec.js:74:2 › Cover › dims background image down by 50% with the average image color when an image is uploaded
[chromium] › editor/blocks/list.spec.js:1381:2 › List (@Firefox) › selects all transformed output
[chromium] › editor/local/demo.spec.js:7:2 › New editor state › content should load, making the post dirty
2 flaky
[chromium] › editor/blocks/links.spec.js:525:2 › Links › can be created by selecting text and using keyboard shortcuts
[chromium] › editor/blocks/navigation-frontend-interactivity.spec.js:45:3 › Navigation block - Frontend interactivity › Overlay menu › Overlay menu interactions
11 skipped
223 passed (14.0m)
|
🎭 Playwright Run Summary
28 failed
[chromium] › interactivity/directives-text.spec.ts:19:6 › data-wp-text › show proper text reading from state
[chromium] › interactivity/directives-text.spec.ts:28:6 › data-wp-text › show proper text reading from context
[chromium] › interactivity/negation-operator.spec.ts:21:6 › negation-operator › add hidden attribute when !state.active
[chromium] › interactivity/negation-operator.spec.ts:33:6 › negation-operator › add hidden attribute when !selectors.active
[chromium] › interactivity/router-navigate.spec.ts:32:6 › Router navigate › should update the HTML only for the latest navigation
[chromium] › interactivity/router-navigate.spec.ts:78:6 › Router navigate › should update the URL from the last navigation if only varies in the URL fragment
[chromium] › interactivity/router-navigate.spec.ts:124:6 › Router navigate › should reload the next page when the timeout ends
[chromium] › interactivity/router-regions.spec.ts:28:6 › Router regions › should be the only part hydrated
[chromium] › interactivity/router-regions.spec.ts:40:6 › Router regions › should update after navigation
[chromium] › interactivity/router-regions.spec.ts:58:6 › Router regions › should preserve state across pages
[chromium] › interactivity/router-regions.spec.ts:74:6 › Router regions › should preserve context across pages
[chromium] › interactivity/router-regions.spec.ts:90:6 › Router regions › can be nested ────────
[chromium] › interactivity/router-regions.spec.ts:101:6 › Router regions › Page title is updated 2
[chromium] › interactivity/store-afterload.spec.ts:21:6 › store afterLoad callbacks › run after the vdom and store are ready
[chromium] › interactivity/store-afterload.spec.ts:29:6 › store afterLoad callbacks › run once even if shared between several store calls
[chromium] › interactivity/store-tag.spec.ts:26:6 › store tag › hydrates when it is well defined
[chromium] › interactivity/store-tag.spec.ts:48:6 › store tag › does not break the page when missing
[chromium] › interactivity/store-tag.spec.ts:61:6 › store tag › does not break the page when corrupted
[chromium] › interactivity/store-tag.spec.ts:74:6 › store tag › does not break the page when it contains an invalid state
[chromium] › interactivity/tovdom-islands.spec.ts:26:6 › toVdom - islands › directives that are inside islands should be hydrated
[chromium] › interactivity/tovdom-islands.spec.ts:42:6 › toVdom - islands › directives inside islands should not be hydrated twice
[chromium] › interactivity/tovdom-islands.spec.ts:50:6 › toVdom - islands › islands inside inner blocks of isolated islands should be hydrated
[chromium] › interactivity/tovdom.spec.ts:19:6 › toVdom › it should delete comments ────────────
[chromium] › interactivity/tovdom.spec.ts:30:6 › toVdom › it should delete processing instructions
[webkit] › editor/various/autocomplete-and-mentions.spec.js:509:2 › Autocomplete (@Firefox, @WebKit) › should allow speaking number of initial results
[webkit] › editor/various/writing-flow.spec.js:1120:2 › Writing Flow (@Firefox, @WebKit) › should select synced pattern
[firefox] › editor/blocks/list.spec.js:1381:2 › List (@Firefox) › selects all transformed output
[firefox] › editor/various/autocomplete-and-mentions.spec.js:509:2 › Autocomplete (@Firefox, @WebKit) › should allow speaking number of initial results
1 flaky
[webkit] › editor/various/multi-block-selection.spec.js:1169:2 › Multi-block selection › should partially select with shift + click (@WebKit)
2 skipped
201 passed (22.7m)
|
🎭 Playwright Run Summary
75 failed
[chromium] › editor/various/writing-flow.spec.js:1120:2 › Writing Flow (@Firefox, @WebKit) › should select synced pattern
[chromium] › interactivity/directive-bind.spec.ts:21:6 › data-wp-bind › add missing href at hydration
[chromium] › interactivity/directive-bind.spec.ts:26:6 › data-wp-bind › change href at hydration
[chromium] › interactivity/directive-bind.spec.ts:31:6 › data-wp-bind › update missing href at hydration
[chromium] › interactivity/directive-bind.spec.ts:38:6 › data-wp-bind › add missing checked at hydration
[chromium] › interactivity/directive-bind.spec.ts:43:6 › data-wp-bind › remove existing checked at hydration
[chromium] › interactivity/directive-bind.spec.ts:48:6 › data-wp-bind › update existing checked
[chromium] › interactivity/directive-bind.spec.ts:70:6 › data-wp-bind › nested binds ───────────
[chromium] › interactivity/directive-bind.spec.ts:80:6 › data-wp-bind › check enumerated attributes with true/false values
[chromium] › interactivity/directive-bind.spec.ts:203:8 › data-wp-bind › attribute hydration › width is correctly hydrated for different values
[chromium] › interactivity/directive-bind.spec.ts:203:8 › data-wp-bind › attribute hydration › name is correctly hydrated for different values
[chromium] › interactivity/directive-bind.spec.ts:203:8 › data-wp-bind › attribute hydration › value is correctly hydrated for different values
[chromium] › interactivity/directive-bind.spec.ts:203:8 › data-wp-bind › attribute hydration › disabled is correctly hydrated for different values
[chromium] › interactivity/directive-bind.spec.ts:203:8 › data-wp-bind › attribute hydration › aria-disabled is correctly hydrated for different values
[chromium] › interactivity/directive-effect.spec.ts:21:6 › data-wp-effect › check that effect runs when it is added
[chromium] › interactivity/directive-effect.spec.ts:26:6 › data-wp-effect › check that effect runs when it is removed
[chromium] › interactivity/directive-effect.spec.ts:32:6 › data-wp-effect › change focus after DOM changes
[chromium] › interactivity/directive-effect.spec.ts:40:6 › data-wp-effect › short-circuit infinite loops
[chromium] › interactivity/directive-init.spec.ts:21:6 › data-wp-init › should run when the block renders
[chromium] › interactivity/directive-init.spec.ts:27:6 › data-wp-init › should not run again if accessed signals change
[chromium] › interactivity/directive-init.spec.ts:37:6 › data-wp-init › should run multiple inits if defined
[chromium] › interactivity/directive-init.spec.ts:43:6 › data-wp-init › should run the init callback when the element is unmounted
[chromium] › interactivity/directive-init.spec.ts:60:6 › data-wp-init › should run init when the element is mounted
[chromium] › interactivity/directive-key.spec.ts:21:6 › data-wp-key › should keep the elements when adding items to the start of the array
[chromium] › interactivity/directive-on.spec.ts:21:6 › data-wp-on › callbacks should run whenever the specified event is dispatched
[chromium] › interactivity/directive-on.spec.ts:31:6 › data-wp-on › callbacks should receive the dispatched event
[chromium] › interactivity/directive-on.spec.ts:39:6 › data-wp-on › callbacks should be able to access the context
[chromium] › interactivity/directive-on.spec.ts:47:6 › data-wp-on › should work with custom events
[chromium] › interactivity/directive-priorities.spec.ts:21:6 › Directives (w/ priority) › should run in priority order
[chromium] › interactivity/directive-priorities.spec.ts:28:6 › Directives (w/ priority) › should wrap those with less priority
[chromium] › interactivity/directive-priorities.spec.ts:42:6 › Directives (w/ priority) › should propagate element modifications top-down
[chromium] › interactivity/directive-priorities.spec.ts:85:6 › Directives (w/ priority) › should not create a Directives component if none of the directives are registered
[chromium] › interactivity/directive-slots.spec.ts:2
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
170 MB |
|
flaky-tests-report
Expired
|
14.6 KB |
|