Skip to content

feature: set default sheet config #1491

feature: set default sheet config

feature: set default sheet config #1491

Triggered via pull request November 24, 2024 03:06
Status Success
Total duration 25m 47s
Artifacts 2

playwright.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 2 warnings, and 1 notice
[chromium] › test_matrix_functions.spec.mjs:169:1 › Test min/max of a row vector: tests/test_matrix_functions.spec.mjs#L180
1) [chromium] › test_matrix_functions.spec.mjs:169:1 › Test min/max of a row vector ────────────── TimeoutError: page.textContent: Timeout 120000ms exceeded. Call log: - waiting for locator('#result-value-0') 178 | await page.waitForSelector('text=Updating...', {state: 'detached'}); 179 | > 180 | let content = await page.textContent(`#result-value-0`); | ^ 181 | expect(parseLatexFloat(content)).toBeCloseTo(9, precision); 182 | content = await page.textContent('#result-units-0'); 183 | expect(content).toBe(''); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_matrix_functions.spec.mjs:180:28
[chromium] › test_matrix_indexing.spec.mjs:79:1 › Zero index: tests/test_matrix_indexing.spec.mjs#L84
2) [chromium] › test_matrix_indexing.spec.mjs:79:1 › Zero index ────────────────────────────────── Error: Timed out 10000ms waiting for expect(locator).toBeVisible() Locator: locator('text=Matrix indices must evaluate to a finite real integer and be greater than 0') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 10000ms - waiting for locator('text=Matrix indices must evaluate to a finite real integer and be greater than 0') 82 | await page.waitForSelector('text=Updating...', {state: 'detached'}); 83 | > 84 | await expect(page.locator("text=Matrix indices must evaluate to a finite real integer and be greater than 0")).toBeVisible(); | ^ 85 | }); 86 | 87 | test('Negative index', async () => { at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_matrix_indexing.spec.mjs:84:114
[chromium] › test_plotting.spec.mjs:419:1 › test scatter plot x-y scalar vector mismatch: tests/test_plotting.spec.mjs#L429
3) [chromium] › test_plotting.spec.mjs:419:1 › test scatter plot x-y scalar vector mismatch ────── TimeoutError: locator.waitFor: Timeout 1000ms exceeded. Call log: - waiting for locator('#plot-expression-1-0').locator('text=Both the x and y values need to be a scalar value or a vector') 427 | await page.waitForSelector('.status-footer', { state: 'detached' }); 428 | > 429 | await page.locator('#plot-expression-1-0 >> text=Both the x and y values need to be a scalar value or a vector').waitFor({state: 'attached', timeout: 1000}); | ^ 430 | 431 | }); 432 | at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_plotting.spec.mjs:429:116
[firefox] › test_custom_base_units.spec.mjs:269:1 › Test user default config: tests/test_custom_base_units.spec.mjs#L302
4) [firefox] › test_custom_base_units.spec.mjs:269:1 › Test user default config ────────────────── TimeoutError: page.textContent: Timeout 120000ms exceeded. Call log: - waiting for locator('#result-value-0') 300 | await page.waitForSelector('text=Updating...', {state: 'detached'}); 301 | > 302 | content = await page.textContent('#result-value-0'); | ^ 303 | expect(parseLatexFloat(content)).toBeCloseTo(2000/25.4, precision); 304 | content = await page.textContent('#result-units-0'); 305 | expect(content).toBe('in'); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_custom_base_units.spec.mjs:302:24
[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 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
6 flaky [chromium] › test_matrix_functions.spec.mjs:169:1 › Test min/max of a row vector ─────────────── [chromium] › test_matrix_indexing.spec.mjs:79:1 › Zero index ─────────────────────────────────── [chromium] › test_plotting.spec.mjs:419:1 › test scatter plot x-y scalar vector mismatch ─────── [firefox] › test_custom_base_units.spec.mjs:269:1 › Test user default config ─────────────────── [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 761 passed (21.4m)

Artifacts

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