Skip to content

ci: add a github action to create a branch when a tag is created #1589

ci: add a github action to create a branch when a tag is created

ci: add a github action to create a branch when a tag is created #1589

Triggered via push January 15, 2025 14:47
Status Success
Total duration 24m 25s
Artifacts 2

playwright.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors, 1 warning, and 1 notice
[chromium] › test_plotting.spec.mjs:153:1 › Test plot number of points: tests/test_plotting.spec.mjs#L225
1) [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
[firefox] › test_basic.spec.mjs:1514:1 › Test cell drag to reorder: tests/test_basic.spec.mjs#L1541
2) [firefox] › 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
[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
3) [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_matrix_functions.spec.mjs:434:1 › Test sum function for multiple scalar inputs with units: tests/test_matrix_functions.spec.mjs#L439
4) [firefox] › test_matrix_functions.spec.mjs:434:1 › Test sum function for multiple scalar inputs with units TimeoutError: page.textContent: Timeout 120000ms exceeded. Call log: - waiting for locator('#result-value-0') 437 | await page.waitForSelector('text=Updating...', {state: 'detached'}); 438 | > 439 | let content = await page.textContent(`#result-value-0`); | ^ 440 | expect(parseLatexFloat(content)).toBeCloseTo(3, precision); 441 | 442 | content = await page.textContent('#result-units-0'); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_matrix_functions.spec.mjs:439:28
[firefox] › test_matrix_multiplication.spec.mjs:142:1 › Units with square variable matrix times variable matrix using matrix multiplication operator: tests/test_matrix_multiplication.spec.mjs#L153
5) [firefox] › test_matrix_multiplication.spec.mjs:142:1 › Units with square variable matrix times variable matrix using matrix multiplication operator TimeoutError: page.textContent: Timeout 120000ms exceeded. Call log: - waiting for locator('#result-value-0') 151 | await page.waitForSelector('text=Updating...', {state: 'detached'}); 152 | > 153 | let content = await page.textContent(`#result-value-0`); | ^ 154 | expect(content).toBe('\\begin{bmatrix} 5 \\cdot a + 7 \\cdot b & 6 \\cdot a + 8 \\cdot b \\\\ 5 \\cdot c + 7 \\cdot d & 6 \\cdot c + 8 \\cdot d \\end{bmatrix}'); 155 | 156 | // add some numbers for variables that define first matrix at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_matrix_multiplication.spec.mjs:153:28
[firefox] › test_matrix_multiplication.spec.mjs:285:1 › Variable scalar times variable matrix: tests/test_matrix_multiplication.spec.mjs#L296
6) [firefox] › test_matrix_multiplication.spec.mjs:285:1 › Variable scalar times variable matrix ─ TimeoutError: page.textContent: Timeout 120000ms exceeded. Call log: - waiting for locator('#result-value-0') 294 | await page.waitForSelector('text=Updating...', {state: 'detached'}); 295 | > 296 | let content = await page.textContent(`#result-value-0`); | ^ 297 | expect(content).toBe(String.raw`\begin{bmatrix} 5\left\lbrack m\cdot s\right\rbrack & 10\left\lbrack kg\cdot s\right\rbrack \\ 15\left\lbrack s\cdot rad\right\rbrack & 20\left\lbrack m^{2}\cdot s\right\rbrack \end{bmatrix}`); 298 | 299 | // change order of scalar-matrix multiplication, should commute at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_matrix_multiplication.spec.mjs:296:28
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_plotting.spec.mjs:153:1 › Test plot number of points ───────────────────────── [firefox] › test_basic.spec.mjs:1514:1 › Test cell drag to reorder ───────────────────────────── [firefox] › test_file_save_open.spec.mjs:138:1 › Test opening file with results and syntax error [firefox] › test_matrix_functions.spec.mjs:434:1 › Test sum function for multiple scalar inputs with units [firefox] › test_matrix_multiplication.spec.mjs:142:1 › Units with square variable matrix times variable matrix using matrix multiplication operator [firefox] › test_matrix_multiplication.spec.mjs:285:1 › Variable scalar times variable matrix ── 9 skipped 763 passed (21.2m)

Artifacts

Produced during runtime
Name Size
screenshots
15.9 MB
test-results
133 MB