mirror of
https://github.com/stablyai/orca.git
synced 2026-11-15 10:27:33 +00:00
* Optimize agent picker menu updates and pointer highlighting - Keep catalog hydration re-renders scoped to open menu content - Preserve unchanged picker rows and fix menu highlights after scrolling or submenu flicks * Improve menu pointer handoffs and picker update performance - Preserve focus during scrolling and portaled setup interactions - Open rested submenu targets without an extra pointer move - Avoid unnecessary picker row updates while keeping translations current * Fix inventory subscriber assertions to identify agents * Defer launch picker inventory updates to passive effects * Add menu pointer highlight component fixtures and tests * Fix checkbox menu item test accessibility state * Reset retained menu pointer tracking on reopen * Keep menu highlights in sync while scrolling submenus * Remove synthetic submenu pointer handoff - Preserve Radix hover and keyboard navigation without triggering clicks - Keep wheel-scroll highlight synchronization responsive to current cursor position * Preserve submenu pointer grace after wheel scrolling * Preserve prevented menu pointer movement during scrolling * Fix menu pointer tracking observer cleanup * Recognize component fixture specs as Playwright tests
26 lines
791 B
TypeScript
26 lines
791 B
TypeScript
import { defineConfig } from '@playwright/test'
|
|
|
|
// ORCA_BACKGROUND_LAUNCH=1 pnpm exec playwright test --config tests/component-fixtures/playwright.config.ts
|
|
export default defineConfig({
|
|
testDir: '.',
|
|
testMatch: '*.spec.ts',
|
|
fullyParallel: true,
|
|
use: {
|
|
baseURL: 'http://127.0.0.1:5197',
|
|
headless: true,
|
|
viewport: { width: 1000, height: 720 },
|
|
reducedMotion: 'reduce',
|
|
launchOptions: process.env.ORCA_FIXTURES_BROWSER
|
|
? { executablePath: process.env.ORCA_FIXTURES_BROWSER }
|
|
: undefined,
|
|
trace: 'retain-on-failure'
|
|
},
|
|
webServer: {
|
|
command:
|
|
'pnpm exec vite --config config/vite.fixtures.config.ts --host 127.0.0.1 --port 5197 --strictPort',
|
|
cwd: '../..',
|
|
url: 'http://127.0.0.1:5197/fixtures.html',
|
|
timeout: 120_000
|
|
}
|
|
})
|