test(e2e): drop redundant comments from the call id logs helpers

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
Devin AI 2026-09-22 07:05:26 +00:00
parent 837b8ea94d
commit 8e422da162
2 changed files with 0 additions and 5 deletions

View file

@ -52,13 +52,10 @@ export async function sendChatCompletion(request: APIRequestContext, opts: ChatO
}
export interface ServedChat {
/** The completion id, which the Logs table calls Request ID. */
requestId: string;
/** The proxy's own correlation id, returned as x-litellm-call-id and used for OTEL traces. */
callId: string;
}
/** POST /v1/chat/completions and return both the completion id and the proxy's x-litellm-call-id. */
export async function sendChatCompletionWithCallId(request: APIRequestContext, opts: ChatOptions): Promise<ServedChat> {
const res = await postChatCompletion(request, opts);
expect(res.ok(), `chat completion for ${opts.model} failed (${res.status()}): ${await res.text()}`).toBe(true);

View file

@ -111,8 +111,6 @@ test.describe("Logs page", () => {
await expect(search).toBeVisible({ timeout: 20_000 });
await search.fill(callId);
// Searching by the header value finds the row; the row itself must show that same id so it can be
// correlated with the OTEL trace by eye.
const row = requestLogsRows(page).filter({ hasText: requestId });
await expect(row, `no logs row for call id ${callId}`).toHaveCount(1, { timeout: 30_000 });
await expect(row, `Logs row for ${requestId} does not display its x-litellm-call-id ${callId}`).toContainText(callId);