diff --git a/src/e2e/tests/orders.ui.spec.ts b/src/e2e/tests/orders.ui.spec.ts index 0610d82..c36fc73 100644 --- a/src/e2e/tests/orders.ui.spec.ts +++ b/src/e2e/tests/orders.ui.spec.ts @@ -54,7 +54,7 @@ test("live picks: counts, podium stamp, expand/collapse, frozen after close", as const banner = page.getByRole("button", { name: /stats/i }); await expect(banner).toContainText("Live stats ยท 1 order"); - await expect(page.getByText("You were 1st to order!")).toBeVisible(); + await expect(page.getByText("#1st")).toBeVisible(); await expect(page.getByText("1 person has ordered")).toBeHidden(); // polling picks up another participant without a reload diff --git a/src/frontend/src/views/ParticipantView.tsx b/src/frontend/src/views/ParticipantView.tsx index 3d67ac8..79ff404 100644 --- a/src/frontend/src/views/ParticipantView.tsx +++ b/src/frontend/src/views/ParticipantView.tsx @@ -529,14 +529,15 @@ export default function ParticipantView({ orderId }: { orderId: string }) { {showBanner && } + {["๐Ÿฅ‡", "๐Ÿฅˆ", "๐Ÿฅ‰"][stats.my_rank - 1]} #{["1st", "2nd", "3rd"][stats.my_rank - 1]} + + ) + } > - {stats?.my_rank && ( - - )} {showSummaryView && (