Refresh Project #14
ci.yml
on: pull_request
Matrix: test
Integration tests (wp-env)
2m 28s
Matrix: dist-smoke
Annotations
6 errors and 4 warnings
|
Integration tests (wp-env)
Process completed with exit code 1.
|
|
tests/integration/media.js > wpapi/fetch: media() > paging properties > allows access to the previous page of results via .prev:
tests/integration/media.js#L203
AssertionError: promise rejected "AssertionError: expected [ …(10) ] to dee… { …(4) }" instead of resolving
❯ tests/integration/media.js:203:25
Caused by: Caused by: AssertionError: expected [ …(10) ] to deeply equal [ …(10) ]
- Expected
+ Received
[
- "Image Alignment 300×200",
"Image Alignment 150×150",
"I Am Worth Loving Wallpaper",
"OLYMPUS DIGITAL CAMERA",
"St. Louis Blues",
"dsc20050604_133440_3421",
"dsc20040724_152504_532",
"Boat Barco Texture",
"Huatulco Coastline",
"Brazil Beach",
+ "Huatulco Coastline",
]
❯ tests/integration/media.js:193:35
|
|
tests/integration/media.js > wpapi/fetch: media() > paging properties > allows access to the next page of results via .next:
tests/integration/media.js#L166
AssertionError: promise rejected "AssertionError: expected [ …(10) ] to dee… { …(4) }" instead of resolving
❯ tests/integration/media.js:166:25
Caused by: Caused by: AssertionError: expected [ …(10) ] to deeply equal [ …(10) ]
- Expected
+ Received
[
- "Image Alignment 300×200",
"Image Alignment 150×150",
"I Am Worth Loving Wallpaper",
"OLYMPUS DIGITAL CAMERA",
"St. Louis Blues",
"dsc20050604_133440_3421",
"dsc20040724_152504_532",
"Boat Barco Texture",
"Huatulco Coastline",
"Brazil Beach",
+ "Huatulco Coastline",
]
❯ tests/integration/media.js:162:37
|
|
tests/integration/media.js > wpapi/fetch: media() > paging properties > provides a bound WPRequest for the next page as .next:
tests/integration/media.js#L150
AssertionError: promise rejected "AssertionError: expected [ 'Sunburst Over… { …(4) }" instead of resolving
❯ tests/integration/media.js:150:25
Caused by: Caused by: AssertionError: expected [ 'Sunburst Over River', …(5) ] to deeply equal [ 'Yachtsody in Blue', …(7) ]
- Expected
+ Received
@@ -1,8 +1,6 @@
[
- "Yachtsody in Blue",
- "Boardwalk",
"Sunburst Over River",
"Golden Gate Bridge",
"Bell on Wharf",
"dsc20050813_115856_52",
"dsc20050727_091048_222",
❯ tests/integration/media.js:146:37
|
|
tests/integration/media.js > wpapi/fetch: media() > paging properties > include the total number of media: use .headers() for coverage reasons:
tests/integration/media.js#L117
AssertionError: promise rejected "AssertionError: expected '36' to be '38' … { …(4) }" instead of resolving
❯ tests/integration/media.js:117:25
Caused by: Caused by: AssertionError: expected '36' to be '38' // Object.is equality
Expected: "38"
Received: "36"
❯ tests/integration/media.js:114:52
|
|
tests/integration/media.js > wpapi/fetch: media() > fetches the 10 most recent media by default:
tests/integration/media.js#L93
AssertionError: promise rejected "AssertionError: expected [ 'spectacles', … { …(4) }" instead of resolving
❯ tests/integration/media.js:93:24
Caused by: Caused by: AssertionError: expected [ 'spectacles', …(9) ] to deeply equal [ 'spectacles', …(9) ]
- Expected
+ Received
@@ -3,10 +3,10 @@
"dsc20050315_145007_132",
"dsc20050604_133440_34211",
"dsc20040724_152504_532",
"triforce-wallpaper",
"Vertical Featured Image",
- "Horizontal Featured Image",
"Unicorn Wallpaper",
"Image Alignment 1200×4002",
"Image Alignment 580×300",
+ "Image Alignment 300×200",
]
❯ tests/integration/media.js:90:34
|
|
Lint, typecheck, build & unit test (Node latest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Lint, typecheck, build & unit test (Node 24)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Published dist works on Node 24
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/download-artifact@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Integration tests (wp-env)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
dist
Expired
|
101 KB |
sha256:9960d96b789439c05431e59b7ed771c499e1c632d33673047865c1b763092c4f
|
|