← back to Rubik Cube 3d
e2e cleanup: drop dead stanza; 19/19 passing
09e1187ff6e02dcb01555af6b3a767165c6b51bd · 2026-07-23 10:58:07 -0700 · Steve Abrams
Files touched
Diff
commit 09e1187ff6e02dcb01555af6b3a767165c6b51bd
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Thu Jul 23 10:58:07 2026 -0700
e2e cleanup: drop dead stanza; 19/19 passing
---
tests/e2e.mjs | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/tests/e2e.mjs b/tests/e2e.mjs
index f429f5a..254215a 100644
--- a/tests/e2e.mjs
+++ b/tests/e2e.mjs
@@ -83,16 +83,7 @@ for (const n of seq.slice().reverse()) await page.evaluate(n2 => window.__cube.e
// (cube is back to the scrambled state, not solved — banner must NOT fire)
await idle();
check('banner hidden while unsolved', !(await page.locator('#banner.show').count()));
-// now truly solve by reset + tiny scramble we can invert exactly
await page.click('#reset');
-await page.evaluate(() => {
- // simulate "scrambled" with a known 3-move scramble through the real path
- const c = window.__cube;
- c.scramble; // no-op ref
-});
-// Direct known scramble: mark scrambled via real scramble is random, so instead:
-// do a manual solve test — F then F' from a scrambled flag is not reachable via API
-// without randomness, so verify solved-detection math instead:
check('solved-detection math is true on identity', await solved());
// keyboard turn
← b153a01 initial scaffold: Rubik cube 3D from Model Arena artifact +
·
back to Rubik Cube 3d
·
(newest)