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>
16 lines
666 B
JavaScript
16 lines
666 B
JavaScript
const { chromium } = require('@playwright/test');
|
|
(async () => {
|
|
const browser = await chromium.launch();
|
|
// Mit baseURL ohne trailing slash:
|
|
const ctx1 = await browser.newContext({ baseURL: 'http://localhost/geograsim/App' });
|
|
const p1 = await ctx1.newPage();
|
|
const r1 = await p1.goto('/fluss?level=1');
|
|
console.log('no-trail /fluss:', r1.status(), p1.url());
|
|
// Mit trailing slash:
|
|
const ctx2 = await browser.newContext({ baseURL: 'http://localhost/geograsim/App/' });
|
|
const p2 = await ctx2.newPage();
|
|
const r2 = await p2.goto('fluss?level=1');
|
|
console.log('with-trail relative fluss:', r2.status(), p2.url());
|
|
await browser.close();
|
|
})();
|