fix(web): gracefully handle SchemaVersionNotSupported error in ZeroPr… #1460
Annotations
8 errors and 1 notice
|
Run Playwright tests
Process completed with exit code 1.
|
|
Run Playwright tests:
surfsense_web/tests/documents/file-upload/journey.spec.ts#L54
2) [chromium] › tests/documents/file-upload/journey.spec.ts:110:6 › Manual file upload journey › user uploads a PDF (DOCUMENT branch)
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 180000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Upload' })
- locator resolved to <button data-slot="button" data-joyride="upload-button" class="inline-flex items-center justify-center whitespace-nowrap text-sm font-medium transition-[color,box-shadow] disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive border-inp…>…</button>
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div data-state="open" aria-hidden="true" data-aria-hidden="true" class="fixed inset-0 z-50 bg-black/50 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"></div> intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div data-state="open" aria-hidden="true" data-aria-hidden="true" class="fixed inset-0 z-50 bg-black/50 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"></div> intercepts pointer events
- retrying click action
- waiting 100ms
317 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div data-state="open" aria-hidden="true" data-aria-hidden="true" class="fixed inset-0 z-50 bg-black/50 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"></div> intercepts pointer events
- retrying click action
- waiting 500ms
52 | });
53 |
> 54 | await page.getByRole("button", { name: "Upload" }).click();
| ^
55 | const dialog = page.getByRole("dialog", { name: "Upload Documents" });
56 | await expect(dialog).toBeVisible();
57 |
at uploadAndAssert (/home/runner/work/SurfSense/SurfSense/surfsense_web/tests/documents/file-upload/journey.spec.ts:54:53)
at /home/runner/work/SurfSense/SurfSense/surfsense_web/tests/documents/file-upload/journey.spec.ts:119:3
|
|
Run Playwright tests:
surfsense_web/tests/documents/file-upload/journey.spec.ts#L0
2) [chromium] › tests/documents/file-upload/journey.spec.ts:110:6 › Manual file upload journey › user uploads a PDF (DOCUMENT branch)
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 180000ms exceeded.
|
|
Run Playwright tests:
surfsense_web/tests/documents/file-upload/journey.spec.ts#L59
2) [chromium] › tests/documents/file-upload/journey.spec.ts:110:6 › Manual file upload journey › user uploads a PDF (DOCUMENT branch)
Error: locator.click: Test timeout of 180000ms exceeded.
Call log:
- waiting for getByRole('dialog', { name: 'Upload Documents' }).getByRole('button', { name: /Upload 1 file/i })
- locator resolved to <button data-slot="button" class="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-[color,box-shadow] disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive bg-primary te…>…</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is not stable
- retrying click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="flex flex-col gap-3 p-6">…</div> from <div role="dialog" tabindex="-1" id="radix-_r_14_" data-state="open" aria-labelledby="radix-_r_15_" aria-describedby="radix-_r_16_" class="fixed left-[50%] top-[50%] z-50 grid w-full translate-x-[-50%] translate-y-[-50%] bg-popover text-popover-foreground shadow-2xl duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 rounded-xl focus:outline-none focus:ring-0…>…</div> subtree intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <p id="radix-_r_16_" class="text-sm leading-relaxed text-muted-foreground">Turn prompts into hands-off AI agent workflows. D…</p> from <div role="dialog" tabindex="-1" id="radix-_r_14_" data-state="open" aria-labelledby="radix-_r_15_" aria-describedby="radix-_r_16_" class="fixed left-[50%] top-[50%] z-50 grid w-full translate-x-[-50%] translate-y-[-50%] bg-popover text-popover-foreground shadow-2xl duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 rounded-xl focus:outline-none focus:ring-0…>…</div> subtree intercepts pointer events
- retrying click action
- waiting 100ms
72 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <p id="radix-_r_16_" class="text-sm leading-relaxed text-muted-foreground">Turn prompts into hands-off AI agent workflows. D…</p> from <div role="dialog" tabindex="-1" id="radix-_r_14_" data-state="open" aria-labelledby="radix-_r_15_" aria-describedby="radix-_r_16_" class="fixed left-[50%] top-[50%] z-50 grid w-full translate-x-[-50%] translate-y-[-50%] bg-popover text-popover-foreground shadow-2xl duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 rounded-xl focus:outline-none focus:ring-0…>…</div> subtree intercepts pointer events
- retrying click action
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="flex flex-col gap-3 p-6">…</div> from <div role="dialog" tabindex="-1" id="radix-_r_14_" da
|
|
Run Playwright tests:
surfsense_web/tests/documents/file-upload/journey.spec.ts#L0
2) [chromium] › tests/documents/file-upload/journey.spec.ts:110:6 › Manual file upload journey › user uploads a PDF (DOCUMENT branch)
Test timeout of 180000ms exceeded.
|
|
Run Playwright tests:
surfsense_web/tests/documents/file-upload/journey.spec.ts#L56
1) [chromium] › tests/documents/file-upload/journey.spec.ts:91:6 › Manual file upload journey › user uploads a markdown file (PLAINTEXT branch)
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible() failed
Locator: getByRole('dialog', { name: 'Upload Documents' })
Expected: visible
Timeout: 15000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 15000ms
- waiting for getByRole('dialog', { name: 'Upload Documents' })
54 | await page.getByRole("button", { name: "Upload" }).click();
55 | const dialog = page.getByRole("dialog", { name: "Upload Documents" });
> 56 | await expect(dialog).toBeVisible();
| ^
57 |
58 | await dialog.locator('input[type="file"]').first().setInputFiles(file.path);
59 | await dialog.getByRole("button", { name: /Upload 1 file/i }).click();
at uploadAndAssert (/home/runner/work/SurfSense/SurfSense/surfsense_web/tests/documents/file-upload/journey.spec.ts:56:23)
at /home/runner/work/SurfSense/SurfSense/surfsense_web/tests/documents/file-upload/journey.spec.ts:100:3
|
|
Run Playwright tests:
surfsense_web/tests/documents/file-upload/journey.spec.ts#L59
1) [chromium] › tests/documents/file-upload/journey.spec.ts:91:6 › Manual file upload journey › user uploads a markdown file (PLAINTEXT branch)
Error: locator.click: Test timeout of 180000ms exceeded.
Call log:
- waiting for getByRole('dialog', { name: 'Upload Documents' }).getByRole('button', { name: /Upload 1 file/i })
- locator resolved to <button data-slot="button" class="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-[color,box-shadow] disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive bg-primary te…>…</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <p id="radix-_r_16_" class="text-sm leading-relaxed text-muted-foreground">Turn prompts into hands-off AI agent workflows. D…</p> from <div role="dialog" tabindex="-1" id="radix-_r_14_" data-state="open" aria-labelledby="radix-_r_15_" aria-describedby="radix-_r_16_" class="fixed left-[50%] top-[50%] z-50 grid w-full translate-x-[-50%] translate-y-[-50%] bg-popover text-popover-foreground shadow-2xl duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 rounded-xl focus:outline-none focus:ring-0…>…</div> subtree intercepts pointer events
- retrying click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div class="flex flex-col gap-3 p-6">…</div> from <div role="dialog" tabindex="-1" id="radix-_r_14_" data-state="open" aria-labelledby="radix-_r_15_" aria-describedby="radix-_r_16_" class="fixed left-[50%] top-[50%] z-50 grid w-full translate-x-[-50%] translate-y-[-50%] bg-popover text-popover-foreground shadow-2xl duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 rounded-xl focus:outline-none focus:ring-0…>…</div> subtree intercepts pointer events
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <p id="radix-_r_16_" class="text-sm leading-relaxed text-muted-foreground">Turn prompts into hands-off AI agent workflows. D…</p> from <div role="dialog" tabindex="-1" id="radix-_r_14_" data-state="open" aria-labelledby="radix-_r_15_" aria-describedby="radix-_r_16_" class="fixed left-[50%] top-[50%] z-50 grid w-full translate-x-[-50%] translate-y-[-50%] bg-popover text-popover-foreground shadow-2xl duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 rounded-xl focus:outline-none focus:ring-0…>…</div> subtree intercepts pointer events
- retrying click action
- waiting 100ms
72 × waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <p id="radix-_r_16_" class="text-sm leading-relaxed text-muted-foreground">Turn prompts into hands-off AI agent workflows. D…</p> from <div role="dialog" tabindex="-1" id="radix-_r_14_" data-state="open" aria-labelledby="radix-_r_15_" aria-describedby="radix-_r_16
|
|
Run Playwright tests:
surfsense_web/tests/documents/file-upload/journey.spec.ts#L0
1) [chromium] › tests/documents/file-upload/journey.spec.ts:91:6 › Manual file upload journey › user uploads a markdown file (PLAINTEXT branch)
Test timeout of 180000ms exceeded.
|
|
Run Playwright tests
2 failed
[chromium] › tests/documents/file-upload/journey.spec.ts:91:6 › Manual file upload journey › user uploads a markdown file (PLAINTEXT branch)
[chromium] › tests/documents/file-upload/journey.spec.ts:110:6 › Manual file upload journey › user uploads a PDF (DOCUMENT branch)
17 passed (12.5m)
|
background
wait
wait-all
cancel
Loading