feat: Plus und Minus Zoom Icons

This commit is contained in:
ISA
2025-09-16 12:12:31 +02:00
parent 051dd4c306
commit 31c770f778
14 changed files with 192 additions and 31 deletions

View File

@@ -1,6 +1,6 @@
<testsuites id="" name="" tests="2" failures="1" skipped="0" errors="0" time="20.996912000000002">
<testsuite name="mapcomponent.spec.js" timestamp="2025-09-16T09:56:04.986Z" hostname="chromium" tests="2" failures="1" skipped="0" time="25.036" errors="0">
<testcase name="MapComponent" classname="mapcomponent.spec.js" time="18.789">
<testsuites id="" name="" tests="3" failures="2" skipped="0" errors="0" time="22.572574">
<testsuite name="mapcomponent.spec.js" timestamp="2025-09-16T10:11:10.535Z" hostname="chromium" tests="3" failures="2" skipped="0" time="41.545" errors="0">
<testcase name="MapComponent" classname="mapcomponent.spec.js" time="20.181">
<failure message="mapcomponent.spec.js:162:5 MapComponent" type="FAILURE">
<![CDATA[ [chromium] mapcomponent.spec.js:162:5 MapComponent ───────────────────────────────────────────
@@ -56,7 +56,54 @@
]]>
</system-out>
</testcase>
<testcase name="mouse wheel zoom updates mapZoom" classname="mapcomponent.spec.js" time="6.247">
<testcase name="mouse wheel zoom updates mapZoom" classname="mapcomponent.spec.js" time="14.824">
<failure message="mapcomponent.spec.js:239:5 mouse wheel zoom updates mapZoom" type="FAILURE">
<![CDATA[ [chromium] mapcomponent.spec.js:239:5 mouse wheel zoom updates mapZoom ───────────────────────
TimeoutError: page.waitForFunction: Timeout 10000ms exceeded.
82 | */
83 | async function waitForZoomChange(page, previousZoom, compareFn) {
> 84 | await page.waitForFunction(
| ^
85 | (prev, cmp) => {
86 | const v = localStorage.getItem("mapZoom");
87 | if (!v) return false;
at waitForZoomChange (C:\Users\isa.LTW\Desktop\15.09.2025\NodeMap\15.09.2025 NodeMap V1.1.350\playwright\tests\mapcomponent.spec.js:84:14)
at C:\Users\isa.LTW\Desktop\15.09.2025\NodeMap\15.09.2025 NodeMap V1.1.350\playwright\tests\mapcomponent.spec.js:261:9
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
..\..\test-results\mapcomponent-mouse-wheel-zoom-updates-mapZoom-chromium\test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #3: video (video/webm) ──────────────────────────────────────────────────────────────
..\..\test-results\mapcomponent-mouse-wheel-zoom-updates-mapZoom-chromium\video.webm
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: ..\..\test-results\mapcomponent-mouse-wheel-zoom-updates-mapZoom-chromium\error-context.md
]]>
</failure>
<system-out>
<![CDATA[[localStorage snapshot] {
mapZoom: [32m'10'[39m,
mapCenter: [32m'[53.23938294961826,8.21434020996094]'[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-mouse-wheel-zoom-updates-mapZoom-chromium\test-failed-1.png]]
[[ATTACHMENT|..\..\test-results\mapcomponent-mouse-wheel-zoom-updates-mapZoom-chromium\video.webm]]
[[ATTACHMENT|..\..\test-results\mapcomponent-mouse-wheel-zoom-updates-mapZoom-chromium\error-context.md]]
]]>
</system-out>
</testcase>
<testcase name="zoom control buttons update mapZoom" classname="mapcomponent.spec.js" time="6.54">
</testcase>
</testsuite>
</testsuites>