Files
blackcanyontickets/check-console.cjs
dzinesco dbf4b11e81 fix: Implement comprehensive edit event button functionality and resolve authentication issues
Major fixes and improvements:
- Fixed edit event button functionality with proper event handlers and DOM ready state checking
- Added status column to tickets table via Supabase migration to resolve 500 API errors
- Updated stats API to correctly calculate revenue from decimal price values
- Resolved authentication redirect loops by fixing cookie configuration for Docker environment
- Fixed Permissions-Policy header syntax errors
- Added comprehensive debugging and error handling for event management
- Implemented modal-based event editing with form validation and API integration
- Enhanced event data loading with proper error handling and user feedback

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-14 18:49:49 -06:00

26 lines
799 B
JavaScript

const { test, expect } = require('@playwright/test');
test.describe('Console Log Check', () => {
test('Check if script console logs appear', async ({ page }) => {
const logs = [];
// Capture console logs
page.on('console', msg => {
console.log('CONSOLE:', msg.text());
logs.push(msg.text());
});
// Capture errors
page.on('pageerror', error => {
console.log('PAGE ERROR:', error.message);
});
// Navigate to the calendar page
await page.goto('http://localhost:3000/calendar');
await page.waitForLoadState('networkidle');
await page.waitForTimeout(2000);
console.log('All console logs:', logs);
console.log('Script starting log found:', logs.some(log => log.includes('CALENDAR SCRIPT STARTING')));
});
});