Skip to content

Commit

Permalink
feat: e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
Icemap committed Oct 10, 2024
1 parent 1370b6a commit 5041f8e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions e2e/tests/api.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ test.describe('API', () => {
await expectGetOkStep('/api/v1/admin/chat-engines');

await expectGetOkStep('/api/v1/admin/documents');
await expectGetOkStep('/api/v1/admin/documents?page=1&size=10&language=en');
await expectGetOkStep('/api/v1/admin/documents?page=1&size=10&source_uri=system-variables&created_at_start=2024-07-04T11:58:00&created_at_end=2024-07-04T12:58:00&updated_at_start=2024-08-22T14:36:59&updated_at_end=2024-08-23T14:37:59&last_modified_at_start=2024-07-04T11:57:58&last_modified_at_end=2024-07-05T11:57:59&name=System&mime_type=text/markdown&index_status=failed&language=en&product=tidb');

await expectGetOkStep('/api/v1/admin/datasources');

Expand Down

0 comments on commit 5041f8e

Please sign in to comment.