(test) accept window width of 1023-1024 #1838
Annotations
2 errors and 1 notice
electron.spec.js:37:7 › Window Loads Properly › Window bounds are correct:
tests/electron.spec.js#L41
1) electron.spec.js:37:7 › Window Loads Properly › Window bounds are correct ─────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 600
Received: 599
39 | expect(width).toBeGreaterThanOrEqual(1023)
40 | expect(width).toBeLessThanOrEqual(1024)
> 41 | expect(height).toBe(600)
| ^
42 | })
43 |
44 | test('Window title is correct', async () => {
at /home/runner/work/hero-display/hero-display/tests/electron.spec.js:41:20
|
Build
Process completed with exit code 1.
|
🎭 Playwright Run Summary
1 failed
electron.spec.js:37:7 › Window Loads Properly › Window bounds are correct ──────────────────────
5 passed (1.5m)
|