import { expect, test } from './fixtures.js' test('boots and renders the CommiTea shell', async ({ app }) => { await app.expectLoaded() await app.screenshot('boot') }) test('renders the label-parse check from @commitea/core', async ({ window }) => { // Proves the core package is bundled + running in the renderer, not just // that the window opened. Updates as the scaffold gives way to real screens. await expect(window.getByText(/label parse check/i)).toBeVisible() await expect(window.getByText(/est\/3d · p\/2 · hard true/)).toBeVisible() }) test('exposes the commitea preload API', async ({ app }) => { const api = await app.preloadApi() expect(api).toBeDefined() expect(api).toHaveProperty('platform') })