feat(plugin-search): reindex collections #12389
main.yml
on: pull_request
lint
59s
changes
5s
Matrix: tests-e2e
Matrix: tests-int
tests-type-generation
28s
Matrix: build-templates
Publish Canary
0s
Annotations
3 errors
@payloadcms/plugin-search › should delete existing search indexes before reindexing:
test/plugin-search/int.spec.ts#L362
expect(received).toHaveLength(expected)
Expected length: 0
Received length: 1
Received array: [{"createdAt": "2024-11-21T06:49:18.093Z", "doc": {"relationTo": "posts", "value": 1}, "excerpt": "This is a fallback excerpt", "id": 5, "priority": 20, "slug": null, "title": "Test post title", "updatedAt": "2024-11-21T06:49:18.120Z"}]
at Object.toHaveLength (plugin-search/int.spec.ts:362:21)
|
int-sqlite
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
|
4.39 MB |
|
test-results-fields__collections__Lexical__e2e__main
|
2.91 MB |
|
test-results-fields__collections__Text
|
398 KB |
|