chore: test

This commit is contained in:
ISA
2025-09-16 11:47:04 +02:00
parent 6bc2e16657
commit eaacec71da
15 changed files with 276 additions and 10 deletions

View File

@@ -1,9 +1,75 @@
<testsuites id="" name="" tests="1" failures="0" skipped="0" errors="0" time="10.898770000000018">
<testsuite name="mapcomponent.spec.js" timestamp="2025-09-16T08:19:23.460Z" hostname="chromium" tests="1" failures="0" skipped="0" time="7.415" errors="0">
<testcase name="MapComponent" classname="mapcomponent.spec.js" time="7.415">
<testsuites id="" name="" tests="2" failures="1" skipped="0" errors="0" time="18.959252999999997">
<testsuite name="mapcomponent.spec.js" timestamp="2025-09-16T09:35:23.479Z" hostname="chromium" tests="2" failures="1" skipped="0" time="23.758" errors="0">
<testcase name="MapComponent" classname="mapcomponent.spec.js" time="16.25">
<failure message="mapcomponent.spec.js:162:5 MapComponent" type="FAILURE">
<![CDATA[ [chromium] mapcomponent.spec.js:162:5 MapComponent ───────────────────────────────────────────
Error: expect(locator).toBeVisible() failed
Locator: getByRole('button', { name: 'Info ausblenden' })
Expected: visible
Received: <element(s) not found>
Timeout: 10000ms
Call log:
- Expect "toBeVisible" with timeout 10000ms
- waiting for getByRole('button', { name: 'Info ausblenden' })
210 | ).toBeVisible();
211 | await page.getByRole("button", { name: "Layer-Panel ausblenden" }).click();
> 212 | await expect(page.getByRole("button", { name: "Info ausblenden" })).toBeVisible();
| ^
213 | await page.getByRole("button", { name: "Info ausblenden" }).click();
214 | await page.getByRole("button", { name: "Info einblenden" }).click();
215 | await expect(page.locator("div").filter({ hasText: "TALAS.Map Version" }).nth(3)).toBeVisible();
at C:\Users\isa.LTW\Desktop\15.09.2025\NodeMap\15.09.2025 NodeMap V1.1.350\playwright\tests\mapcomponent.spec.js:212:71
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
..\..\test-results\mapcomponent-MapComponent-chromium\test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #3: video (video/webm) ──────────────────────────────────────────────────────────────
..\..\test-results\mapcomponent-MapComponent-chromium\video.webm
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: ..\..\test-results\mapcomponent-MapComponent-chromium\error-context.md
attachment #5: trace (application/zip) ─────────────────────────────────────────────────────────
..\..\test-results\mapcomponent-MapComponent-chromium\trace.zip
Usage:
npx playwright show-trace ..\..\test-results\mapcomponent-MapComponent-chromium\trace.zip
────────────────────────────────────────────────────────────────────────────────────────────────
]]>
</failure>
<system-out>
<![CDATA[[localStorage snapshot] {
mapZoom: [32m'7'[39m,
mapCenter: [32m'[51.41321407879154,7.739617925303934]'[39m,
showAppInfoCard: [32m'false'[39m,
showCoordinateInput: [32m'false'[39m,
showLayersPanel: [32m'false'[39m,
showAreaDropdown: [32m'false'[39m,
currentMapId: [32m'12'[39m,
currentUserId: [32m'484'[39m
}
[[ATTACHMENT|..\..\test-results\mapcomponent-MapComponent-chromium\test-failed-1.png]]
[[ATTACHMENT|..\..\test-results\mapcomponent-MapComponent-chromium\video.webm]]
[[ATTACHMENT|..\..\test-results\mapcomponent-MapComponent-chromium\error-context.md]]
[[ATTACHMENT|..\..\test-results\mapcomponent-MapComponent-chromium\trace.zip]]
]]>
</system-out>
</testcase>
<testcase name="mouse wheel zoom updates mapZoom" classname="mapcomponent.spec.js" time="7.508">
<system-out>
<![CDATA[
[[ATTACHMENT|..\..\test-results\mapcomponent-MapComponent-chromium\trace.zip]]
[[ATTACHMENT|..\..\test-results\mapcomponent-mouse-wheel-zoom-updates-mapZoom-chromium\trace.zip]]
]]>
</system-out>
</testcase>