mirror of
https://github.com/garrytan/gstack.git
synced 2026-05-05 21:25:27 +02:00
27b28b048d
Tests all commands against local Bun test server serving HTML fixtures. Covers navigation, content extraction, JS/CSS inspection, form interaction, SPA rendering, console/network buffers, tabs, screenshots, responsive, diff, chain, and storage. 40 pass, 0 fail, 2s runtime. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
25 lines
638 B
HTML
25 lines
638 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Test Page - SPA</title>
|
|
<style>
|
|
body { font-family: sans-serif; }
|
|
#app { padding: 20px; }
|
|
.loaded { color: green; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="app">Loading...</div>
|
|
<script>
|
|
console.log('[SPA] Starting render');
|
|
console.warn('[SPA] This is a warning');
|
|
console.error('[SPA] This is an error');
|
|
setTimeout(() => {
|
|
document.getElementById('app').innerHTML = '<h1 class="loaded">SPA Content Loaded</h1><p>Rendered by JavaScript</p>';
|
|
console.log('[SPA] Render complete');
|
|
}, 500);
|
|
</script>
|
|
</body>
|
|
</html>
|