fix: correctly position the menu when the document has scrolled #381
Annotations
10 errors, 1 warning, and 1 notice
[chromium] › physical-keyboard.spec.ts:35:5 › tab focus:
test/playwright-tests/physical-keyboard.spec.ts#L75
1) [chromium] › physical-keyboard.spec.ts:35:5 › tab focus ───────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "a"
Received: ""
73 | expect(
74 | await page.locator('#mf-1').evaluate((e: MathfieldElement) => e.value)
> 75 | ).toBe('a');
| ^
76 | expect(
77 | await page.locator('#mf-2').evaluate((e: MathfieldElement) => e.value)
78 | ).toBe('be');
at /home/runner/work/mathlive/mathlive/test/playwright-tests/physical-keyboard.spec.ts:75:5
|
[chromium] › physical-keyboard.spec.ts:35:5 › tab focus:
test/playwright-tests/physical-keyboard.spec.ts#L75
1) [chromium] › physical-keyboard.spec.ts:35:5 › tab focus ───────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "a"
Received: ""
73 | expect(
74 | await page.locator('#mf-1').evaluate((e: MathfieldElement) => e.value)
> 75 | ).toBe('a');
| ^
76 | expect(
77 | await page.locator('#mf-2').evaluate((e: MathfieldElement) => e.value)
78 | ).toBe('be');
at /home/runner/work/mathlive/mathlive/test/playwright-tests/physical-keyboard.spec.ts:75:5
|
[chromium] › physical-keyboard.spec.ts:35:5 › tab focus:
test/playwright-tests/physical-keyboard.spec.ts#L75
1) [chromium] › physical-keyboard.spec.ts:35:5 › tab focus ───────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "a"
Received: ""
73 | expect(
74 | await page.locator('#mf-1').evaluate((e: MathfieldElement) => e.value)
> 75 | ).toBe('a');
| ^
76 | expect(
77 | await page.locator('#mf-2').evaluate((e: MathfieldElement) => e.value)
78 | ).toBe('be');
at /home/runner/work/mathlive/mathlive/test/playwright-tests/physical-keyboard.spec.ts:75:5
|
[chromium] › virtual-keyboard.spec.ts:38:5 › virtual keyboard with two math fields:
test/playwright-tests/virtual-keyboard.spec.ts#L63
2) [chromium] › virtual-keyboard.spec.ts:38:5 › virtual keyboard with two math fields ────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "n=x^2"
Received: ""
61 | .locator('#mf-2')
62 | .evaluate((mfe: MathfieldElement) => mfe.value);
> 63 | expect(latex).toBe(expectedResult2);
| ^
64 |
65 | // make sure first math field is unchanged
66 | latex = await page
at /home/runner/work/mathlive/mathlive/test/playwright-tests/virtual-keyboard.spec.ts:63:17
|
[chromium] › virtual-keyboard.spec.ts:38:5 › virtual keyboard with two math fields:
test/playwright-tests/virtual-keyboard.spec.ts#L63
2) [chromium] › virtual-keyboard.spec.ts:38:5 › virtual keyboard with two math fields ────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "n=x^2"
Received: ""
61 | .locator('#mf-2')
62 | .evaluate((mfe: MathfieldElement) => mfe.value);
> 63 | expect(latex).toBe(expectedResult2);
| ^
64 |
65 | // make sure first math field is unchanged
66 | latex = await page
at /home/runner/work/mathlive/mathlive/test/playwright-tests/virtual-keyboard.spec.ts:63:17
|
[chromium] › virtual-keyboard.spec.ts:38:5 › virtual keyboard with two math fields:
test/playwright-tests/virtual-keyboard.spec.ts#L63
2) [chromium] › virtual-keyboard.spec.ts:38:5 › virtual keyboard with two math fields ────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "n=x^2"
Received: ""
61 | .locator('#mf-2')
62 | .evaluate((mfe: MathfieldElement) => mfe.value);
> 63 | expect(latex).toBe(expectedResult2);
| ^
64 |
65 | // make sure first math field is unchanged
66 | latex = await page
at /home/runner/work/mathlive/mathlive/test/playwright-tests/virtual-keyboard.spec.ts:63:17
|
[firefox] › virtual-keyboard.spec.ts:38:5 › virtual keyboard with two math fields:
test/playwright-tests/virtual-keyboard.spec.ts#L63
3) [firefox] › virtual-keyboard.spec.ts:38:5 › virtual keyboard with two math fields ─────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "n=x^2"
Received: ""
61 | .locator('#mf-2')
62 | .evaluate((mfe: MathfieldElement) => mfe.value);
> 63 | expect(latex).toBe(expectedResult2);
| ^
64 |
65 | // make sure first math field is unchanged
66 | latex = await page
at /home/runner/work/mathlive/mathlive/test/playwright-tests/virtual-keyboard.spec.ts:63:17
|
[firefox] › virtual-keyboard.spec.ts:38:5 › virtual keyboard with two math fields:
test/playwright-tests/virtual-keyboard.spec.ts#L63
3) [firefox] › virtual-keyboard.spec.ts:38:5 › virtual keyboard with two math fields ─────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "n=x^2"
Received: ""
61 | .locator('#mf-2')
62 | .evaluate((mfe: MathfieldElement) => mfe.value);
> 63 | expect(latex).toBe(expectedResult2);
| ^
64 |
65 | // make sure first math field is unchanged
66 | latex = await page
at /home/runner/work/mathlive/mathlive/test/playwright-tests/virtual-keyboard.spec.ts:63:17
|
[firefox] › virtual-keyboard.spec.ts:38:5 › virtual keyboard with two math fields:
test/playwright-tests/virtual-keyboard.spec.ts#L63
3) [firefox] › virtual-keyboard.spec.ts:38:5 › virtual keyboard with two math fields ─────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "n=x^2"
Received: ""
61 | .locator('#mf-2')
62 | .evaluate((mfe: MathfieldElement) => mfe.value);
> 63 | expect(latex).toBe(expectedResult2);
| ^
64 |
65 | // make sure first math field is unchanged
66 | latex = await page
at /home/runner/work/mathlive/mathlive/test/playwright-tests/virtual-keyboard.spec.ts:63:17
|
[webkit] › virtual-keyboard.spec.ts:38:5 › virtual keyboard with two math fields:
test/playwright-tests/virtual-keyboard.spec.ts#L63
4) [webkit] › virtual-keyboard.spec.ts:38:5 › virtual keyboard with two math fields ──────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "n=x^2"
Received: ""
61 | .locator('#mf-2')
62 | .evaluate((mfe: MathfieldElement) => mfe.value);
> 63 | expect(latex).toBe(expectedResult2);
| ^
64 |
65 | // make sure first math field is unchanged
66 | latex = await page
at /home/runner/work/mathlive/mathlive/test/playwright-tests/virtual-keyboard.spec.ts:63:17
|
test
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
|
🎭 Playwright Run Summary
4 failed
[chromium] › physical-keyboard.spec.ts:35:5 › tab focus ────────────────────────────────────────
[chromium] › virtual-keyboard.spec.ts:38:5 › virtual keyboard with two math fields ─────────────
[firefox] › virtual-keyboard.spec.ts:38:5 › virtual keyboard with two math fields ──────────────
[webkit] › virtual-keyboard.spec.ts:38:5 › virtual keyboard with two math fields ───────────────
2 skipped
96 passed (1.9m)
|