Files
gstack/test/fixtures/spa.html
T
Garry Tan 27b28b048d test: 40 integration tests with fixture server
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>
2026-03-11 14:23:45 -07:00

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>