Skip to content

feat(plugin-search): reindex collections #12386

feat(plugin-search): reindex collections

feat(plugin-search): reindex collections #12386

Triggered via pull request November 21, 2024 05:26
Status Failure
Total duration 12m 38s
Artifacts 3

main.yml

on: pull_request
Matrix: tests-e2e
Matrix: tests-int
tests-unit
35s
tests-unit
tests-type-generation
22s
tests-type-generation
Matrix: build-templates
All Green
0s
All Green
Publish Canary
0s
Publish Canary
Fit to window
Zoom out
Zoom in

Annotations

5 errors
@payloadcms/plugin-search › should delete existing search indexes before reindexing: test/plugin-search/int.spec.ts#L357
expect(received).toHaveLength(expected) Expected length: 0 Received length: 1 Received array: [{"createdAt": "2024-11-21T05:34:58.498Z", "doc": {"relationTo": "posts", "value": 1}, "excerpt": "This is a fallback excerpt", "id": 5, "priority": 20, "slug": null, "title": "Test post title", "updatedAt": "2024-11-21T05:34:58.527Z"}] at Object.toHaveLength (plugin-search/int.spec.ts:357:21)
@payloadcms/plugin-search › should reindex whole collections: test/plugin-search/int.spec.ts#L401
expect(received).toBe(expected) // Object.is equality Expected: 4 Received: 5 at Object.toBe (plugin-search/int.spec.ts:401:31)
int-sqlite
Process completed with exit code 1.
e2e-admin__e2e__2
Process completed with exit code 1.
All Green
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
test-results-admin__e2e__2
20.3 MB
test-results-admin__e2e__3
8.79 MB
test-results-fields__collections__Text
1.1 MB