Skip to content

Link Control: persist advanced settings toggle state to preferences if available #79451

Link Control: persist advanced settings toggle state to preferences if available

Link Control: persist advanced settings toggle state to preferences if available #79451

Triggered via pull request July 27, 2023 09:39
@getdavegetdave
synchronize #52799
fix/52216
Status Failure
Total duration 35m 52s
Artifacts 2

end2end-test.yml

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

Annotations

8 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: /3706d3c5-62be-4a01-9b8a-e1f0e87e7918/ Received string: "blob:http://localhost:8889/2da9b19e-c8b8-46c0-93e6-4ecd10df5aee" 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/2da9b19e-c8b8-46c0-93e6-4ecd10df5aee" - 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/2da9b19e-c8b8-46c0-93e6-4ecd10df5aee" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/2da9b19e-c8b8-46c0-93e6-4ecd10df5aee" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/2da9b19e-c8b8-46c0-93e6-4ecd10df5aee" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/2da9b19e-c8b8-46c0-93e6-4ecd10df5aee" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/2da9b19e-c8b8-46c0-93e6-4ecd10df5aee" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/2da9b19e-c8b8-46c0-93e6-4ecd10df5aee" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/2da9b19e-c8b8-46c0-93e6-4ecd10df5aee" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/2da9b19e-c8b8-46c0-93e6-4ecd10df5aee" 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: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 Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toHaveAttribute(expected) Expected pattern: /8e820f58-4400-40f4-a163-724791e4239c/ Received string: "blob:http://localhost:8889/0859bf89-86f1-4822-9ca0-76bb12fa2995" 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/0859bf89-86f1-4822-9ca0-76bb12fa2995" - 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/0859bf89-86f1-4822-9ca0-76bb12fa2995" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/0859bf89-86f1-4822-9ca0-76bb12fa2995" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/0859bf89-86f1-4822-9ca0-76bb12fa2995" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/0859bf89-86f1-4822-9ca0-76bb12fa2995" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/0859bf89-86f1-4822-9ca0-76bb12fa2995" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/0859bf89-86f1-4822-9ca0-76bb12fa2995" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/0859bf89-86f1-4822-9ca0-76bb12fa2995" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/0859bf89-86f1-4822-9ca0-76bb12fa2995" 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: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 Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toHaveAttribute(expected) Expected pattern: /91956a7f-7b0b-4fa9-a032-dfec2ba486cf/ Received string: "blob:http://localhost:8889/ad0c2c4e-8809-446c-97f6-9c381eac9987" 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/ad0c2c4e-8809-446c-97f6-9c381eac9987" - 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/ad0c2c4e-8809-446c-97f6-9c381eac9987" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/ad0c2c4e-8809-446c-97f6-9c381eac9987" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/ad0c2c4e-8809-446c-97f6-9c381eac9987" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/ad0c2c4e-8809-446c-97f6-9c381eac9987" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/ad0c2c4e-8809-446c-97f6-9c381eac9987" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/ad0c2c4e-8809-446c-97f6-9c381eac9987" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/ad0c2c4e-8809-446c-97f6-9c381eac9987" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/ad0c2c4e-8809-446c-97f6-9c381eac9987" 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/links.spec.js:149:2 › Links › toggle state of advanced link settings is preserved across editing links: test/e2e/specs/editor/blocks/links.spec.js#L185
2) [chromium] › editor/blocks/links.spec.js:149:2 › Links › toggle state of advanced link settings is preserved across editing links TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('button', { name: 'Edit' }) ============================================================ 183 | 184 | // Click Edit to move back into editing mode > 185 | await page.getByRole( 'button', { name: 'Edit' } ).click(); | ^ 186 | 187 | // Toggle the Advanced settings to be open. 188 | // This should set the editor preference to persist this at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:185:54
[chromium] › editor/blocks/links.spec.js:149:2 › Links › toggle state of advanced link settings is preserved across editing links: test/e2e/specs/editor/blocks/links.spec.js#L185
2) [chromium] › editor/blocks/links.spec.js:149:2 › Links › toggle state of advanced link settings is preserved across editing links Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('button', { name: 'Edit' }) ============================================================ 183 | 184 | // Click Edit to move back into editing mode > 185 | await page.getByRole( 'button', { name: 'Edit' } ).click(); | ^ 186 | 187 | // Toggle the Advanced settings to be open. 188 | // This should set the editor preference to persist this at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:185:54
[chromium] › editor/blocks/links.spec.js:149:2 › Links › toggle state of advanced link settings is preserved across editing links: test/e2e/specs/editor/blocks/links.spec.js#L185
2) [chromium] › editor/blocks/links.spec.js:149:2 › Links › toggle state of advanced link settings is preserved across editing links Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. =========================== logs =========================== waiting for getByRole('button', { name: 'Edit' }) ============================================================ 183 | 184 | // Click Edit to move back into editing mode > 185 | await page.getByRole( 'button', { name: 'Edit' } ).click(); | ^ 186 | 187 | // Toggle the Advanced settings to be open. 188 | // This should set the editor preference to persist this at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/links.spec.js:185:54
[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
3) [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: /1aa4347a-35a0-452e-91a6-f262350c1fe4/ Received string: "blob:http://localhost:8889/f66f2a8d-48dc-43a0-90c1-81cbce0aa3e8" 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/f66f2a8d-48dc-43a0-90c1-81cbce0aa3e8" - 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/f66f2a8d-48dc-43a0-90c1-81cbce0aa3e8" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/f66f2a8d-48dc-43a0-90c1-81cbce0aa3e8" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/f66f2a8d-48dc-43a0-90c1-81cbce0aa3e8" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/f66f2a8d-48dc-43a0-90c1-81cbce0aa3e8" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/f66f2a8d-48dc-43a0-90c1-81cbce0aa3e8" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/f66f2a8d-48dc-43a0-90c1-81cbce0aa3e8" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/f66f2a8d-48dc-43a0-90c1-81cbce0aa3e8" - locator resolved to <img alt="This image has an empty alt attribute" src=…/> - unexpected value "blob:http://localhost:8889/f66f2a8d-48dc-43a0-90c1-81cbce0aa3e8" 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 - 1
Process completed with exit code 1.
🎭 Playwright Run Summary
2 skipped 173 passed (13.8m)
🎭 Playwright Run Summary
158 passed (15.3m)
🎭 Playwright Run Summary
184 passed (17.8m)
🎭 Playwright Run Summary
2 failed [chromium] › editor/blocks/image.spec.js:772:3 › Image - interactivity › tests using uploaded image › should toggle "lightbox" in saved attributes [chromium] › editor/blocks/links.spec.js:149:2 › Links › toggle state of advanced link settings is preserved across editing links 1 flaky [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 186 passed (20.7m)

Artifacts

Produced during runtime
Name Size
failures-artifacts Expired
17.3 MB
flaky-tests-report Expired
11.2 KB