1e51ef7def
- Konzept/, didaktik_geografie/, didaktik_simulation/, v2-modules/, v2-platform/ - 12 code-workspace-Files - STATUS-*.md - viele M/D/R-Änderungen an bereits getrackten Files - .gitignore verstärkt: **/.humaninput/, **/secret_keys.txt Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
22 lines
1.0 KiB
JavaScript
22 lines
1.0 KiB
JavaScript
const { chromium } = require('@playwright/test');
|
|
(async () => {
|
|
const browser = await chromium.launch();
|
|
const ctx = await browser.newContext();
|
|
// 1) live-client.js enthält GGS_TUTORIAL-Doku?
|
|
const r1 = await ctx.request.get('https://geograsim.at/assets/js/live-client.js');
|
|
const js = await r1.text();
|
|
console.log('live-client.js:');
|
|
console.log(' GGS_TUTORIAL doc:', js.includes('GGS_TUTORIAL'));
|
|
console.log(' __GGS_LIVE__ :', js.includes('__GGS_LIVE__'));
|
|
console.log(' activeMs :', js.includes('activeMs'));
|
|
console.log(' MAX_SESSION_MS :', js.includes('MAX_SESSION_MS'));
|
|
// 2) teacher.html hat fluss in LIVE_PRIMARY_FIELDS + idle-tile?
|
|
const r2 = await ctx.request.get('https://geograsim.at/teacher');
|
|
const t = await r2.text();
|
|
console.log('teacher.html:');
|
|
console.log(' fluss section :', t.includes("'fluss':"));
|
|
console.log(' idle tile :', t.includes('idle') && t.includes('Zeit pausiert'));
|
|
console.log(' 5-col tiles :', t.includes('repeat(5,1fr)'));
|
|
await browser.close();
|
|
})();
|