fix(race-day): bring back Reset data for race sessions
It went away with Timing's run controls; practice has New practice day, heats and finals get Reset data on Race Day when not running. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8120ebc1b5
commit
c8a797fe6f
4 files changed
+12
-1
No files matched your search
@@ -44,6 +44,7 @@ export async function runRaceDayQuickSmoke({ evaluate, navigate, savedState, wai
|
||||
await evaluate(`(() => { const select = document.getElementById("raceDaySessionSelect"); select.value = "rq_heat"; select.dispatchEvent(new Event("change")); })()`);
|
||||
await waitFor(async () => (await savedState()).activeSessionId === "rq_heat", "the session picker switches session");
|
||||
assert.equal(await evaluate(`Boolean(document.getElementById("raceDayNewPracticeDay"))`), false, "no New practice day for a heat");
|
||||
await waitFor(async () => Boolean(await evaluate(`document.getElementById("raceDayResetSession")`)), "Reset data is on Race Day for a heat that is not running");
|
||||
console.log("PASS Race Day's session picker switches the selected session");
|
||||
|
||||
await navigate("timing", "activeSessionSelect");
|
||||
|
||||
Reference in new issue
Block a user