split upload into verbs and nouns #122644
Annotations
10 errors, 1 warning, and 1 notice
Run the tests:
test/e2e/specs/editor/blocks/cover.spec.js#L39
1) [chromium] › editor/blocks/cover.spec.js:27:2 › Cover › can set overlay color using color picker on block placeholder
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Cover' }).getByRole('option', { name: 'Color: Black' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Cover' }).getByRole('option', { name: 'Color: Black' })
37 | name: 'Color: Black',
38 | } );
> 39 | await expect( blackColorSwatch ).toBeVisible();
| ^
40 |
41 | // Create the block by clicking selected color button.
42 | await blackColorSwatch.click();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/cover.spec.js:39:36
|
Run the tests:
test/e2e/specs/editor/blocks/cover.spec.js#L39
1) [chromium] › editor/blocks/cover.spec.js:27:2 › Cover › can set overlay color using color picker on block placeholder
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Cover' }).getByRole('option', { name: 'Color: Black' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Cover' }).getByRole('option', { name: 'Color: Black' })
37 | name: 'Color: Black',
38 | } );
> 39 | await expect( blackColorSwatch ).toBeVisible();
| ^
40 |
41 | // Create the block by clicking selected color button.
42 | await blackColorSwatch.click();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/cover.spec.js:39:36
|
Run the tests:
test/e2e/specs/editor/blocks/cover.spec.js#L39
1) [chromium] › editor/blocks/cover.spec.js:27:2 › Cover › can set overlay color using color picker on block placeholder
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Cover' }).getByRole('option', { name: 'Color: Black' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Cover' }).getByRole('option', { name: 'Color: Black' })
37 | name: 'Color: Black',
38 | } );
> 39 | await expect( blackColorSwatch ).toBeVisible();
| ^
40 |
41 | // Create the block by clicking selected color button.
42 | await blackColorSwatch.click();
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/cover.spec.js:39:36
|
Run the tests:
test/e2e/specs/editor/blocks/cover.spec.js#L325
2) [chromium] › editor/blocks/cover.spec.js:51:2 › Cover › can set background image using image upload on block placeholder
TimeoutError: locator.setInputFiles: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Cover' }).getByTestId('form-file-upload-input')
323 | await fs.copyFile( this.TEST_IMAGE_FILE_PATH, tmpFileName );
324 |
> 325 | await locator.setInputFiles( tmpFileName );
| ^
326 |
327 | return filename;
328 | }
at CoverBlockUtils.upload (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/cover.spec.js:325:3)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/cover.spec.js:60:20
|
Run the tests:
test/e2e/specs/editor/blocks/cover.spec.js#L325
2) [chromium] › editor/blocks/cover.spec.js:51:2 › Cover › can set background image using image upload on block placeholder
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.setInputFiles: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Cover' }).getByTestId('form-file-upload-input')
323 | await fs.copyFile( this.TEST_IMAGE_FILE_PATH, tmpFileName );
324 |
> 325 | await locator.setInputFiles( tmpFileName );
| ^
326 |
327 | return filename;
328 | }
at CoverBlockUtils.upload (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/cover.spec.js:325:3)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/cover.spec.js:60:20
|
Run the tests:
test/e2e/specs/editor/blocks/cover.spec.js#L325
2) [chromium] › editor/blocks/cover.spec.js:51:2 › Cover › can set background image using image upload on block placeholder
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.setInputFiles: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Cover' }).getByTestId('form-file-upload-input')
323 | await fs.copyFile( this.TEST_IMAGE_FILE_PATH, tmpFileName );
324 |
> 325 | await locator.setInputFiles( tmpFileName );
| ^
326 |
327 | return filename;
328 | }
at CoverBlockUtils.upload (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/cover.spec.js:325:3)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/cover.spec.js:60:20
|
Run the tests:
test/e2e/specs/editor/blocks/cover.spec.js#L325
3) [chromium] › editor/blocks/cover.spec.js:74:2 › Cover › dims background image down by 50% with the average image color when an image is uploaded
TimeoutError: locator.setInputFiles: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Cover' }).getByTestId('form-file-upload-input')
323 | await fs.copyFile( this.TEST_IMAGE_FILE_PATH, tmpFileName );
324 |
> 325 | await locator.setInputFiles( tmpFileName );
| ^
326 |
327 | return filename;
328 | }
at CoverBlockUtils.upload (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/cover.spec.js:325:3)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/cover.spec.js:83:3
|
Run the tests:
test/e2e/specs/editor/blocks/cover.spec.js#L325
3) [chromium] › editor/blocks/cover.spec.js:74:2 › Cover › dims background image down by 50% with the average image color when an image is uploaded
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.setInputFiles: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Cover' }).getByTestId('form-file-upload-input')
323 | await fs.copyFile( this.TEST_IMAGE_FILE_PATH, tmpFileName );
324 |
> 325 | await locator.setInputFiles( tmpFileName );
| ^
326 |
327 | return filename;
328 | }
at CoverBlockUtils.upload (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/cover.spec.js:325:3)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/cover.spec.js:83:3
|
Run the tests:
test/e2e/specs/editor/blocks/cover.spec.js#L325
3) [chromium] › editor/blocks/cover.spec.js:74:2 › Cover › dims background image down by 50% with the average image color when an image is uploaded
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.setInputFiles: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Cover' }).getByTestId('form-file-upload-input')
323 | await fs.copyFile( this.TEST_IMAGE_FILE_PATH, tmpFileName );
324 |
> 325 | await locator.setInputFiles( tmpFileName );
| ^
326 |
327 | return filename;
328 | }
at CoverBlockUtils.upload (/home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/cover.spec.js:325:3)
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/cover.spec.js:83:3
|
Run the tests:
test/e2e/specs/editor/blocks/cover.spec.js#L111
4) [chromium] › editor/blocks/cover.spec.js:97:2 › Cover › can have the title edited ─────────────
TimeoutError: locator.click: Timeout 10000ms exceeded.
Call log:
- waiting for locator('[name="editor-canvas"]').contentFrame().getByRole('document', { name: 'Block: Cover' }).getByRole('option', { name: 'Color: Black' })
109 | name: 'Color: Black',
110 | } )
> 111 | .click();
| ^
112 |
113 | // Activate the paragraph block inside the Cover block.
114 | // The name of the block differs depending on whether text has been entered or not.
at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/blocks/cover.spec.js:111:5
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run the tests
26 failed
[chromium] › editor/blocks/cover.spec.js:27:2 › Cover › can set overlay color using color picker on block placeholder
[chromium] › editor/blocks/cover.spec.js:51:2 › Cover › can set background image using image upload on block placeholder
[chromium] › editor/blocks/cover.spec.js:74:2 › Cover › dims background image down by 50% with the average image color when an image is uploaded
[chromium] › editor/blocks/cover.spec.js:97:2 › Cover › can have the title edited ──────────────
[chromium] › editor/blocks/cover.spec.js:125:2 › Cover › can be resized using drag & drop ──────
[chromium] › editor/blocks/cover.spec.js:197:2 › Cover › dims the background image down by 50% black when transformed from the Image block
[chromium] › editor/blocks/cover.spec.js:230:2 › Cover › other cover blocks are not over the navigation block when the menu is open
[chromium] › editor/blocks/gallery.spec.js:42:2 › Gallery › can be transformed from pasting shortcode, and can undo/redo
[chromium] › editor/blocks/gallery.spec.js:89:2 › Gallery › can be created using uploaded images
[chromium] › editor/blocks/gallery.spec.js:202:2 › Gallery › when initially added the media library shows the Create Gallery view
[chromium] › editor/blocks/image.spec.js:35:2 › Image › can be inserted via image upload ───────
[chromium] › editor/blocks/image.spec.js:64:2 › Image › should place caret on caption when clicking to add one
[chromium] › editor/blocks/image.spec.js:95:2 › Image › should allow soft line breaks in caption
[chromium] › editor/blocks/image.spec.js:127:2 › Image › should have keyboard navigable toolbar for caption
[chromium] › editor/blocks/image.spec.js:227:2 › Image › allows zooming using the crop tools ───
[chromium] › editor/blocks/image.spec.js:296:2 › Image › allows changing aspect ratio using the crop tools
[chromium] › editor/blocks/image.spec.js:355:2 › Image › allows rotating using the crop tools ──
[chromium] › editor/blocks/image.spec.js:394:2 › Image › should undo without broken temporary state
[chromium] › editor/blocks/image.spec.js:423:2 › Image › can be replaced by dragging-and-dropping images from the inserter
[chromium] › editor/blocks/image.spec.js:519:2 › Image › should allow dragging and dropping HTML to media placeholder
[chromium] › editor/blocks/image.spec.js:582:2 › Image › image inserted via upload should appear in the frontend published post content
[chromium] › editor/blocks/image.spec.js:620:2 › Image › image inserted via link should appear in the frontend published post content
[chromium] › editor/blocks/image.spec.js:662:2 › Image › adding a link should reflect configuration in published post content
[chromium] › editor/blocks/image.spec.js:722:2 › Image › should upload through prepublish panel
[chromium] › editor/blocks/image.spec.js:782:2 › Image › should have keyboard navigable link UI popover
[chromium] › editor/blocks/image.spec.js:1029:2 › Image - Site editor › can be inserted via image upload
181 passed (29.9m)
|
Loading