chore: enhance E2E tests by adding synthetic global LLM config and updating environment variables for Google OAuth

This commit is contained in:
Anish Sarkar 2026-05-12 02:37:39 +05:30
parent 315329f344
commit 650b691a39
7 changed files with 170 additions and 9 deletions

View file

@ -27,7 +27,7 @@ export default defineConfig({
expect: { timeout: 15_000 },
fullyParallel: true,
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 2 : 0,
retries: process.env.CI ? 1 : 0,
workers: 1,
reporter: process.env.CI
? [["html", { open: "never" }], ["github"], ["list"]]

View file

@ -107,14 +107,14 @@ test.describe("Manual file upload journey", () => {
});
});
test("user uploads a PDF (DOCUMENT branch via real Docling)", async ({
test("user uploads a PDF (DOCUMENT branch)", async ({
page,
request,
apiToken,
searchSpace,
chatThread,
}) => {
test.setTimeout(240_000); // Docling cold-start can take 30-60s on first invocation.
test.setTimeout(180_000);
await uploadAndAssert({
page,