fix(settings): connect to the decoder URL shown in the field

Connect now used the saved URL even after a new one was typed; typed
decoder URLs are now saved first. Adds a browser test for saving a new
decoder port and connecting.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
larssandandClaude Opus 5.5 committed 2026-10-17 17:23:48 +02:00
1 parent abed53fb32
commit cdde070c1c
7 files changed
+76 -4

No files matched your search

+2
View File
@@ -17,6 +17,7 @@ import { runCorrectionsScopeSmoke } from "./browser_corrections_scope.js";
import { runDriversPageSmoke } from "./browser_drivers_page.js";
import { runSeriesSmoke } from "./browser_series.js";
import { runTrainingSourceSmoke } from "./browser_training_source.js";
import { runDecoderUrlSmoke } from "./browser_decoder_url.js";
import { runObsPopupSmoke } from "./browser_obs_popup.js";
import { runDecoderReconnectSmoke } from "./browser_decoder_reconnect.js";
import assert from "node:assert/strict";
@@ -164,6 +165,7 @@ try {
await runDriversPageSmoke({ evaluate, navigate, savedState, waitFor, base });
await runSeriesSmoke({ evaluate, navigate, savedState, waitFor, base, dialogs });
await runTrainingSourceSmoke({ evaluate, navigate, savedState, waitFor, base });
await runDecoderUrlSmoke({ evaluate, navigate, savedState, waitFor, base });
await runRaceDaySmoke({ evaluate, navigate, fill, savedState, waitFor, pause, base, dialogs });
await runRaceDayStartSequencesSmoke({ evaluate, navigate, waitFor, pause, base, dialogs });
await runObsPopupSmoke({ evaluate, navigate, fill, savedState, waitFor, pause, base, debugPort, dialogs, realClick });