refactor: perform dimensional analysis and numerical evaluation in same pass #1609
Annotations
5 errors, 1 warning, and 1 notice
[firefox] › test_basic.spec.mjs:1502:1 › Negative grouping with fractions:
tests/test_basic.spec.mjs#L1517
1) [firefox] › test_basic.spec.mjs:1502:1 › Negative grouping with fractions ─────────────────────
TimeoutError: page.textContent: Timeout 120000ms exceeded.
Call log:
- waiting for locator('#result-value-0')
1515 | await page.waitForSelector('.status-footer', { state: 'detached'});
1516 |
> 1517 | let content = await page.textContent('#result-value-0');
| ^
1518 | expect(content).toBe('b');
1519 |
1520 | content = await page.textContent('#result-value-1');
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_basic.spec.mjs:1517:28
|
[firefox] › test_calc.spec.mjs:417:1 › Test derivative dimensional analysis bug:
tests/test_calc.spec.mjs#L422
2) [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
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_fluid_properties.spec.mjs:541:1 › Test HAPropsSI fluid function in numerical solve:
tests/test_fluid_properties.spec.mjs#L553
4) [firefox] › test_fluid_properties.spec.mjs:541:1 › Test HAPropsSI fluid function in numerical solve
TimeoutError: locator.selectOption: Timeout 120000ms exceeded.
Call log:
- waiting for getByLabel('Fluid:').nth(1)
551 |
552 | await page.locator('#add-fluid-cell').click();
> 553 | await page.getByLabel('Fluid:').nth(1).selectOption('Humid Air (Psychrometrics)');
| ^
554 | await page.getByLabel('Output:').nth(1).selectOption({label: 'S - Mixture entropy per mass dry air - [J/kg/K]'});
555 | await page.getByLabel('Input 1:').nth(1).selectOption({label: 'H - Mixture enthalpy per mass dry air - [J/kg]'});
556 |
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_fluid_properties.spec.mjs:553:42
|
[firefox] › test_matrix_indexing.spec.mjs:119:1 › Indexing with expression:
tests/test_matrix_indexing.spec.mjs#L136
5) [firefox] › test_matrix_indexing.spec.mjs:119:1 › Indexing with expression ────────────────────
TimeoutError: page.textContent: Timeout 120000ms exceeded.
Call log:
- waiting for locator('#result-value-1')
134 | await page.waitForSelector('text=Updating...', {state: 'detached'});
135 |
> 136 | let content = await page.textContent(`#result-value-1`);
| ^
137 | expect(parseLatexFloat(content)).toBeCloseTo(3, precision);
138 | content = await page.textContent('#result-units-1');
139 | expect(content).toBe('kg');
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_matrix_indexing.spec.mjs:136: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
5 flaky
[firefox] › test_basic.spec.mjs:1502:1 › Negative grouping with fractions ──────────────────────
[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:541:1 › Test HAPropsSI fluid function in numerical solve
[firefox] › test_matrix_indexing.spec.mjs:119:1 › Indexing with expression ─────────────────────
9 skipped
778 passed (20.1m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
screenshots
|
15.9 MB |
|
test-results
Expired
|
107 MB |
|