race day tester + fixa open practice start och decoder-omritning
Nytt browser-test för start/paus/fortsätt/finish och byte till nästa heat i kön, mot en simulerad decoder-socket (ingen riktig AMMC-hårdvara). Hittade och fixade två buggar under vägen: - Open Practice på sponsor/track-event kunde inte startas trots grönt ljus i förkontrollen (separat, striktare kontroll saknade samma undantag) - Race Day-vyn ritades aldrig om när decodern anslöt/kopplades ner Testramverket hanterar nu även native alert()/confirm()-dialoger automatiskt, annars fryser en headless körning helt.
This commit is contained in:
1 parent
b3bec531de
commit
acab99ed4d
6 files changed
+188
-5
No files matched your search
@@ -184,7 +184,7 @@ function connectDecoderRole(role, deps) {
|
||||
state.decoder[lastErrorKey] = "";
|
||||
saveState();
|
||||
updateConnectionBadge();
|
||||
if (["timing", "overlay"].includes(getCurrentView())) {
|
||||
if (["timing", "overlay", "race_day"].includes(getCurrentView())) {
|
||||
renderView();
|
||||
}
|
||||
};
|
||||
@@ -228,7 +228,7 @@ function connectDecoderRole(role, deps) {
|
||||
}, 2000));
|
||||
}
|
||||
|
||||
if (["timing", "overlay"].includes(getCurrentView())) {
|
||||
if (["timing", "overlay", "race_day"].includes(getCurrentView())) {
|
||||
renderView();
|
||||
}
|
||||
};
|
||||
@@ -238,7 +238,7 @@ function connectDecoderRole(role, deps) {
|
||||
state.decoder[lastErrorKey] = t("error.decoder_connection");
|
||||
saveState();
|
||||
updateConnectionBadge();
|
||||
if (["timing", "overlay"].includes(getCurrentView())) {
|
||||
if (["timing", "overlay", "race_day"].includes(getCurrentView())) {
|
||||
renderView();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user