summaryrefslogtreecommitdiffstats
path: root/web/play/test
diff options
context:
space:
mode:
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",