remove obsolete elements and cleanup gui
Sonarqube Scanner / Prepare environment (push) Successful in 9s
Sonarqube Scanner / Build and test (push) Successful in 31s
Sonarqube Scanner / SonarQube analysis (push) Successful in 1m22s
Sonarqube Scanner / Deploy to Server (push) Successful in 8s

This commit is contained in:
Florian Zumpe
2026-10-02 10:39:21 +02:00
parent a3ee08ad4d
commit bbb1834709
9 changed files with 101 additions and 118 deletions
+5 -6
View File
@@ -18,8 +18,7 @@ test('main screen contains a persistent route control next to the information co
assert.match(html, /class="route-control"/);
assert.match(html, /id="route-control-button"/);
assert.match(html, /id="route-control-dropdown"/);
assert.match(html, /id="route-control-title"/);
assert.match(html, /id="route-control-next"/);
assert.doesNotMatch(html, /route-control-summary|route-control-title|route-control-next/);
assert.match(html, /id="route-control-server-list"/);
assert.match(html, /id="route-control-local-list"/);
assert.match(html, /id="route-control-new"/);
@@ -52,12 +51,12 @@ test('route selection separates activated server routes from local browser route
assert.match(app, /\[data-route-select\]/);
});
test('persistent route control displays the next unvisited Station and preserves progress when switching', async () => {
test('route switching preserves progress and navigation continues to target unvisited stations', async () => {
const app = await read('public/js/app.js');
assert.match(app, /function nextPoiMetric\(/);
assert.match(app, /I18n\.t\("app\.next-station-summary", \{ value1: metric\.poi\.title, value2: distance \}\)/);
assert.match(app, /state\.triggered\.has\(poi\.id\)/);
assert.match(app, /function nearestPendingPoi\(/);
assert.match(app, /function showPoiNavigation\(/);
assert.match(app, /state\.triggered\.has\(metric\.poi\.id\)/);
assert.match(app, /function suspendCurrentRoute\(/);
assert.match(app, /persistRouteProgress\(\)/);
assert.match(app, /await selectRoute/);