Skip to content

fix: select the first inserted cell when inserting a sheet #1493

fix: select the first inserted cell when inserting a sheet

fix: select the first inserted cell when inserting a sheet #1493

Triggered via pull request November 26, 2024 04:19
Status Success
Total duration 23m 36s
Artifacts 2

playwright.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 1 warning, and 1 notice
[chromium] › test_basic.spec.mjs:1514:1 › Test cell drag to reorder: tests/test_basic.spec.mjs#L1541
1) [chromium] › test_basic.spec.mjs:1514:1 › Test cell drag to reorder ─────────────────────────── Error: expect(received).toBeCloseTo(expected, precision) Expected: 1 Received: 0 Expected precision: 13 Expected difference: < 0.00000000000005 Received difference: 1 1539 | 1540 | let content = await page.textContent('#result-value-0'); > 1541 | expect(parseLatexFloat(content)).toBeCloseTo(1, precision); | ^ 1542 | 1543 | content = await page.textContent('#result-value-1'); 1544 | expect(parseLatexFloat(content)).toBeCloseTo(2, precision); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_basic.spec.mjs:1541:36
[chromium] › test_table_cell.spec.mjs:88:1 › Test parameter units error messages: tests/test_table_cell.spec.mjs#L95
2) [chromium] › test_table_cell.spec.mjs:88:1 › Test parameter units error messages ────────────── TimeoutError: locator.click: Timeout 120000ms exceeded. Call log: - waiting for locator('#add-col-0') 93 | 94 | await page.locator('#add-table-cell').click(); > 95 | await page.locator('#add-col-0').click(); | ^ 96 | 97 | await page.locator('#parameter-units-0-0 math-field.editable').type('1'); 98 | let content = await page.locator('#parameter-units-0-0 span[slot="tooltipText"]').textContent(); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_table_cell.spec.mjs:95:36
[firefox] › test_basic.spec.mjs:1119:1 › Test unit names that contain numbers: tests/test_basic.spec.mjs#L1127
3) [firefox] › test_basic.spec.mjs:1119:1 › Test unit names that contain numbers ───────────────── TimeoutError: page.textContent: Timeout 120000ms exceeded. Call log: - waiting for locator('#result-value-0') 1125 | await page.waitForSelector('.status-footer', { state: 'detached' }); 1126 | > 1127 | let content = await page.textContent('#result-value-0'); | ^ 1128 | expect(content).toBe('=10'); 1129 | content = await page.textContent('#result-units-0'); 1130 | expect(content).toBe('mmH2O'); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_basic.spec.mjs:1127:28
[firefox] › test_file_save_open.spec.mjs:138:1 › Test opening file with results and syntax error: tests/test_file_save_open.spec.mjs#L147
4) [firefox] › test_file_save_open.spec.mjs:138:1 › Test opening file with results and syntax error Error: fileChooser.setFiles: Test ended. 145 | const path = "tests/test_sheet_parsing_error.epxyz"; 146 | page.on('filechooser', async (fileChooser) => { > 147 | await fileChooser.setFiles(path); | ^ 148 | }); 149 | await page.locator('#open-sheet').click(); 150 | at Page.<anonymous> (/home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_file_save_open.spec.mjs:147:5)
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "screenshots", "test-results". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
🎭 Playwright Run Summary
4 flaky [chromium] › test_basic.spec.mjs:1514:1 › Test cell drag to reorder ──────────────────────────── [chromium] › test_table_cell.spec.mjs:88:1 › Test parameter units error messages ─────────────── [firefox] › test_basic.spec.mjs:1119:1 › Test unit names that contain numbers ────────────────── [firefox] › test_file_save_open.spec.mjs:138:1 › Test opening file with results and syntax error 9 skipped 763 passed (19.7m)

Artifacts

Produced during runtime
Name Size
screenshots
15.9 MB
test-results Expired
81.4 MB