From cba29e6aae637b04ff6eaf28f74bc15b6242b9ea Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Mon, 16 Feb 2026 19:37:50 -0800 Subject: Remove legacy V2 React frontend and update build/test scripts to focus on Vanilla JS (V3) --- frontend/tests/font.spec.ts | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 frontend/tests/font.spec.ts (limited to 'frontend/tests/font.spec.ts') diff --git a/frontend/tests/font.spec.ts b/frontend/tests/font.spec.ts deleted file mode 100644 index 0723f38..0000000 --- a/frontend/tests/font.spec.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { test, expect } from '@playwright/test'; - -test.describe('Font Theme Settings', () => { - test('should change font family when theme starts', async ({ page }) => { - // 1. Login - await page.goto('/v2/login'); - await page.click('button[type="submit"]'); - await expect(page).toHaveURL(/.*\/v2\/?$/); - - // 2. Go to Settings - await page.click('text=Settings'); - await expect(page).toHaveURL(/.*\/v2\/settings/); - - // 3. Verify Default Font (Palatino) - // We check the computed style of the dashboard container or a body element - const dashboard = page.locator('.dashboard'); - await expect(dashboard).toHaveCSS('font-family', /Palatino/); - - // 4. Change to Sans-Serif - await page.selectOption('select.font-select', 'sans'); - - // 5. Verify Sans Font (Inter) - await expect(dashboard).toHaveCSS('font-family', /Inter/); - - // 6. Change to Monospace - await page.selectOption('select.font-select', 'mono'); - - // 7. Verify Mono Font (Menlo or Monaco or Courier) - await expect(dashboard).toHaveCSS('font-family', /Menlo|Monaco|Courier/); - }); -}); -- cgit v1.2.3