diff options
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", |
