diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-08 12:24:25 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-08 12:24:25 +0100 |
| commit | c45ff4525c0e45e4b8e762b81fd180c53d206d66 (patch) | |
| tree | bd0ffca5835d612a884d973e65f17cf954d69239 /web/play/test/smoke.mjs | |
| parent | web: remove .git from repo link (diff) | |
| download | zagan-bet-c45ff4525c0e45e4b8e762b81fd180c53d206d66.tar.gz zagan-bet-c45ff4525c0e45e4b8e762b81fd180c53d206d66.zip | |
web: match the desktop layout and remove play-money copy
The browser now uses the desktop's full-width game split: no extra game header or card frame, a full-height sidebar with a pinned action block, and the same lobby grid, topbar account/balance blocks, and bottom-left notices. Slots uses the desktop symbol colours and gold win border; roulette gets the flat felt, column bets under the dozens, the wheel, circular chips, and a LAST line; blackjack gets a centred dealer/player table and divider; crash gets the chart panel, phase label and empty ready state.
Also drops every play-money/real-money disclaimer from the page copy.
Diffstat (limited to 'web/play/test/smoke.mjs')
| -rw-r--r-- | web/play/test/smoke.mjs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web/play/test/smoke.mjs b/web/play/test/smoke.mjs index c1274bc..962753b 100644 --- a/web/play/test/smoke.mjs +++ b/web/play/test/smoke.mjs | |||
| @@ -207,8 +207,8 @@ socket.message({ | |||
| 207 | }, | 207 | }, |
| 208 | }); | 208 | }); |
| 209 | assert(document.querySelector(".roulette-canvas"), "the roulette canvas renders"); | 209 | assert(document.querySelector(".roulette-canvas"), "the roulette canvas renders"); |
| 210 | assert(document.querySelectorAll(".chip-btn").length === 5, "the chip selector renders"); | 210 | assert(document.querySelectorAll(".chip-btn").length === 4, "the chip selector renders"); |
| 211 | assert(document.querySelector(".wheel-result")?.textContent.includes("5"), "the result number renders"); | 211 | assert(document.querySelector(".board-foot")?.textContent.includes("5"), "the result number renders"); |
| 212 | 212 | ||
| 213 | socket.message({ | 213 | socket.message({ |
| 214 | type: "view", | 214 | type: "view", |
| @@ -259,7 +259,7 @@ socket.message({ | |||
| 259 | assert(document.querySelector(".crash-canvas"), "the crash canvas renders"); | 259 | assert(document.querySelector(".crash-canvas"), "the crash canvas renders"); |
| 260 | assert(document.querySelector(".crash-number")?.textContent.includes("×"), "the crash multiplier renders"); | 260 | assert(document.querySelector(".crash-number")?.textContent.includes("×"), "the crash multiplier renders"); |
| 261 | assert(byId("game-side").textContent.includes("CASH OUT"), "crash exposes cash out while running"); | 261 | assert(byId("game-side").textContent.includes("CASH OUT"), "crash exposes cash out while running"); |
| 262 | assert(byId("game-side").textContent.includes("commit"), "crash shows the round commitment"); | 262 | assert(document.querySelector(".crash-meta")?.textContent.includes("commit"), "crash shows the round commitment"); |
| 263 | 263 | ||
| 264 | socket.message({ | 264 | socket.message({ |
| 265 | type: "view", | 265 | type: "view", |
