Skip to content

Use _get_block_template_file function and set $area variable. #78684

Use _get_block_template_file function and set $area variable.

Use _get_block_template_file function and set $area variable. #78684

Triggered via pull request July 17, 2023 23:27
Status Cancelled
Total duration 37m 42s
Artifacts 2

end2end-test.yml

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

Annotations

4 errors and 3 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: /6c99fb17-bc81-403e-9924-0eead3b1b5a9/ Received string: "blob:http://localhost:8889/3ffa654d-5966-4094-a4aa-5170aff6b212" 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/3ffa654d-5966-4094-a4aa-5170aff6b212" - 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/3ffa654d-5966-4094-a4aa-5170aff6b212" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/3ffa654d-5966-4094-a4aa-5170aff6b212" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/3ffa654d-5966-4094-a4aa-5170aff6b212" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/3ffa654d-5966-4094-a4aa-5170aff6b212" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/3ffa654d-5966-4094-a4aa-5170aff6b212" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/3ffa654d-5966-4094-a4aa-5170aff6b212" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/3ffa654d-5966-4094-a4aa-5170aff6b212" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/3ffa654d-5966-4094-a4aa-5170aff6b212" 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:936:4 › Image - interactivity › tests using uploaded image › should open and close the image in a lightbox when using a mouse and dynamically load src › fade animation: test/e2e/specs/editor/blocks/image.spec.js#L789
2) [chromium] › editor/blocks/image.spec.js:936:4 › Image - interactivity › tests using uploaded image › should open and close the image in a lightbox when using a mouse and dynamically load src › fade animation Error: expect(received).toHaveAttribute(expected) Expected pattern: /5d03a6ec-390a-4a5a-96aa-e65b98f6b8b0/ Received string: "blob:http://localhost:8889/b8d1e94e-8aa0-485d-a68f-cf37b4a40ef5" 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/b8d1e94e-8aa0-485d-a68f-cf37b4a40ef5" - 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/b8d1e94e-8aa0-485d-a68f-cf37b4a40ef5" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/b8d1e94e-8aa0-485d-a68f-cf37b4a40ef5" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/b8d1e94e-8aa0-485d-a68f-cf37b4a40ef5" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/b8d1e94e-8aa0-485d-a68f-cf37b4a40ef5" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/b8d1e94e-8aa0-485d-a68f-cf37b4a40ef5" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/b8d1e94e-8aa0-485d-a68f-cf37b4a40ef5" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/b8d1e94e-8aa0-485d-a68f-cf37b4a40ef5" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/b8d1e94e-8aa0-485d-a68f-cf37b4a40ef5" 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 - 2
Canceling since a higher priority waiting request for 'End-to-End Tests-fix/template-part' exists
Playwright - 2
The operation was canceled.
🎭 Playwright Run Summary
2 skipped 164 passed (11.3m)
🎭 Playwright Run Summary
154 passed (11.5m)
🎭 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:936:4 › Image - interactivity › tests using uploaded image › should open and close the image in a lightbox when using a mouse and dynamically load src › fade animation 185 passed (17.4m)

Artifacts

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