feat: comprehensive project completion and documentation
- Enhanced event creation wizard with multi-step validation - Added advanced QR scanning system with offline support - Implemented comprehensive territory management features - Expanded analytics with export functionality and KPIs - Created complete design token system with theme switching - Added 25+ Playwright test files for comprehensive coverage - Implemented enterprise-grade permission system - Enhanced component library with 80+ React components - Added Firebase integration for deployment - Completed Phase 3 development goals substantially 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -48,7 +48,7 @@ test.describe('PWA Installation Tests', () => {
|
||||
|
||||
// Verify icons are properly configured
|
||||
expect(manifest.icons).toHaveLength(8);
|
||||
expect(manifest.icons.some(icon => icon.purpose === 'maskable')).toBe(true);
|
||||
expect(manifest.icons.some((icon: any) => icon.purpose === 'maskable')).toBe(true);
|
||||
|
||||
// Verify shortcuts
|
||||
expect(manifest.shortcuts).toHaveLength(1);
|
||||
@@ -89,7 +89,7 @@ test.describe('PWA Installation Tests', () => {
|
||||
expect(offlineCapable).toBe(true);
|
||||
});
|
||||
|
||||
test('should handle camera permissions in PWA context', async ({ page, context }) => {
|
||||
test('should handle camera permissions in PWA context', async ({ page }) => {
|
||||
await page.goto(`/scan?eventId=${testEventId}`);
|
||||
|
||||
// Camera should be accessible
|
||||
@@ -108,13 +108,13 @@ test.describe('PWA Installation Tests', () => {
|
||||
expect(['granted', 'prompt']).toContain(cameraPermission);
|
||||
});
|
||||
|
||||
test('should support Add to Home Screen on mobile viewports', async ({ page, browserName }) => {
|
||||
test('should support Add to Home Screen on mobile viewports', async ({ page }) => {
|
||||
// Test on mobile viewport
|
||||
await page.setViewportSize({ width: 375, height: 667 });
|
||||
await page.goto(`/scan?eventId=${testEventId}`);
|
||||
|
||||
// Check for PWA install prompt capability
|
||||
const installable = await page.evaluate(() =>
|
||||
await page.evaluate(() =>
|
||||
// Check if beforeinstallprompt event can be triggered
|
||||
'onbeforeinstallprompt' in window
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user