mirror of
https://github.com/proffesor-for-testing/agentic-qe.git
synced 2026-09-19 08:45:47 +08:00
7363bb1278
## @ruvector/edge Integration - Phases 0-3 Complete ### Phase 0: Browser Runtime - WASM shims and browser compatibility - BrowserAgent, BrowserHNSWAdapter, IndexedDBStorage - Chrome DevTools panel ### Phase 1: VS Code Extension MVP - Full extension with real-time analysis - Inline test suggestions, coverage visualization - Offline-first storage with sync ### Phase 2: P2P Foundation - Ed25519 crypto, WebRTC connections - SignalingServer, AgentSpawnAPI, EdgeServer - Pattern sharing via data channels - CRDT conflict resolution ### Phase 3: Web Dashboard - React dashboard with dark theme - P2P connection management UI - QE Agent Launcher from browser - React hooks (useP2P, usePatternSync, etc.) ### Documentation - Edge Server Guide - P2P Pattern Sharing Guide - Updated CLI agent-commands ### Also includes - Dead code cleanup (~22k lines) - 143 new P2P integration tests - Version updates across all files 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
58 lines
1.3 KiB
TypeScript
58 lines
1.3 KiB
TypeScript
import { test, expect } from '@playwright/test';
|
|
|
|
test('simple HTML page works', async ({ page }) => {
|
|
const errors: string[] = [];
|
|
|
|
page.on('pageerror', (error) => {
|
|
console.log('[Page Error]:', error.message);
|
|
errors.push(error.message);
|
|
});
|
|
|
|
page.on('console', msg => {
|
|
if (msg.type() === 'error') {
|
|
console.log('[Console Error]:', msg.text());
|
|
}
|
|
});
|
|
|
|
await page.goto('/test.html');
|
|
await page.waitForTimeout(2000);
|
|
|
|
// Check if JavaScript executed
|
|
const content = await page.textContent('#root');
|
|
console.log('Root content:', content);
|
|
|
|
// Log all errors
|
|
if (errors.length > 0) {
|
|
console.log('Errors found:', errors);
|
|
}
|
|
|
|
expect(errors.length).toBe(0);
|
|
});
|
|
|
|
test('simple React page works', async ({ page }) => {
|
|
const errors: string[] = [];
|
|
|
|
page.on('pageerror', (error) => {
|
|
console.log('[Page Error]:', error.message);
|
|
errors.push(error.message);
|
|
});
|
|
|
|
page.on('console', msg => {
|
|
console.log(`[Browser ${msg.type()}]:`, msg.text());
|
|
});
|
|
|
|
await page.goto('/simple-react.html');
|
|
await page.waitForTimeout(3000);
|
|
|
|
// Check if React rendered
|
|
const content = await page.textContent('#root');
|
|
console.log('Root content:', content);
|
|
|
|
// Log all errors
|
|
if (errors.length > 0) {
|
|
console.log('Errors found:', errors);
|
|
}
|
|
|
|
expect(errors.length).toBe(0);
|
|
});
|