Skip to content

Merge pull request #294 from mgreminger/matmult-fix #1480

Merge pull request #294 from mgreminger/matmult-fix

Merge pull request #294 from mgreminger/matmult-fix #1480

Triggered via push November 3, 2024 00:21
Status Success
Total duration 23m 33s
Artifacts 2

playwright.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 2 warnings, and 1 notice
[chromium] › test_database.spec.mjs:176:1 › Test database consistency: tests/test_database.spec.mjs#L186
1) [chromium] › test_database.spec.mjs:176:1 › Test database consistency ───────────────────────── TimeoutError: locator.waitFor: Timeout 5000ms exceeded. Call log: - waiting for locator('h3').locator('text=Retrieving Sheet') to be detached 184 | await page.setViewportSize({ width: width, height: height }); 185 | > 186 | await page.locator('h3 >> text=Retrieving Sheet').waitFor({state: 'detached', timeout: 5000}); | ^ 187 | await page.locator('text=Accept').click(); 188 | await page.waitForSelector('.status-footer', { state: 'detached', timeout: pyodideLoadTimeout }); 189 | await page.keyboard.press('Escape'); // unselect all cells at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_database.spec.mjs:186:53
[chromium] › test_database.spec.mjs:176:1 › Test database consistency: tests/test_database.spec.mjs#L186
1) [chromium] › test_database.spec.mjs:176:1 › Test database consistency ───────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.waitFor: Timeout 5000ms exceeded. Call log: - waiting for locator('h3').locator('text=Retrieving Sheet') to be detached 184 | await page.setViewportSize({ width: width, height: height }); 185 | > 186 | await page.locator('h3 >> text=Retrieving Sheet').waitFor({state: 'detached', timeout: 5000}); | ^ 187 | await page.locator('text=Accept').click(); 188 | await page.waitForSelector('.status-footer', { state: 'detached', timeout: pyodideLoadTimeout }); 189 | await page.keyboard.press('Escape'); // unselect all cells at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_database.spec.mjs:186:53
[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#L71
3) [firefox] › 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
[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)
[firefox] › test_plotting.spec.mjs:17:1 › Test plotting: tests/test_plotting.spec.mjs#L92
5) [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 use a deprecated Node.js version 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
5 flaky [chromium] › test_database.spec.mjs:176:1 › Test database consistency ────────────────────────── [chromium] › test_plotting.spec.mjs:153:1 › Test plot number of points ───────────────────────── [firefox] › test_checkpoints.spec.mjs:15:1 › Test autosave checkpoints ───────────────────────── [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 760 passed (20.2m)

Artifacts

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