feat: add advanced analytics and territory management system
- Add comprehensive analytics components with export functionality - Implement territory management with manager performance tracking - Add seatmap components for venue layout management - Create customer management features with modal interface - Add advanced hooks for dashboard flags and territory data - Implement seat selection and venue management utilities - Add type definitions for ticketing and seatmap systems 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import { defineConfig, devices } from '@playwright/test';
|
||||
|
||||
const PORT = process.env.PORT || 5173;
|
||||
|
||||
/**
|
||||
* @see https://playwright.dev/docs/test-configuration
|
||||
*/
|
||||
@@ -22,7 +24,7 @@ export default defineConfig({
|
||||
/* 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:5173',
|
||||
baseURL: `http://localhost:${PORT}`,
|
||||
|
||||
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
|
||||
trace: 'on-first-retry',
|
||||
@@ -94,18 +96,18 @@ export default defineConfig({
|
||||
/* Run your local dev server before starting the tests */
|
||||
webServer: {
|
||||
command: 'npm run dev',
|
||||
url: 'http://localhost:5173',
|
||||
reuseExistingServer: !process.env.CI,
|
||||
timeout: 120 * 1000,
|
||||
port: Number(PORT),
|
||||
reuseExistingServer: true,
|
||||
timeout: 120000,
|
||||
},
|
||||
|
||||
/* Global setup and teardown */
|
||||
globalSetup: require.resolve('./tests/global-setup.ts'),
|
||||
// globalSetup: './tests/global-setup.ts',
|
||||
|
||||
/* Timeout settings */
|
||||
timeout: 30 * 1000,
|
||||
timeout: 60 * 1000, // Increased for performance tests
|
||||
expect: {
|
||||
timeout: 5 * 1000,
|
||||
timeout: 10 * 1000, // Longer expectations for mobile interactions
|
||||
},
|
||||
|
||||
/* Output directories */
|
||||
|
||||
Reference in New Issue
Block a user