refactor: perform dimensional analysis and numerical evaluation in same pass (WIP) #1571
Annotations
10 errors, 1 warning, and 1 notice
[chromium] › test_custom_base_units.spec.mjs:133:1 › Test custom base units for plot cells:
tests/test_custom_base_units.spec.mjs#L146
1) [chromium] › test_custom_base_units.spec.mjs:133:1 › Test custom base units for plot cells ────
Error: Timed out 10000ms waiting for expect(locator).toBeAttached()
Locator: locator('text=tonne')
Expected: attached
Received: <element(s) not found>
Call log:
- expect.toBeAttached with timeout 10000ms
- waiting for locator('text=tonne')
144 | await page.waitForSelector('text=Updating...', {state: 'detached'});
145 |
> 146 | await expect(page.locator('text=tonne')).toBeAttached();
| ^
147 |
148 | // set sheet wide settings back to default
149 | await page.getByRole('button', { name: 'Sheet Settings' }).click();
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_custom_base_units.spec.mjs:146:44
|
[chromium] › test_custom_base_units.spec.mjs:133:1 › Test custom base units for plot cells:
tests/test_custom_base_units.spec.mjs#L146
1) [chromium] › test_custom_base_units.spec.mjs:133:1 › Test custom base units for plot cells ────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toBeAttached()
Locator: locator('text=tonne')
Expected: attached
Received: <element(s) not found>
Call log:
- expect.toBeAttached with timeout 10000ms
- waiting for locator('text=tonne')
144 | await page.waitForSelector('text=Updating...', {state: 'detached'});
145 |
> 146 | await expect(page.locator('text=tonne')).toBeAttached();
| ^
147 |
148 | // set sheet wide settings back to default
149 | await page.getByRole('button', { name: 'Sheet Settings' }).click();
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_custom_base_units.spec.mjs:146:44
|
[chromium] › test_custom_base_units.spec.mjs:133:1 › Test custom base units for plot cells:
tests/test_custom_base_units.spec.mjs#L146
1) [chromium] › test_custom_base_units.spec.mjs:133:1 › Test custom base units for plot cells ────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toBeAttached()
Locator: locator('text=tonne')
Expected: attached
Received: <element(s) not found>
Call log:
- expect.toBeAttached with timeout 10000ms
- waiting for locator('text=tonne')
144 | await page.waitForSelector('text=Updating...', {state: 'detached'});
145 |
> 146 | await expect(page.locator('text=tonne')).toBeAttached();
| ^
147 |
148 | // set sheet wide settings back to default
149 | await page.getByRole('button', { name: 'Sheet Settings' }).click();
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_custom_base_units.spec.mjs:146:44
|
[chromium] › test_plotting.spec.mjs:131:1 › Test plot two curves with compatible x-range units:
tests/test_plotting.spec.mjs#L148
2) [chromium] › test_plotting.spec.mjs:131:1 › Test plot two curves with compatible x-range units
Error: expect(received).rejects.toThrow(expected)
Expected substring: "Timeout"
Received message: "expect.toThrow: Error: strict mode violation: locator('button:has-text(\"Units Mismatch\")') resolved to 2 elements:
1) <button aria-describedby=\"ccs-0.0ccupmfp68vj\" class=\"bx--tooltip__trigger bx--tooltip--a11y bx--tooltip--right bx--tooltip--align-end\">…</button> aka locator('#plot-expression-1-0').getByRole('button', { name: 'Units Mismatch' })
2) <button aria-describedby=\"ccs-0.nbdr2qwmihk\" class=\"bx--tooltip__trigger bx--tooltip--a11y bx--tooltip--right bx--tooltip--align-end\">…</button> aka locator('#plot-expression-1-1').getByRole('button', { name: 'Units Mismatch' })·
Call log:
- waiting for locator('button:has-text(\"Units Mismatch\")') to be visible
"
145 | await page.waitForSelector('.status-footer', { state: 'detached' });
146 |
> 147 | await expect(() => page.locator('button:has-text("Units Mismatch")').waitFor({timeout: 1000 }))
| ^
148 | .rejects.toThrow('Timeout');
149 |
150 | });
at tests/test_plotting.spec.mjs:147:72
at tests/test_plotting.spec.mjs:148:35
146 |
147 | await expect(() => page.locator('button:has-text("Units Mismatch")').waitFor({timeout: 1000 }))
> 148 | .rejects.toThrow('Timeout');
| ^
149 |
150 | });
151 |
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_plotting.spec.mjs:148:35
|
[chromium] › test_plotting.spec.mjs:131:1 › Test plot two curves with compatible x-range units:
tests/test_plotting.spec.mjs#L148
2) [chromium] › test_plotting.spec.mjs:131:1 › Test plot two curves with compatible x-range units
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).rejects.toThrow(expected)
Expected substring: "Timeout"
Received message: "expect.toThrow: Error: strict mode violation: locator('button:has-text(\"Units Mismatch\")') resolved to 2 elements:
1) <button aria-describedby=\"ccs-0.l6rt2im9kb8\" class=\"bx--tooltip__trigger bx--tooltip--a11y bx--tooltip--right bx--tooltip--align-end\">…</button> aka locator('#plot-expression-1-0').getByRole('button', { name: 'Units Mismatch' })
2) <button aria-describedby=\"ccs-0.ozgur4tntmp\" class=\"bx--tooltip__trigger bx--tooltip--a11y bx--tooltip--right bx--tooltip--align-end\">…</button> aka locator('#plot-expression-1-1').getByRole('button', { name: 'Units Mismatch' })·
Call log:
- waiting for locator('button:has-text(\"Units Mismatch\")') to be visible
"
145 | await page.waitForSelector('.status-footer', { state: 'detached' });
146 |
> 147 | await expect(() => page.locator('button:has-text("Units Mismatch")').waitFor({timeout: 1000 }))
| ^
148 | .rejects.toThrow('Timeout');
149 |
150 | });
at tests/test_plotting.spec.mjs:147:72
at tests/test_plotting.spec.mjs:148:35
146 |
147 | await expect(() => page.locator('button:has-text("Units Mismatch")').waitFor({timeout: 1000 }))
> 148 | .rejects.toThrow('Timeout');
| ^
149 |
150 | });
151 |
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_plotting.spec.mjs:148:35
|
[chromium] › test_plotting.spec.mjs:131:1 › Test plot two curves with compatible x-range units:
tests/test_plotting.spec.mjs#L148
2) [chromium] › test_plotting.spec.mjs:131:1 › Test plot two curves with compatible x-range units
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).rejects.toThrow(expected)
Expected substring: "Timeout"
Received message: "expect.toThrow: Error: strict mode violation: locator('button:has-text(\"Units Mismatch\")') resolved to 2 elements:
1) <button aria-describedby=\"ccs-0.324615m3p6g\" class=\"bx--tooltip__trigger bx--tooltip--a11y bx--tooltip--right bx--tooltip--align-end\">…</button> aka locator('#plot-expression-1-0').getByRole('button', { name: 'Units Mismatch' })
2) <button aria-describedby=\"ccs-0.amosryo4c9l\" class=\"bx--tooltip__trigger bx--tooltip--a11y bx--tooltip--right bx--tooltip--align-end\">…</button> aka locator('#plot-expression-1-1').getByRole('button', { name: 'Units Mismatch' })·
Call log:
- waiting for locator('button:has-text(\"Units Mismatch\")') to be visible
"
145 | await page.waitForSelector('.status-footer', { state: 'detached' });
146 |
> 147 | await expect(() => page.locator('button:has-text("Units Mismatch")').waitFor({timeout: 1000 }))
| ^
148 | .rejects.toThrow('Timeout');
149 |
150 | });
at tests/test_plotting.spec.mjs:147:72
at tests/test_plotting.spec.mjs:148:35
146 |
147 | await expect(() => page.locator('button:has-text("Units Mismatch")').waitFor({timeout: 1000 }))
> 148 | .rejects.toThrow('Timeout');
| ^
149 |
150 | });
151 |
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_plotting.spec.mjs:148:35
|
[chromium] › test_plotting.spec.mjs:639:1 › Test visual comparison of function plot with identical scatter line plot:
tests/test_plotting.spec.mjs#L649
3) [chromium] › test_plotting.spec.mjs:639:1 › Test visual comparison of function plot with identical scatter line plot
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: locator('g.trace.scatter')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for locator('g.trace.scatter')
647 |
648 | await expect(page.locator('text=Updating...')).toBeHidden();
> 649 | await expect(page.locator('g.trace.scatter')).toBeVisible();
| ^
650 |
651 | let [download] = await Promise.all([
652 | page.waitForEvent('download'),
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_plotting.spec.mjs:649:49
|
[chromium] › test_plotting.spec.mjs:639:1 › Test visual comparison of function plot with identical scatter line plot:
tests/test_plotting.spec.mjs#L649
3) [chromium] › test_plotting.spec.mjs:639:1 › Test visual comparison of function plot with identical scatter line plot
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: locator('g.trace.scatter')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for locator('g.trace.scatter')
647 |
648 | await expect(page.locator('text=Updating...')).toBeHidden();
> 649 | await expect(page.locator('g.trace.scatter')).toBeVisible();
| ^
650 |
651 | let [download] = await Promise.all([
652 | page.waitForEvent('download'),
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_plotting.spec.mjs:649:49
|
[chromium] › test_plotting.spec.mjs:639:1 › Test visual comparison of function plot with identical scatter line plot:
tests/test_plotting.spec.mjs#L649
3) [chromium] › test_plotting.spec.mjs:639:1 › Test visual comparison of function plot with identical scatter line plot
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: locator('g.trace.scatter')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for locator('g.trace.scatter')
647 |
648 | await expect(page.locator('text=Updating...')).toBeHidden();
> 649 | await expect(page.locator('g.trace.scatter')).toBeVisible();
| ^
650 |
651 | let [download] = await Promise.all([
652 | page.waitForEvent('download'),
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_plotting.spec.mjs:649:49
|
[chromium] › test_plotting.spec.mjs:744:1 › test parametric plot with incompatible y-axis user unit:
tests/test_plotting.spec.mjs#L751
4) [chromium] › test_plotting.spec.mjs:744:1 › test parametric plot with incompatible y-axis user unit
TimeoutError: locator.waitFor: Timeout 1000ms exceeded.
Call log:
- waiting for locator('#plot-expression-1-0').locator('text=Units Mismatch')
749 | await page.waitForSelector('.status-footer', { state: 'detached' });
750 |
> 751 | await page.locator('#plot-expression-1-0 >> text=Units Mismatch').waitFor({state: 'attached', timeout: 1000});
| ^
752 | });
753 |
754 | test('test parametric plot with limits reversed', async ({ browserName }) => {
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_plotting.spec.mjs:751:69
|
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
11 failed
[chromium] › test_custom_base_units.spec.mjs:133:1 › Test custom base units for plot cells ─────
[chromium] › test_plotting.spec.mjs:131:1 › Test plot two curves with compatible x-range units ─
[chromium] › test_plotting.spec.mjs:639:1 › Test visual comparison of function plot with identical scatter line plot
[chromium] › test_plotting.spec.mjs:744:1 › test parametric plot with incompatible y-axis user unit
[chromium] › test_plotting.spec.mjs:764:1 › Test visual comparison of function plot with identical parametric plot
[chromium] › test_system_solve.spec.mjs:949:1 › Test zero placeholder numerical with units ─────
[firefox] › test_custom_base_units.spec.mjs:133:1 › Test custom base units for plot cells ──────
[firefox] › test_plotting.spec.mjs:639:1 › Test visual comparison of function plot with identical scatter line plot
[firefox] › test_plotting.spec.mjs:744:1 › test parametric plot with incompatible y-axis user unit
[firefox] › test_plotting.spec.mjs:764:1 › Test visual comparison of function plot with identical parametric plot
[firefox] › test_system_solve.spec.mjs:949:1 › Test zero placeholder numerical with units ──────
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_file_save_open.spec.mjs:6:1 › Test local file save and open ───────────────────
[firefox] › test_file_save_open.spec.mjs:138:1 › Test opening file with results and syntax error
[firefox] › test_number_format.spec.mjs:124:1 › Test auto exponent ─────────────────────────────
[firefox] › test_plotting.spec.mjs:131:1 › Test plot two curves with compatible x-range units ──
[firefox] › test_plotting.spec.mjs:153:1 › Test plot number of points ──────────────────────────
9 skipped
757 passed (29.4m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
screenshots
|
15.6 MB |
|
test-results
Expired
|
412 MB |
|