feat(plugin-search): reindex collections #12386
main.yml
on: pull_request
lint
59s
changes
4s
Matrix: tests-e2e
Matrix: tests-int
tests-type-generation
22s
Matrix: build-templates
Publish Canary
0s
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 |
|