Skip to content

Settings: Show message when Visual or Code editor are disabled #78768

Settings: Show message when Visual or Code editor are disabled

Settings: Show message when Visual or Code editor are disabled #78768

Triggered via pull request July 18, 2023 16:34
Status Failure
Total duration 32m 22s
Artifacts 2

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Matrix: e2e-puppeteer
Report to GitHub
3m 25s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 4 notices
[chromium] › site-editor/template-part.spec.js:296:2 › Template Part › can import a widget area into an empty template part: test/e2e/specs/site-editor/template-part.spec.js#L316
1) [chromium] › site-editor/template-part.spec.js:296:2 › Template Part › can import a widget area into an empty template part TimeoutError: locator.selectOption: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('combobox', { name: 'Import widget area' }) ============================================================ 314 | await page 315 | .getByRole( 'combobox', { name: 'Import widget area' } ) > 316 | .selectOption( 'sidebar-1' ); | ^ 317 | await page.getByRole( 'button', { name: 'Import' } ).click(); 318 | 319 | // Verify that the widget area was imported. at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part.spec.js:316:5
[chromium] › site-editor/template-part.spec.js:296:2 › Template Part › can import a widget area into an empty template part: test/e2e/specs/site-editor/template-part.spec.js#L316
1) [chromium] › site-editor/template-part.spec.js:296:2 › Template Part › can import a widget area into an empty template part Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.selectOption: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('combobox', { name: 'Import widget area' }) ============================================================ 314 | await page 315 | .getByRole( 'combobox', { name: 'Import widget area' } ) > 316 | .selectOption( 'sidebar-1' ); | ^ 317 | await page.getByRole( 'button', { name: 'Import' } ).click(); 318 | 319 | // Verify that the widget area was imported. at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part.spec.js:316:5
[chromium] › site-editor/template-part.spec.js:296:2 › Template Part › can import a widget area into an empty template part: test/e2e/specs/site-editor/template-part.spec.js#L316
1) [chromium] › site-editor/template-part.spec.js:296:2 › Template Part › can import a widget area into an empty template part Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.selectOption: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('combobox', { name: 'Import widget area' }) ============================================================ 314 | await page 315 | .getByRole( 'combobox', { name: 'Import widget area' } ) > 316 | .selectOption( 'sidebar-1' ); | ^ 317 | await page.getByRole( 'button', { name: 'Import' } ).click(); 318 | 319 | // Verify that the widget area was imported. at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/site-editor/template-part.spec.js:316:5
[chromium] › editor/various/preview.spec.js:17:2 › Preview › should open a preview window for a new post: test/e2e/specs/editor/various/preview.spec.js#L1
2) [chromium] › editor/various/preview.spec.js:17:2 › Preview › should open a preview window for a new post Test timeout of 100000ms exceeded.
[chromium] › editor/various/preview.spec.js:17:2 › Preview › should open a preview window for a new post: test/e2e/specs/editor/various/preview.spec.js#L319
2) [chromium] › editor/various/preview.spec.js:17:2 › Preview › should open a preview window for a new post Error: page.waitForNavigation: Navigation failed because page was closed! =========================== logs =========================== waiting for navigation until "load" ============================================================ 317 | 318 | await this.page.click( 'role=menuitem[name="Preview in new tab"i]' ); > 319 | return previewPage.waitForNavigation(); | ^ 320 | } 321 | 322 | async toggleCustomFieldsOption( shouldBeChecked ) { at PreviewUtils.waitForPreviewNavigation (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/preview.spec.js:319:22) at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/preview.spec.js:94:3
Playwright - 3
Process completed with exit code 1.
[chromium] › editor/blocks/image.spec.js:797:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes: test/e2e/specs/editor/blocks/image.spec.js#L789
1) [chromium] › editor/blocks/image.spec.js:797:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes Error: expect(received).toHaveAttribute(expected) Expected pattern: /d9072394-d214-4d06-ad28-baed541cfe73/ Received string: "blob:http://localhost:8889/e72fb397-2897-4371-8ea5-bda9338df341" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('role=document[name="Block: Image"i]').locator('role=img') - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e72fb397-2897-4371-8ea5-bda9338df341" - waiting for locator('role=document[name="Block: Image"i]').locator('role=img') - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e72fb397-2897-4371-8ea5-bda9338df341" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e72fb397-2897-4371-8ea5-bda9338df341" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e72fb397-2897-4371-8ea5-bda9338df341" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e72fb397-2897-4371-8ea5-bda9338df341" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e72fb397-2897-4371-8ea5-bda9338df341" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e72fb397-2897-4371-8ea5-bda9338df341" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e72fb397-2897-4371-8ea5-bda9338df341" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/e72fb397-2897-4371-8ea5-bda9338df341" 787 | const image = imageBlock.locator( 'role=img' ); 788 | await expect( image ).toBeVisible(); > 789 | await expect( image ).toHaveAttribute( | ^ 790 | 'src', 791 | new RegExp( filename ) 792 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:789:26
[chromium] › editor/blocks/image.spec.js:797:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes: test/e2e/specs/editor/blocks/image.spec.js#L789
1) [chromium] › editor/blocks/image.spec.js:797:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toHaveAttribute(expected) Expected pattern: /ab0a019a-23f3-411c-84ec-34d2f878c1bd/ Received string: "blob:http://localhost:8889/58df401c-74eb-439e-a00b-8025cc7a2feb" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('role=document[name="Block: Image"i]').locator('role=img') - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/58df401c-74eb-439e-a00b-8025cc7a2feb" - waiting for locator('role=document[name="Block: Image"i]').locator('role=img') - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/58df401c-74eb-439e-a00b-8025cc7a2feb" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/58df401c-74eb-439e-a00b-8025cc7a2feb" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/58df401c-74eb-439e-a00b-8025cc7a2feb" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/58df401c-74eb-439e-a00b-8025cc7a2feb" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/58df401c-74eb-439e-a00b-8025cc7a2feb" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/58df401c-74eb-439e-a00b-8025cc7a2feb" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/58df401c-74eb-439e-a00b-8025cc7a2feb" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/58df401c-74eb-439e-a00b-8025cc7a2feb" 787 | const image = imageBlock.locator( 'role=img' ); 788 | await expect( image ).toBeVisible(); > 789 | await expect( image ).toHaveAttribute( | ^ 790 | 'src', 791 | new RegExp( filename ) 792 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:789:26
[chromium] › editor/blocks/image.spec.js:797:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes: test/e2e/specs/editor/blocks/image.spec.js#L789
1) [chromium] › editor/blocks/image.spec.js:797:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toHaveAttribute(expected) Expected pattern: /0760dd91-67a9-4cd4-afc4-f235f3af7c36/ Received string: "blob:http://localhost:8889/a6f84ce3-46a3-4bc2-b04f-c93e346db9e1" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('role=document[name="Block: Image"i]').locator('role=img') - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/a6f84ce3-46a3-4bc2-b04f-c93e346db9e1" - waiting for locator('role=document[name="Block: Image"i]').locator('role=img') - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/a6f84ce3-46a3-4bc2-b04f-c93e346db9e1" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/a6f84ce3-46a3-4bc2-b04f-c93e346db9e1" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/a6f84ce3-46a3-4bc2-b04f-c93e346db9e1" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/a6f84ce3-46a3-4bc2-b04f-c93e346db9e1" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/a6f84ce3-46a3-4bc2-b04f-c93e346db9e1" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/a6f84ce3-46a3-4bc2-b04f-c93e346db9e1" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/a6f84ce3-46a3-4bc2-b04f-c93e346db9e1" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/a6f84ce3-46a3-4bc2-b04f-c93e346db9e1" 787 | const image = imageBlock.locator( 'role=img' ); 788 | await expect( image ).toBeVisible(); > 789 | await expect( image ).toHaveAttribute( | ^ 790 | 'src', 791 | new RegExp( filename ) 792 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:789:26
[chromium] › editor/blocks/image.spec.js:840:4 › Image - interactivity › tests using uploaded image › should open and close the image in a lightbox when using a mouse and dynamically load src › zoom animation: test/e2e/specs/editor/blocks/image.spec.js#L789
2) [chromium] › editor/blocks/image.spec.js:840:4 › Image - interactivity › tests using uploaded image › should open and close the image in a lightbox when using a mouse and dynamically load src › zoom animation Error: expect(received).toHaveAttribute(expected) Expected pattern: /9b01c173-18df-4cc8-93bc-625c8b263e5f/ Received string: "blob:http://localhost:8889/d9ccdca8-92fb-4d73-9630-df0643116727" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('role=document[name="Block: Image"i]').locator('role=img') - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/d9ccdca8-92fb-4d73-9630-df0643116727" - waiting for locator('role=document[name="Block: Image"i]').locator('role=img') - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/d9ccdca8-92fb-4d73-9630-df0643116727" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/d9ccdca8-92fb-4d73-9630-df0643116727" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/d9ccdca8-92fb-4d73-9630-df0643116727" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/d9ccdca8-92fb-4d73-9630-df0643116727" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/d9ccdca8-92fb-4d73-9630-df0643116727" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/d9ccdca8-92fb-4d73-9630-df0643116727" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/d9ccdca8-92fb-4d73-9630-df0643116727" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/d9ccdca8-92fb-4d73-9630-df0643116727" 787 | const image = imageBlock.locator( 'role=img' ); 788 | await expect( image ).toBeVisible(); > 789 | await expect( image ).toHaveAttribute( | ^ 790 | 'src', 791 | new RegExp( filename ) 792 | ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:789:26
Playwright - 1
Process completed with exit code 1.
🎭 Playwright Run Summary
2 skipped 173 passed (11.7m)
🎭 Playwright Run Summary
183 passed (12.7m)
🎭 Playwright Run Summary
1 failed [chromium] › site-editor/template-part.spec.js:296:2 › Template Part › can import a widget area into an empty template part 1 flaky [chromium] › editor/various/preview.spec.js:17:2 › Preview › should open a preview window for a new post 153 passed (14.1m)
🎭 Playwright Run Summary
1 failed [chromium] › editor/blocks/image.spec.js:797:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes 1 flaky [chromium] › editor/blocks/image.spec.js:840:4 › Image - interactivity › tests using uploaded image › should open and close the image in a lightbox when using a mouse and dynamically load src › zoom animation 185 passed (18.2m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
20.4 MB
flaky-tests-report Expired
14.1 KB