Skip to content

Merge pull request #304 from mgreminger/nonindex #1499

Merge pull request #304 from mgreminger/nonindex

Merge pull request #304 from mgreminger/nonindex #1499

Triggered via push November 30, 2024 19:43
Status Success
Total duration 23m 48s
Artifacts 2

playwright.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 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
[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 ──────────────────────── 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
[chromium] › test_plotting.spec.mjs:419:1 › test scatter plot x-y scalar vector mismatch: tests/test_plotting.spec.mjs#L429
2) [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_calc.spec.mjs:97:1 › Test substitution of integration variable: tests/test_calc.spec.mjs#L128
3) [firefox] › test_calc.spec.mjs:97:1 › Test substitution of integration variable ─────────────── Error: expect(received).toBeCloseTo(expected, precision) Expected: 50 Received: NaN Expected precision: 13 Expected difference: < 0.00000000000005 Received difference: NaN 126 | 127 | let content = await page.textContent('#result-value-6'); > 128 | expect(parseLatexFloat(content)).toBeCloseTo(50, precision); | ^ 129 | content = await page.textContent('#result-units-6'); 130 | expect(content).toBe(''); 131 | at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_calc.spec.mjs:128:36
[firefox] › test_calc.spec.mjs:417:1 › Test derivative dimensional analysis bug: tests/test_calc.spec.mjs#L422
4) [firefox] › test_calc.spec.mjs:417:1 › Test derivative dimensional analysis bug ─────────────── TimeoutError: page.textContent: Timeout 120000ms exceeded. Call log: - waiting for locator('#result-value-0') 420 | await page.waitForSelector('.status-footer', {state: 'detached'}); 421 | > 422 | let content = await page.textContent('#result-value-0'); | ^ 423 | expect(parseLatexFloat(content)).toBeCloseTo(1, precision); 424 | content = await page.textContent('#result-units-0'); 425 | expect(content).toBe(''); at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_calc.spec.mjs:422: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
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_fluid_properties.spec.mjs:515:1 › Test PropsSI fluid function in numerical solve: tests/test_fluid_properties.spec.mjs#L527
6) [firefox] › test_fluid_properties.spec.mjs:515:1 › Test PropsSI fluid function in numerical solve TimeoutError: locator.selectOption: Timeout 120000ms exceeded. Call log: - waiting for getByLabel('Fluid:').nth(1) 525 | 526 | await page.locator('#add-fluid-cell').click(); > 527 | await page.getByLabel('Fluid:').nth(1).selectOption('Dry Air'); | ^ 528 | await page.getByLabel('Output:').nth(1).selectOption({label: 'S - Mass specific entropy - [J/kg/K]'}); 529 | await page.getByLabel('Input 1:').nth(1).selectOption({label: 'H - Mass specific enthalpy - [J/kg]'}); 530 | at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_fluid_properties.spec.mjs:527:42
[firefox] › test_matrix_multiplication.spec.mjs:432:1 › Dot product with column vectors and numeric entries: tests/test_matrix_multiplication.spec.mjs#L437
7) [firefox] › test_matrix_multiplication.spec.mjs:432:1 › Dot product with column vectors and numeric entries TimeoutError: page.textContent: Timeout 120000ms exceeded. Call log: - waiting for locator('#result-value-0') 435 | await page.waitForSelector('text=Updating...', {state: 'detached'}); 436 | > 437 | let content = await page.textContent(`#result-value-0`); | ^ 438 | expect(parseLatexFloat(content)).toBeCloseTo(32, precision); 439 | }); 440 | at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_matrix_multiplication.spec.mjs:437: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
7 flaky [chromium] › test_plotting.spec.mjs:153:1 › Test plot number of points ───────────────────────── [chromium] › test_plotting.spec.mjs:419:1 › test scatter plot x-y scalar vector mismatch ─────── [firefox] › test_calc.spec.mjs:97:1 › Test substitution of integration variable ──────────────── [firefox] › test_calc.spec.mjs:417:1 › Test derivative dimensional analysis bug ──────────────── [firefox] › test_file_save_open.spec.mjs:138:1 › Test opening file with results and syntax error [firefox] › test_fluid_properties.spec.mjs:515:1 › Test PropsSI fluid function in numerical solve [firefox] › test_matrix_multiplication.spec.mjs:432:1 › Dot product with column vectors and numeric entries 9 skipped 760 passed (20.6m)

Artifacts

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