summaryrefslogtreecommitdiffstats
path: root/web/play/test
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-11-08 12:24:25 +0100
committersalmonik <salmonik@tuta.io>2026-11-08 12:24:25 +0100
commitc45ff4525c0e45e4b8e762b81fd180c53d206d66 (patch)
treebd0ffca5835d612a884d973e65f17cf954d69239 /web/play/test
parentweb: remove .git from repo link (diff)
downloadzagan-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 '')
-rw-r--r--web/play/test/smoke.mjs6
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});
209assert(document.querySelector(".roulette-canvas"), "the roulette canvas renders"); 209assert(document.querySelector(".roulette-canvas"), "the roulette canvas renders");
210assert(document.querySelectorAll(".chip-btn").length === 5, "the chip selector renders"); 210assert(document.querySelectorAll(".chip-btn").length === 4, "the chip selector renders");
211assert(document.querySelector(".wheel-result")?.textContent.includes("5"), "the result number renders"); 211assert(document.querySelector(".board-foot")?.textContent.includes("5"), "the result number renders");
212 212
213socket.message({ 213socket.message({
214 type: "view", 214 type: "view",
@@ -259,7 +259,7 @@ socket.message({
259assert(document.querySelector(".crash-canvas"), "the crash canvas renders"); 259assert(document.querySelector(".crash-canvas"), "the crash canvas renders");
260assert(document.querySelector(".crash-number")?.textContent.includes("×"), "the crash multiplier renders"); 260assert(document.querySelector(".crash-number")?.textContent.includes("×"), "the crash multiplier renders");
261assert(byId("game-side").textContent.includes("CASH OUT"), "crash exposes cash out while running"); 261assert(byId("game-side").textContent.includes("CASH OUT"), "crash exposes cash out while running");
262assert(byId("game-side").textContent.includes("commit"), "crash shows the round commitment"); 262assert(document.querySelector(".crash-meta")?.textContent.includes("commit"), "crash shows the round commitment");
263 263
264socket.message({ 264socket.message({
265 type: "view", 265 type: "view",