Disambiguate "Import" button string. (#52907) #79190
end2end-test.yml
on: push
Matrix: e2e-playwright
Matrix: e2e-puppeteer
Report to GitHub
3m 58s
Annotations
2 errors and 4 notices
[chromium] › editor/blocks/image.spec.js:772:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes:
test/e2e/specs/editor/blocks/image.spec.js#L764
1) [chromium] › editor/blocks/image.spec.js:772:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes
Error: expect(received).toHaveAttribute(expected)
Expected pattern: /c024ec18-991e-42e2-aafc-217f7ecae41b/
Received string: "blob:http://localhost:8889/9364555b-40ba-4df1-bf38-1792a439e1a9"
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/9364555b-40ba-4df1-bf38-1792a439e1a9"
- 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/9364555b-40ba-4df1-bf38-1792a439e1a9"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/9364555b-40ba-4df1-bf38-1792a439e1a9"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/9364555b-40ba-4df1-bf38-1792a439e1a9"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/9364555b-40ba-4df1-bf38-1792a439e1a9"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/9364555b-40ba-4df1-bf38-1792a439e1a9"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/9364555b-40ba-4df1-bf38-1792a439e1a9"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/9364555b-40ba-4df1-bf38-1792a439e1a9"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/9364555b-40ba-4df1-bf38-1792a439e1a9"
762 | const image = imageBlock.locator( 'role=img' );
763 | await expect( image ).toBeVisible();
> 764 | await expect( image ).toHaveAttribute(
| ^
765 | 'src',
766 | new RegExp( filename )
767 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:764:26
|
[chromium] › editor/blocks/image.spec.js:815: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#L764
2) [chromium] › editor/blocks/image.spec.js:815: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: /af56f2b5-d1f8-4cdf-867b-2bbd157ff313/
Received string: "blob:http://localhost:8889/98fab46d-3bbc-48ed-a6b2-f9476c4232a7"
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/98fab46d-3bbc-48ed-a6b2-f9476c4232a7"
- 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/98fab46d-3bbc-48ed-a6b2-f9476c4232a7"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/98fab46d-3bbc-48ed-a6b2-f9476c4232a7"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/98fab46d-3bbc-48ed-a6b2-f9476c4232a7"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/98fab46d-3bbc-48ed-a6b2-f9476c4232a7"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/98fab46d-3bbc-48ed-a6b2-f9476c4232a7"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/98fab46d-3bbc-48ed-a6b2-f9476c4232a7"
- locator resolved to <img alt="This image has an empty alt attribute" src=…/>
- unexpected value "blob:http://localhost:8889/98fab46d-3bbc-48ed-a6b2-f9476c4232a7"
762 | const image = imageBlock.locator( 'role=img' );
763 | await expect( image ).toBeVisible();
> 764 | await expect( image ).toHaveAttribute(
| ^
765 | 'src',
766 | new RegExp( filename )
767 | );
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/image.spec.js:764:26
|
🎭 Playwright Run Summary
184 passed (14.8m)
|
🎭 Playwright Run Summary
159 passed (15.2m)
|
🎭 Playwright Run Summary
2 skipped
173 passed (15.6m)
|
🎭 Playwright Run Summary
2 flaky
[chromium] › editor/blocks/image.spec.js:772:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes
[chromium] › editor/blocks/image.spec.js:815: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.5m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
failures-artifacts
Expired
|
4.88 MB |
|
flaky-tests-report
Expired
|
22.6 KB |
|