Repository navigation
Media: Enable client-side uploads in the Media Library and media modal #64842
end-to-end-tests.yml
on: pull_request
Matrix: e2e-tests
Slack Notifications
/
Cancelled notifications
Slack Notifications
/
Failure notifications
Slack Notifications
/
Fixed notifications
Slack Notifications
/
Success notifications
Failed workflow tasks
0s
Annotations
14 errors and 2 notices
|
E2E Tests / SCRIPT_DEBUG disabled
Process completed with exit code 1.
|
|
[chromium] › tests/e2e/specs/media-new-client-side-upload.test.js:711:6 › Add New Media File client-side uploads › hands a HEIC the browser cannot decode to the server when it can convert it:
tests/e2e/specs/media-new-client-side-upload.test.js#L755
4) [chromium] › tests/e2e/specs/media-new-client-side-upload.test.js:711:6 › Add New Media File client-side uploads › hands a HEIC the browser cannot decode to the server when it can convert it
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeGreaterThanOrEqual(expected)
Expected: >= 1
Received: 0
Call Log:
- Timeout 60000ms exceeded while waiting on the predicate
753 | await expect
754 | .poll( () => asyncFileUploads, { timeout: 60_000 } )
> 755 | .toBeGreaterThanOrEqual( 1 );
| ^
756 | expect( restUploadCount ).toBe( 0 );
757 |
758 | // Exactly one item is left for the file: the pipeline's progress item
at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/media-new-client-side-upload.test.js:755:5
|
|
[chromium] › tests/e2e/specs/media-new-client-side-upload.test.js:711:6 › Add New Media File client-side uploads › hands a HEIC the browser cannot decode to the server when it can convert it:
tests/e2e/specs/media-new-client-side-upload.test.js#L755
4) [chromium] › tests/e2e/specs/media-new-client-side-upload.test.js:711:6 › Add New Media File client-side uploads › hands a HEIC the browser cannot decode to the server when it can convert it
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeGreaterThanOrEqual(expected)
Expected: >= 1
Received: 0
Call Log:
- Timeout 60000ms exceeded while waiting on the predicate
753 | await expect
754 | .poll( () => asyncFileUploads, { timeout: 60_000 } )
> 755 | .toBeGreaterThanOrEqual( 1 );
| ^
756 | expect( restUploadCount ).toBe( 0 );
757 |
758 | // Exactly one item is left for the file: the pipeline's progress item
at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/media-new-client-side-upload.test.js:755:5
|
|
[chromium] › tests/e2e/specs/media-library-client-side-upload.test.js:692:6 › Media Library grid client-side uploads › reports the HEIC error when neither the browser nor the server can convert it:
tests/e2e/specs/media-library-client-side-upload.test.js#L721
3) [chromium] › tests/e2e/specs/media-library-client-side-upload.test.js:692:6 › Media Library grid client-side uploads › reports the HEIC error when neither the browser nor the server can convert it
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toContainText(expected) failed
Locator: locator('.upload-error').first().locator('.upload-error-message')
Expected substring: "HEIC"
Received string: "Failed to process \"undecodable.heic\". The image may be corrupted. Try a different file."
Timeout: 5000ms
Call log:
- Expect "toContainText" with timeout 5000ms
- waiting for locator('.upload-error').first().locator('.upload-error-message')
14 × locator resolved to <span class="upload-error-message">Failed to process "undecodable.heic". The image m…</span>
- unexpected value "Failed to process "undecodable.heic". The image may be corrupted. Try a different file."
719 | UNDECODABLE_HEIC.name
720 | );
> 721 | await expect( error.locator( '.upload-error-message' ) ).toContainText(
| ^
722 | 'HEIC'
723 | );
724 | expect( counts.asyncUpload ).toBe( 0 );
at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/media-library-client-side-upload.test.js:721:60
|
|
[chromium] › tests/e2e/specs/media-library-client-side-upload.test.js:692:6 › Media Library grid client-side uploads › reports the HEIC error when neither the browser nor the server can convert it:
tests/e2e/specs/media-library-client-side-upload.test.js#L721
3) [chromium] › tests/e2e/specs/media-library-client-side-upload.test.js:692:6 › Media Library grid client-side uploads › reports the HEIC error when neither the browser nor the server can convert it
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toContainText(expected) failed
Locator: locator('.upload-error').first().locator('.upload-error-message')
Expected substring: "HEIC"
Received string: "Failed to process \"undecodable.heic\". The image may be corrupted. Try a different file."
Timeout: 5000ms
Call log:
- Expect "toContainText" with timeout 5000ms
- waiting for locator('.upload-error').first().locator('.upload-error-message')
14 × locator resolved to <span class="upload-error-message">Failed to process "undecodable.heic". The image m…</span>
- unexpected value "Failed to process "undecodable.heic". The image may be corrupted. Try a different file."
719 | UNDECODABLE_HEIC.name
720 | );
> 721 | await expect( error.locator( '.upload-error-message' ) ).toContainText(
| ^
722 | 'HEIC'
723 | );
724 | expect( counts.asyncUpload ).toBe( 0 );
at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/media-library-client-side-upload.test.js:721:60
|
|
[chromium] › tests/e2e/specs/media-library-client-side-upload.test.js:654:6 › Media Library grid client-side uploads › hands a HEIC the browser cannot decode to the server when it can convert it:
tests/e2e/specs/media-library-client-side-upload.test.js#L681
2) [chromium] › tests/e2e/specs/media-library-client-side-upload.test.js:654:6 › Media Library grid client-side uploads › hands a HEIC the browser cannot decode to the server when it can convert it
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeGreaterThanOrEqual(expected)
Expected: >= 1
Received: 0
Call Log:
- Timeout 60000ms exceeded while waiting on the predicate
679 | await expect
680 | .poll( () => counts.asyncUpload, { timeout: 60_000 } )
> 681 | .toBeGreaterThanOrEqual( 1 );
| ^
682 | expect( counts.rest ).toBe( 0 );
683 | await expect( page.locator( 'li.attachment.uploading' ) ).toHaveCount(
684 | 0,
at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/media-library-client-side-upload.test.js:681:5
|
|
[chromium] › tests/e2e/specs/media-library-client-side-upload.test.js:654:6 › Media Library grid client-side uploads › hands a HEIC the browser cannot decode to the server when it can convert it:
tests/e2e/specs/media-library-client-side-upload.test.js#L681
2) [chromium] › tests/e2e/specs/media-library-client-side-upload.test.js:654:6 › Media Library grid client-side uploads › hands a HEIC the browser cannot decode to the server when it can convert it
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeGreaterThanOrEqual(expected)
Expected: >= 1
Received: 0
Call Log:
- Timeout 60000ms exceeded while waiting on the predicate
679 | await expect
680 | .poll( () => counts.asyncUpload, { timeout: 60_000 } )
> 681 | .toBeGreaterThanOrEqual( 1 );
| ^
682 | expect( counts.rest ).toBe( 0 );
683 | await expect( page.locator( 'li.attachment.uploading' ) ).toHaveCount(
684 | 0,
at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/media-library-client-side-upload.test.js:681:5
|
|
E2E Tests / SCRIPT_DEBUG enabled
Process completed with exit code 1.
|
|
[chromium] › tests/e2e/specs/media-new-client-side-upload.test.js:711:6 › Add New Media File client-side uploads › hands a HEIC the browser cannot decode to the server when it can convert it:
tests/e2e/specs/media-new-client-side-upload.test.js#L755
4) [chromium] › tests/e2e/specs/media-new-client-side-upload.test.js:711:6 › Add New Media File client-side uploads › hands a HEIC the browser cannot decode to the server when it can convert it
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeGreaterThanOrEqual(expected)
Expected: >= 1
Received: 0
Call Log:
- Timeout 60000ms exceeded while waiting on the predicate
753 | await expect
754 | .poll( () => asyncFileUploads, { timeout: 60_000 } )
> 755 | .toBeGreaterThanOrEqual( 1 );
| ^
756 | expect( restUploadCount ).toBe( 0 );
757 |
758 | // Exactly one item is left for the file: the pipeline's progress item
at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/media-new-client-side-upload.test.js:755:5
|
|
[chromium] › tests/e2e/specs/media-new-client-side-upload.test.js:711:6 › Add New Media File client-side uploads › hands a HEIC the browser cannot decode to the server when it can convert it:
tests/e2e/specs/media-new-client-side-upload.test.js#L755
4) [chromium] › tests/e2e/specs/media-new-client-side-upload.test.js:711:6 › Add New Media File client-side uploads › hands a HEIC the browser cannot decode to the server when it can convert it
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeGreaterThanOrEqual(expected)
Expected: >= 1
Received: 0
Call Log:
- Timeout 60000ms exceeded while waiting on the predicate
753 | await expect
754 | .poll( () => asyncFileUploads, { timeout: 60_000 } )
> 755 | .toBeGreaterThanOrEqual( 1 );
| ^
756 | expect( restUploadCount ).toBe( 0 );
757 |
758 | // Exactly one item is left for the file: the pipeline's progress item
at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/media-new-client-side-upload.test.js:755:5
|
|
[chromium] › tests/e2e/specs/media-library-client-side-upload.test.js:692:6 › Media Library grid client-side uploads › reports the HEIC error when neither the browser nor the server can convert it:
tests/e2e/specs/media-library-client-side-upload.test.js#L721
3) [chromium] › tests/e2e/specs/media-library-client-side-upload.test.js:692:6 › Media Library grid client-side uploads › reports the HEIC error when neither the browser nor the server can convert it
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toContainText(expected) failed
Locator: locator('.upload-error').first().locator('.upload-error-message')
Expected substring: "HEIC"
Received string: "Failed to process \"undecodable.heic\". The image may be corrupted. Try a different file."
Timeout: 5000ms
Call log:
- Expect "toContainText" with timeout 5000ms
- waiting for locator('.upload-error').first().locator('.upload-error-message')
14 × locator resolved to <span class="upload-error-message">Failed to process "undecodable.heic". The image m…</span>
- unexpected value "Failed to process "undecodable.heic". The image may be corrupted. Try a different file."
719 | UNDECODABLE_HEIC.name
720 | );
> 721 | await expect( error.locator( '.upload-error-message' ) ).toContainText(
| ^
722 | 'HEIC'
723 | );
724 | expect( counts.asyncUpload ).toBe( 0 );
at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/media-library-client-side-upload.test.js:721:60
|
|
[chromium] › tests/e2e/specs/media-library-client-side-upload.test.js:692:6 › Media Library grid client-side uploads › reports the HEIC error when neither the browser nor the server can convert it:
tests/e2e/specs/media-library-client-side-upload.test.js#L721
3) [chromium] › tests/e2e/specs/media-library-client-side-upload.test.js:692:6 › Media Library grid client-side uploads › reports the HEIC error when neither the browser nor the server can convert it
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toContainText(expected) failed
Locator: locator('.upload-error').first().locator('.upload-error-message')
Expected substring: "HEIC"
Received string: "Failed to process \"undecodable.heic\". The image may be corrupted. Try a different file."
Timeout: 5000ms
Call log:
- Expect "toContainText" with timeout 5000ms
- waiting for locator('.upload-error').first().locator('.upload-error-message')
14 × locator resolved to <span class="upload-error-message">Failed to process "undecodable.heic". The image m…</span>
- unexpected value "Failed to process "undecodable.heic". The image may be corrupted. Try a different file."
719 | UNDECODABLE_HEIC.name
720 | );
> 721 | await expect( error.locator( '.upload-error-message' ) ).toContainText(
| ^
722 | 'HEIC'
723 | );
724 | expect( counts.asyncUpload ).toBe( 0 );
at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/media-library-client-side-upload.test.js:721:60
|
|
[chromium] › tests/e2e/specs/media-library-client-side-upload.test.js:654:6 › Media Library grid client-side uploads › hands a HEIC the browser cannot decode to the server when it can convert it:
tests/e2e/specs/media-library-client-side-upload.test.js#L681
2) [chromium] › tests/e2e/specs/media-library-client-side-upload.test.js:654:6 › Media Library grid client-side uploads › hands a HEIC the browser cannot decode to the server when it can convert it
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeGreaterThanOrEqual(expected)
Expected: >= 1
Received: 0
Call Log:
- Timeout 60000ms exceeded while waiting on the predicate
679 | await expect
680 | .poll( () => counts.asyncUpload, { timeout: 60_000 } )
> 681 | .toBeGreaterThanOrEqual( 1 );
| ^
682 | expect( counts.rest ).toBe( 0 );
683 | await expect( page.locator( 'li.attachment.uploading' ) ).toHaveCount(
684 | 0,
at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/media-library-client-side-upload.test.js:681:5
|
|
[chromium] › tests/e2e/specs/media-library-client-side-upload.test.js:654:6 › Media Library grid client-side uploads › hands a HEIC the browser cannot decode to the server when it can convert it:
tests/e2e/specs/media-library-client-side-upload.test.js#L681
2) [chromium] › tests/e2e/specs/media-library-client-side-upload.test.js:654:6 › Media Library grid client-side uploads › hands a HEIC the browser cannot decode to the server when it can convert it
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeGreaterThanOrEqual(expected)
Expected: >= 1
Received: 0
Call Log:
- Timeout 60000ms exceeded while waiting on the predicate
679 | await expect
680 | .poll( () => counts.asyncUpload, { timeout: 60_000 } )
> 681 | .toBeGreaterThanOrEqual( 1 );
| ^
682 | expect( counts.rest ).toBe( 0 );
683 | await expect( page.locator( 'li.attachment.uploading' ) ).toHaveCount(
684 | 0,
at /home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/media-library-client-side-upload.test.js:681:5
|
|
🎭 Playwright Run Summary
3 failed
[chromium] › tests/e2e/specs/media-library-client-side-upload.test.js:654:6 › Media Library grid client-side uploads › hands a HEIC the browser cannot decode to the server when it can convert it
[chromium] › tests/e2e/specs/media-library-client-side-upload.test.js:692:6 › Media Library grid client-side uploads › reports the HEIC error when neither the browser nor the server can convert it
[chromium] › tests/e2e/specs/media-new-client-side-upload.test.js:711:6 › Add New Media File client-side uploads › hands a HEIC the browser cannot decode to the server when it can convert it
1 flaky
[chromium] › tests/e2e/specs/login-localize-script.test.js:45:6 › Localize Script on wp-login.php › should localize script
51 passed (9.2m)
|
|
🎭 Playwright Run Summary
3 failed
[chromium] › tests/e2e/specs/media-library-client-side-upload.test.js:654:6 › Media Library grid client-side uploads › hands a HEIC the browser cannot decode to the server when it can convert it
[chromium] › tests/e2e/specs/media-library-client-side-upload.test.js:692:6 › Media Library grid client-side uploads › reports the HEIC error when neither the browser nor the server can convert it
[chromium] › tests/e2e/specs/media-new-client-side-upload.test.js:711:6 › Add New Media File client-side uploads › hands a HEIC the browser cannot decode to the server when it can convert it
1 flaky
[chromium] › tests/e2e/specs/login-localize-script.test.js:45:6 › Localize Script on wp-login.php › should localize script
51 passed (11.3m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
failures-artifacts-37482913728
|
7.35 MB |
sha256:0f579ef4680da66edf267e580e1f7da25af215c0d7d92154fa08fd1615740201
|
|
|
failures-artifacts-SCRIPT_DEBUG-37482913728
|
7.83 MB |
sha256:875cbf1d689808b96cfa4129bbd6d2c65c0956ae014850e78f439d82393e3479
|
|