Files
store/playwright.config.ts
zeekay 5c87742921 Apply official Hanzo branding and add Web3 wallet integration
- Update globals.css with official OKLCH colors from @hanzo/ui theme
- Replace local UI components with @hanzo/ui primitives (Button, Input, Card, Badge)
- Add RainbowKit with Hanzo purple (#7c3aed) theme for Web3 wallet connection
- Configure wagmi with custom chain definitions (Hanzo, Zoo, Lux networks)
- Add Playwright e2e test suite (20 comprehensive test cases)
- Fix React.Children.only error in GitHub link button with asChild prop
- Change dev/start port from 3000 to 3200 to avoid conflicts

Store now uses official Hanzo brand colors and supports wallet connections
for enhanced user experience when installing MCP servers.
2025-11-05 23:36:48 -08:00

54 lines
1.5 KiB
TypeScript

import { defineConfig, devices } from '@playwright/test';
/**
* See https://playwright.dev/docs/test-configuration.
*/
export default defineConfig({
testDir: './e2e',
/* Run tests in files in parallel */
fullyParallel: true,
/* Fail the build on CI if you accidentally left test.only in the source code. */
forbidOnly: !!process.env.CI,
/* Retry on CI only */
retries: process.env.CI ? 2 : 0,
/* Opt out of parallel tests on CI. */
workers: process.env.CI ? 1 : undefined,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: 'html',
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
use: {
/* Base URL to use in actions like `await page.goto('/')`. */
baseURL: 'http://localhost:3200',
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: 'on-first-retry',
},
/* Configure projects for major browsers */
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'] },
},
{
name: 'firefox',
use: { ...devices['Desktop Firefox'] },
},
{
name: 'webkit',
use: { ...devices['Desktop Safari'] },
},
],
/* Run your local dev server before starting the tests */
webServer: {
command: 'npm run dev',
url: 'http://localhost:3200',
reuseExistingServer: !process.env.CI,
timeout: 120000, // 2 minutes for server to start
stdout: 'pipe',
stderr: 'pipe',
},
});