browser suite: glass-ghost.spec.ts fails on dev #457

Open
opened 2026-11-09 09:44:24 +00:00 by kayg · 0 comments
Owner

Nightly browser suite on dev (D373, #443).

Spec: glass-ghost.spec.ts
Source: c751e99309764e30958eb665708e2553c31043c4
Evidence: /home/claude/j406-ev/runs/20261109T061806Z-c751e99/evidence on infraternal-dev-02-std (the newest seven nights are kept)
Full log: /home/claude/j406-ev/runs/20261109T061806Z-c751e99/suite.log

ghost text: every glass surface at level 3, ink, DPR 3

Error: toast at level 3 (ink, DPR 3) lets text through

expect(received).toBeLessThan(expected)

Expected: < 0.1
Received:   0.20704869211130783

  77 |           console.log(`GHOST ${s.name} | level ${level} | ${theme} | dpr ${dpr} | ${ratio.toFixed(4)}`);
  78 |           if (dpr === 3 && ratio >= THRESHOLD) test.info().annotations.push({ type: "above 0.02 (reported)", description: `${s.name} level ${level} ${theme}: ${ratio.toFixed(4)}` });
> 79 |           expect(ratio, `${s.name} at level ${level} (${theme}, DPR ${dpr}) lets text through`).toBeLessThan(dpr === 3 ? CEILING_DPR3 : THRESHOLD);
     |                                                                                                 ^
  80 |           await s.close?.(page);
  81 |           await page.waitForTimeout(300);
  82 |         }
    at /home/claude/worktrees/j406/apps/tracer/test/glass-ghost.spec.ts:79:97

ghost text: every glass surface at level 4, ink, DPR 3

Error: toast at level 4 (ink, DPR 3) lets text through

expect(received).toBeLessThan(expected)

Expected: < 0.1
Received:   0.3661959997595867

  77 |           console.log(`GHOST ${s.name} | level ${level} | ${theme} | dpr ${dpr} | ${ratio.toFixed(4)}`);
  78 |           if (dpr === 3 && ratio >= THRESHOLD) test.info().annotations.push({ type: "above 0.02 (reported)", description: `${s.name} level ${level} ${theme}: ${ratio.toFixed(4)}` });
> 79 |           expect(ratio, `${s.name} at level ${level} (${theme}, DPR ${dpr}) lets text through`).toBeLessThan(dpr === 3 ? CEILING_DPR3 : THRESHOLD);
     |                                                                                                 ^
  80 |           await s.close?.(page);
  81 |           await page.waitForTimeout(300);
  82 |         }
    at /home/claude/worktrees/j406/apps/tracer/test/glass-ghost.spec.ts:79:97

ghost text: every glass surface at level 3, paper, DPR 3

Error: toast at level 3 (paper, DPR 3) lets text through

expect(received).toBeLessThan(expected)

Expected: < 0.1
Received:   0.1728918374964099

  77 |           console.log(`GHOST ${s.name} | level ${level} | ${theme} | dpr ${dpr} | ${ratio.toFixed(4)}`);
  78 |           if (dpr === 3 && ratio >= THRESHOLD) test.info().annotations.push({ type: "above 0.02 (reported)", description: `${s.name} level ${level} ${theme}: ${ratio.toFixed(4)}` });
> 79 |           expect(ratio, `${s.name} at level ${level} (${theme}, DPR ${dpr}) lets text through`).toBeLessThan(dpr === 3 ? CEILING_DPR3 : THRESHOLD);
     |                                                                                                 ^
  80 |           await s.close?.(page);
  81 |           await page.waitForTimeout(300);
  82 |         }
    at /home/claude/worktrees/j406/apps/tracer/test/glass-ghost.spec.ts:79:97

ghost text: every glass surface at level 4, paper, DPR 3

Error: toast at level 4 (paper, DPR 3) lets text through

expect(received).toBeLessThan(expected)

Expected: < 0.1
Received:   0.3192543794228156

  77 |           console.log(`GHOST ${s.name} | level ${level} | ${theme} | dpr ${dpr} | ${ratio.toFixed(4)}`);
  78 |           if (dpr === 3 && ratio >= THRESHOLD) test.info().annotations.push({ type: "above 0.02 (reported)", description: `${s.name} level ${level} ${theme}: ${ratio.toFixed(4)}` });
> 79 |           expect(ratio, `${s.name} at level ${level} (${theme}, DPR ${dpr}) lets text through`).toBeLessThan(dpr === 3 ? CEILING_DPR3 : THRESHOLD);
     |                                                                                                 ^
  80 |           await s.close?.(page);
  81 |           await page.waitForTimeout(300);
  82 |         }
    at /home/claude/worktrees/j406/apps/tracer/test/glass-ghost.spec.ts:79:97

Log tail for this spec:

  ✓   547 test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 1, ink, DPR 1 (21.6s)
  ✓   548 test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 2, ink, DPR 1 (21.2s)
  ✓   549 test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 3, ink, DPR 1 (21.2s)
  ✓   550 test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 4, ink, DPR 1 (21.3s)
  ✓   551 test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 1, ink, DPR 3 (21.8s)
  ✓   552 test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 2, ink, DPR 3 (22.6s)
  ✘   553 test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 3, ink, DPR 3 (13.1s)
  ✘   554 test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 4, ink, DPR 3 (13.3s)
  ✓   555 test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 1, paper, DPR 1 (21.3s)
  ✓   556 test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 2, paper, DPR 1 (21.4s)
  ✓   557 test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 3, paper, DPR 1 (21.6s)
  ✓   558 test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 4, paper, DPR 1 (21.2s)
  ✓   559 test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 1, paper, DPR 3 (22.1s)
  ✓   560 test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 2, paper, DPR 3 (22.6s)
  ✘   561 test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 3, paper, DPR 3 (13.1s)
  ✘   562 test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 4, paper, DPR 3 (13.4s)
  26) test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 3, ink, DPR 3 ───────
        at /home/claude/worktrees/j406/apps/tracer/test/glass-ghost.spec.ts:79:97
  27) test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 4, ink, DPR 3 ───────
        at /home/claude/worktrees/j406/apps/tracer/test/glass-ghost.spec.ts:79:97
  28) test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 3, paper, DPR 3 ─────
        at /home/claude/worktrees/j406/apps/tracer/test/glass-ghost.spec.ts:79:97
  29) test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 4, paper, DPR 3 ─────
        at /home/claude/worktrees/j406/apps/tracer/test/glass-ghost.spec.ts:79:97
    test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 3, ink, DPR 3 ─────────
    test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 4, ink, DPR 3 ─────────
    test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 3, paper, DPR 3 ───────
    test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 4, paper, DPR 3 ───────

Rerun with cd apps/tracer && bun x playwright test test/glass-ghost.spec.ts.

Nightly browser suite on dev (D373, #443). Spec: `glass-ghost.spec.ts` Source: `c751e99309764e30958eb665708e2553c31043c4` Evidence: `/home/claude/j406-ev/runs/20261109T061806Z-c751e99/evidence` on infraternal-dev-02-std (the newest seven nights are kept) Full log: `/home/claude/j406-ev/runs/20261109T061806Z-c751e99/suite.log` ### ghost text: every glass surface at level 3, ink, DPR 3 ``` Error: toast at level 3 (ink, DPR 3) lets text through expect(received).toBeLessThan(expected) Expected: < 0.1 Received: 0.20704869211130783 77 | console.log(`GHOST ${s.name} | level ${level} | ${theme} | dpr ${dpr} | ${ratio.toFixed(4)}`); 78 | if (dpr === 3 && ratio >= THRESHOLD) test.info().annotations.push({ type: "above 0.02 (reported)", description: `${s.name} level ${level} ${theme}: ${ratio.toFixed(4)}` }); > 79 | expect(ratio, `${s.name} at level ${level} (${theme}, DPR ${dpr}) lets text through`).toBeLessThan(dpr === 3 ? CEILING_DPR3 : THRESHOLD); | ^ 80 | await s.close?.(page); 81 | await page.waitForTimeout(300); 82 | } at /home/claude/worktrees/j406/apps/tracer/test/glass-ghost.spec.ts:79:97 ``` ### ghost text: every glass surface at level 4, ink, DPR 3 ``` Error: toast at level 4 (ink, DPR 3) lets text through expect(received).toBeLessThan(expected) Expected: < 0.1 Received: 0.3661959997595867 77 | console.log(`GHOST ${s.name} | level ${level} | ${theme} | dpr ${dpr} | ${ratio.toFixed(4)}`); 78 | if (dpr === 3 && ratio >= THRESHOLD) test.info().annotations.push({ type: "above 0.02 (reported)", description: `${s.name} level ${level} ${theme}: ${ratio.toFixed(4)}` }); > 79 | expect(ratio, `${s.name} at level ${level} (${theme}, DPR ${dpr}) lets text through`).toBeLessThan(dpr === 3 ? CEILING_DPR3 : THRESHOLD); | ^ 80 | await s.close?.(page); 81 | await page.waitForTimeout(300); 82 | } at /home/claude/worktrees/j406/apps/tracer/test/glass-ghost.spec.ts:79:97 ``` ### ghost text: every glass surface at level 3, paper, DPR 3 ``` Error: toast at level 3 (paper, DPR 3) lets text through expect(received).toBeLessThan(expected) Expected: < 0.1 Received: 0.1728918374964099 77 | console.log(`GHOST ${s.name} | level ${level} | ${theme} | dpr ${dpr} | ${ratio.toFixed(4)}`); 78 | if (dpr === 3 && ratio >= THRESHOLD) test.info().annotations.push({ type: "above 0.02 (reported)", description: `${s.name} level ${level} ${theme}: ${ratio.toFixed(4)}` }); > 79 | expect(ratio, `${s.name} at level ${level} (${theme}, DPR ${dpr}) lets text through`).toBeLessThan(dpr === 3 ? CEILING_DPR3 : THRESHOLD); | ^ 80 | await s.close?.(page); 81 | await page.waitForTimeout(300); 82 | } at /home/claude/worktrees/j406/apps/tracer/test/glass-ghost.spec.ts:79:97 ``` ### ghost text: every glass surface at level 4, paper, DPR 3 ``` Error: toast at level 4 (paper, DPR 3) lets text through expect(received).toBeLessThan(expected) Expected: < 0.1 Received: 0.3192543794228156 77 | console.log(`GHOST ${s.name} | level ${level} | ${theme} | dpr ${dpr} | ${ratio.toFixed(4)}`); 78 | if (dpr === 3 && ratio >= THRESHOLD) test.info().annotations.push({ type: "above 0.02 (reported)", description: `${s.name} level ${level} ${theme}: ${ratio.toFixed(4)}` }); > 79 | expect(ratio, `${s.name} at level ${level} (${theme}, DPR ${dpr}) lets text through`).toBeLessThan(dpr === 3 ? CEILING_DPR3 : THRESHOLD); | ^ 80 | await s.close?.(page); 81 | await page.waitForTimeout(300); 82 | } at /home/claude/worktrees/j406/apps/tracer/test/glass-ghost.spec.ts:79:97 ``` Log tail for this spec: ``` ✓ 547 test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 1, ink, DPR 1 (21.6s) ✓ 548 test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 2, ink, DPR 1 (21.2s) ✓ 549 test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 3, ink, DPR 1 (21.2s) ✓ 550 test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 4, ink, DPR 1 (21.3s) ✓ 551 test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 1, ink, DPR 3 (21.8s) ✓ 552 test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 2, ink, DPR 3 (22.6s) ✘ 553 test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 3, ink, DPR 3 (13.1s) ✘ 554 test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 4, ink, DPR 3 (13.3s) ✓ 555 test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 1, paper, DPR 1 (21.3s) ✓ 556 test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 2, paper, DPR 1 (21.4s) ✓ 557 test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 3, paper, DPR 1 (21.6s) ✓ 558 test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 4, paper, DPR 1 (21.2s) ✓ 559 test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 1, paper, DPR 3 (22.1s) ✓ 560 test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 2, paper, DPR 3 (22.6s) ✘ 561 test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 3, paper, DPR 3 (13.1s) ✘ 562 test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 4, paper, DPR 3 (13.4s) 26) test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 3, ink, DPR 3 ─────── at /home/claude/worktrees/j406/apps/tracer/test/glass-ghost.spec.ts:79:97 27) test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 4, ink, DPR 3 ─────── at /home/claude/worktrees/j406/apps/tracer/test/glass-ghost.spec.ts:79:97 28) test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 3, paper, DPR 3 ───── at /home/claude/worktrees/j406/apps/tracer/test/glass-ghost.spec.ts:79:97 29) test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 4, paper, DPR 3 ───── at /home/claude/worktrees/j406/apps/tracer/test/glass-ghost.spec.ts:79:97 test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 3, ink, DPR 3 ───────── test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 4, ink, DPR 3 ───────── test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 3, paper, DPR 3 ─────── test/glass-ghost.spec.ts:47:3 › ghost text: every glass surface at level 4, paper, DPR 3 ─────── ``` Rerun with `cd apps/tracer && bun x playwright test test/glass-ghost.spec.ts`. <!-- infraternal-browser-spec: glass-ghost.spec.ts --> <!-- infraternal-browser-state: failing -->
Sign in to join this conversation.
No labels
launch-qa
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/infraternal#457
No description provided.