Skip to content

[RNMobile] Add media inserter blocks to toolbar (#51827) #77770

[RNMobile] Add media inserter blocks to toolbar (#51827)

[RNMobile] Add media inserter blocks to toolbar (#51827) #77770

Triggered via push July 6, 2023 13:34
Status Failure
Total duration 1h 20m 41s
Artifacts 2

end2end-test.yml

on: push
Matrix: e2e-playwright
Matrix: e2e-puppeteer
Report to GitHub
4m 10s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 1 warning, and 4 notices
[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: /f733d863-249b-43fd-97ef-63ca0fce06af/ Received string: "blob:http://localhost:8889/64dbcb7c-7544-4c04-9aef-cc186f6505eb" 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/64dbcb7c-7544-4c04-9aef-cc186f6505eb" - 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/64dbcb7c-7544-4c04-9aef-cc186f6505eb" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/64dbcb7c-7544-4c04-9aef-cc186f6505eb" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/64dbcb7c-7544-4c04-9aef-cc186f6505eb" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/64dbcb7c-7544-4c04-9aef-cc186f6505eb" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/64dbcb7c-7544-4c04-9aef-cc186f6505eb" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/64dbcb7c-7544-4c04-9aef-cc186f6505eb" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/64dbcb7c-7544-4c04-9aef-cc186f6505eb" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/64dbcb7c-7544-4c04-9aef-cc186f6505eb" 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: /142fb33a-aa73-485a-bd23-e768040f8c9f/ Received string: "blob:http://localhost:8889/3db3490a-d4b4-4d46-a0d4-f4c60c841278" 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/3db3490a-d4b4-4d46-a0d4-f4c60c841278" - 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/3db3490a-d4b4-4d46-a0d4-f4c60c841278" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/3db3490a-d4b4-4d46-a0d4-f4c60c841278" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/3db3490a-d4b4-4d46-a0d4-f4c60c841278" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/3db3490a-d4b4-4d46-a0d4-f4c60c841278" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/3db3490a-d4b4-4d46-a0d4-f4c60c841278" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/3db3490a-d4b4-4d46-a0d4-f4c60c841278" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/3db3490a-d4b4-4d46-a0d4-f4c60c841278" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/3db3490a-d4b4-4d46-a0d4-f4c60c841278" 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
Puppeteer - 2: packages/e2e-tests/specs/site-editor/multi-entity-saving.test.js#L813
TimeoutError: waiting for selector `.components-font-size-picker__controls` failed: timeout 30000ms exceeded at new WaitTask (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28) at DOMWorld.waitForSelectorInPage (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:656:22) at Object.internalHandler.waitFor (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/QueryHandler.ts:78:19) at DOMWorld.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/DOMWorld.ts:511:25) at Frame.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/FrameManager.ts:1273:47) at Page.waitForSelector (/home/runner/work/gutenberg/gutenberg/node_modules/puppeteer-core/src/common/Page.ts:3210:29) at Object.waitForSelector (/home/runner/work/gutenberg/gutenberg/packages/e2e-tests/specs/site-editor/multi-entity-saving.test.js:318:15) at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/task_queues.js:95:5)
Puppeteer - 2
Process completed with exit code 1.
Puppeteer - 2
Failed to restore: Aborting cache download as the download time exceeded the timeout.
🎭 Playwright Run Summary
149 passed (11.9m)
🎭 Playwright Run Summary
2 skipped 164 passed (12.6m)
🎭 Playwright Run Summary
177 passed (14.4m)
🎭 Playwright Run Summary
2 flaky [chromium] › editor/blocks/image.spec.js:797:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes [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 179 passed (17.4m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
8.36 MB
flaky-tests-report Expired
22.4 KB