mirror of
https://github.com/AmanTahiliani/box-box.git
synced 2026-08-07 19:56:18 -04:00
fix(#83): align prod Race Story smoke with final running order outcome
Replace the removed "Final Classification" literal with an accessible race-story-outcome region and assert VER is P1 in the built SPA smoke. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -704,7 +704,12 @@ export function RaceStoryCanvas({ data }: Props) {
|
||||
</div>
|
||||
|
||||
{displayResults.length > 0 && (
|
||||
<div className="rs-field-list">
|
||||
<div
|
||||
className="rs-field-list"
|
||||
role="region"
|
||||
aria-label="Final running order"
|
||||
data-testid="race-story-outcome"
|
||||
>
|
||||
{displayResults.map((r, i) => {
|
||||
const gridPos = grid.find((g) => g.driver_number === r.driver_number)?.position ?? 0
|
||||
const currentPos = scrubTime !== null ? i + 1 : r.position
|
||||
|
||||
Reference in New Issue
Block a user