Skip to content

Update the private vars and methods to be protected so class entities… #78983

Update the private vars and methods to be protected so class entities…

Update the private vars and methods to be protected so class entities… #78983

Triggered via push July 20, 2023 23:10
Status Success
Total duration 32m 45s
Artifacts 2
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

end2end-test.yml

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

Annotations

3 errors and 4 notices
[chromium] › editor/blocks/image.spec.js:341:2 › Image › allows rotating using the crop tools: test/e2e/specs/editor/blocks/image.spec.js#L375
1) [chromium] › editor/blocks/image.spec.js:341:2 › Image › allows rotating using the crop tools ─ Error: Screenshot comparison failed: 50 pixels (ratio 0.50 of all image pixels) are different. Expected: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-blocks-image-Image-allows-rotating-using-the-crop-tools-chromium/Image-allows-rotating-using-the-crop-tools-1-expected.png Received: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-blocks-image-Image-allows-rotating-using-the-crop-tools-chromium/Image-allows-rotating-using-the-crop-tools-1-actual.png Diff: /home/runner/work/gutenberg/gutenberg/artifacts/test-results/editor-blocks-image-Image-allows-rotating-using-the-crop-tools-chromium/Image-allows-rotating-using-the-crop-tools-1-diff.png 373 | expect( 374 | await imageBlockUtils.getImageBuffer( updatedImageSrc ) > 375 | ).toMatchSnapshot(); | ^ 376 | } ); 377 | 378 | test( 'should undo without broken temporary state', async ( { at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:375:5
[chromium] › editor/blocks/image.spec.js:1005:3 › Image - interactivity › tests using uploaded image › lightbox should be overriden when link is configured for image: test/e2e/specs/editor/blocks/image.spec.js#L789
2) [chromium] › editor/blocks/image.spec.js:1005:3 › Image - interactivity › tests using uploaded image › lightbox should be overriden when link is configured for image Error: expect(received).toHaveAttribute(expected) Expected pattern: /055308a7-bd0e-4a1f-a7c2-58cd6e8e4b52/ Received string: "blob:http://localhost:8889/f3a08eec-ffda-409f-a406-d771c043edda" 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/f3a08eec-ffda-409f-a406-d771c043edda" - 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/f3a08eec-ffda-409f-a406-d771c043edda" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/f3a08eec-ffda-409f-a406-d771c043edda" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/f3a08eec-ffda-409f-a406-d771c043edda" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/f3a08eec-ffda-409f-a406-d771c043edda" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/f3a08eec-ffda-409f-a406-d771c043edda" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/f3a08eec-ffda-409f-a406-d771c043edda" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/f3a08eec-ffda-409f-a406-d771c043edda" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/f3a08eec-ffda-409f-a406-d771c043edda" 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:1005:3 › Image - interactivity › tests using uploaded image › lightbox should be overriden when link is configured for image: test/e2e/specs/editor/blocks/image.spec.js#L789
2) [chromium] › editor/blocks/image.spec.js:1005:3 › Image - interactivity › tests using uploaded image › lightbox should be overriden when link is configured for image Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toHaveAttribute(expected) Expected pattern: /072955ea-5c69-4f10-90d8-23b06dce7df9/ Received string: "blob:http://localhost:8889/72a83809-ee91-40e2-93ff-458e89bf1051" 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/72a83809-ee91-40e2-93ff-458e89bf1051" - 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/72a83809-ee91-40e2-93ff-458e89bf1051" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/72a83809-ee91-40e2-93ff-458e89bf1051" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/72a83809-ee91-40e2-93ff-458e89bf1051" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/72a83809-ee91-40e2-93ff-458e89bf1051" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/72a83809-ee91-40e2-93ff-458e89bf1051" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/72a83809-ee91-40e2-93ff-458e89bf1051" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/72a83809-ee91-40e2-93ff-458e89bf1051" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/72a83809-ee91-40e2-93ff-458e89bf1051" 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 Run Summary
2 skipped 173 passed (11.6m)
🎭 Playwright Run Summary
184 passed (12.6m)
🎭 Playwright Run Summary
157 passed (12.4m)
🎭 Playwright Run Summary
2 flaky [chromium] › editor/blocks/image.spec.js:341:2 › Image › allows rotating using the crop tools ── [chromium] › editor/blocks/image.spec.js:1005:3 › Image - interactivity › tests using uploaded image › lightbox should be overriden when link is configured for image 185 passed (17.4m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
8.9 MB
flaky-tests-report Expired
27.5 KB