Skip to content

feat: data table implementation #1339

feat: data table implementation

feat: data table implementation #1339

Triggered via pull request July 28, 2024 14:10
@mgremingermgreminger
synchronize #261
data-table
Status Success
Total duration 22m 15s
Artifacts 2

playwright.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors, 2 warnings, and 1 notice
[chromium] › test_checkpoints.spec.mjs:15:1 › Test autosave checkpoints: tests/test_checkpoints.spec.mjs#L71
1) [chromium] › test_checkpoints.spec.mjs:15:1 › Test autosave checkpoints ─────────────────────── TimeoutError: locator.waitFor: Timeout 120000ms exceeded. Call log: - waiting for locator('text=New Sheet') to be visible 69 | 70 | await page.goBack(); > 71 | await page.locator('text=New Sheet').waitFor(); | ^ 72 | 73 | }); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_checkpoints.spec.mjs:71:40
[chromium] › test_plotting.spec.mjs:153:1 › Test plot number of points: tests/test_plotting.spec.mjs#L225
2) [chromium] › test_plotting.spec.mjs:153:1 › Test plot number of points ──────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: 0 Received: 3422 223 | 224 | expect(compareImages(linearImageFile, curveImageFile)).toBeGreaterThan(100); > 225 | expect(compareImages(linearImageFile, twoPointCurveImageFile)).toEqual(0); | ^ 226 | }); 227 | 228 | at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_plotting.spec.mjs:225:66
[chromium] › test_plotting.spec.mjs:153:1 › Test plot number of points: tests/test_plotting.spec.mjs#L225
2) [chromium] › test_plotting.spec.mjs:153:1 › Test plot number of points ──────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: 0 Received: 3422 223 | 224 | expect(compareImages(linearImageFile, curveImageFile)).toBeGreaterThan(100); > 225 | expect(compareImages(linearImageFile, twoPointCurveImageFile)).toEqual(0); | ^ 226 | }); 227 | 228 | at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_plotting.spec.mjs:225:66
[firefox] › test_checkpoints.spec.mjs:15:1 › Test autosave checkpoints: tests/test_checkpoints.spec.mjs#L68
3) [firefox] › test_checkpoints.spec.mjs:15:1 › Test autosave checkpoints ──────────────────────── Error: expect(received).toBeCloseTo(expected, precision) Expected: 1 Received: 2 Expected precision: 13 Expected difference: < 0.00000000000005 Received difference: 1 66 | await page.waitForSelector('.status-footer', { state: 'detached' }); 67 | content = await page.locator('#result-value-0').textContent(); > 68 | expect(parseLatexFloat(content)).toBeCloseTo(1, precision); | ^ 69 | 70 | await page.goBack(); 71 | await page.locator('text=New Sheet').waitFor(); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_checkpoints.spec.mjs:68:36
[firefox] › test_checkpoints.spec.mjs:15:1 › Test autosave checkpoints: tests/test_checkpoints.spec.mjs#L68
3) [firefox] › test_checkpoints.spec.mjs:15:1 › Test autosave checkpoints ──────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeCloseTo(expected, precision) Expected: 1 Received: 2 Expected precision: 13 Expected difference: < 0.00000000000005 Received difference: 1 66 | await page.waitForSelector('.status-footer', { state: 'detached' }); 67 | content = await page.locator('#result-value-0').textContent(); > 68 | expect(parseLatexFloat(content)).toBeCloseTo(1, precision); | ^ 69 | 70 | await page.goBack(); 71 | await page.locator('text=New Sheet').waitFor(); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_checkpoints.spec.mjs:68:36
[firefox] › test_database.spec.mjs:7:1 › Test database: tests/test_database.spec.mjs#L152
4) [firefox] › test_database.spec.mjs:7:1 › Test database ──────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: 0 Received: 479121 150 | await page.screenshot({ path: `${screenshotDir}/${browserName}_screenshot1_check.png`, fullPage: true }); 151 | > 152 | expect(compareImages(`${browserName}_screenshot1.png`, `${browserName}_screenshot1_check.png`)).toEqual(0); | ^ 153 | 154 | // attempt to load a document that doesn't exist 155 | await page.goto('/CUsUSuwHkHzNyButyCHEnz'); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_database.spec.mjs:152:99
[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
5) [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)
[firefox] › test_plotting.spec.mjs:17:1 › Test plotting: tests/test_plotting.spec.mjs#L92
6) [firefox] › test_plotting.spec.mjs:17:1 › Test plotting ─────────────────────────────────────── TimeoutError: page.waitForSelector: Timeout 120000ms exceeded. Call log: - waiting for locator('button:has-text("Results of expression does not evaluate to finite and real numeric values")') to be visible 90 | await page.click('#add-math-cell'); 91 | await page.setLatex(7, String.raw`s\left(v=\frac{pi}{2},0<u<20\right)=`); > 92 | await page.waitForSelector('button:has-text("Results of expression does not evaluate to finite and real numeric values")'); | ^ 93 | for (let i = 0; i < 18; i++) { 94 | await page.locator('#plot-expression-7-0 math-field.editable').press('Backspace'); 95 | } at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_plotting.spec.mjs:92:14
test
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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
6 flaky [chromium] › test_checkpoints.spec.mjs:15:1 › Test autosave checkpoints ──────────────────────── [chromium] › test_plotting.spec.mjs:153:1 › Test plot number of points ───────────────────────── [firefox] › test_checkpoints.spec.mjs:15:1 › Test autosave checkpoints ───────────────────────── [firefox] › test_database.spec.mjs:7:1 › Test database ───────────────────────────────────────── [firefox] › test_file_save_open.spec.mjs:138:1 › Test opening file with results and syntax error [firefox] › test_plotting.spec.mjs:17:1 › Test plotting ──────────────────────────────────────── 9 skipped 667 passed (19.0m)

Artifacts

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