Compare commits

...

3 Commits

Author SHA1 Message Date
Georgi Gerganov baac31998a cont : another try 2026-05-25 09:14:48 +03:00
Georgi Gerganov 3021f0f4c5 ui : try to fix e2e demo test
Assisted-by: llama.cpp:local pi
2026-05-25 08:32:44 +03:00
Georgi Gerganov b02a677519 ui : run prettier 2026-05-25 08:28:25 +03:00
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1 +1 @@
export const MEGAPIXELS_TO_PIXELS = 1_000_000;
export const MEGAPIXELS_TO_PIXELS = 1_000_000;
+1 -2
View File
@@ -14,9 +14,8 @@ export function capImageDataURLSize(
): Promise<string> {
return new Promise((resolve, reject) => {
try {
const mimeMatch = base64UrlImage.match(BASE64_IMAGE_URI_REGEX);
if (!mimeMatch) {
return reject(new Error('Invalid data URL format.'));
}
+3 -2
View File
@@ -1,6 +1,7 @@
import { expect, test } from '@playwright/test';
test('home page has expected h1', async ({ page }) => {
test('home page loads', async ({ page }) => {
await page.goto('/');
await expect(page.locator('h1').first()).toBeVisible();
// Wait for the SPA to hydrate — the chat form is rendered by the hydrated app
await expect(page.locator('form').first()).toBeVisible();
});