refactor: perform dimensional analysis and numerical evaluation in same pass (WIP) #1582
Annotations
8 errors, 1 warning, and 1 notice
Run Playwright tests:
tests/test_database.spec.mjs#L186
1) [chromium] › test_database.spec.mjs:176:1 › Test database consistency ─────────────────────────
TimeoutError: locator.waitFor: Timeout 5000ms exceeded.
Call log:
- waiting for locator('h3').locator('text=Retrieving Sheet') to be detached
- locator resolved to visible <h3 class="bx--modal-header__heading" id="bx--modal-header__heading--modal-ccs-0.9w59layxa3k">Retrieving Sheet</h3>
- locator resolved to visible <h3 class="bx--modal-header__heading" id="bx--modal-header__heading--modal-ccs-0.9w59layxa3k">Retrieving Sheet</h3>
- locator resolved to visible <h3 class="bx--modal-header__heading" id="bx--modal-header__heading--modal-ccs-0.9w59layxa3k">Retrieving Sheet</h3>
184 | await page.setViewportSize({ width: width, height: height });
185 |
> 186 | await page.locator('h3 >> text=Retrieving Sheet').waitFor({state: 'detached', timeout: 5000});
| ^
187 | await page.locator('text=Accept').click();
188 | await page.waitForSelector('.status-footer', { state: 'detached', timeout: pyodideLoadTimeout });
189 | await page.keyboard.press('Escape'); // unselect all cells
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_database.spec.mjs:186:53
|
Run Playwright tests:
tests/test_database.spec.mjs#L186
1) [chromium] › test_database.spec.mjs:176:1 › Test database consistency ─────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 5000ms exceeded.
Call log:
- waiting for locator('h3').locator('text=Retrieving Sheet') to be detached
- locator resolved to visible <h3 class="bx--modal-header__heading" id="bx--modal-header__heading--modal-ccs-0.m6wr2s9z4x">Retrieving Sheet</h3>
- locator resolved to visible <h3 class="bx--modal-header__heading" id="bx--modal-header__heading--modal-ccs-0.m6wr2s9z4x">Retrieving Sheet</h3>
- locator resolved to visible <h3 class="bx--modal-header__heading" id="bx--modal-header__heading--modal-ccs-0.m6wr2s9z4x">Retrieving Sheet</h3>
- locator resolved to visible <h3 class="bx--modal-header__heading" id="bx--modal-header__heading--modal-ccs-0.m6wr2s9z4x">Retrieving Sheet</h3>
- locator resolved to visible <h3 class="bx--modal-header__heading" id="bx--modal-header__heading--modal-ccs-0.m6wr2s9z4x">Retrieving Sheet</h3>
184 | await page.setViewportSize({ width: width, height: height });
185 |
> 186 | await page.locator('h3 >> text=Retrieving Sheet').waitFor({state: 'detached', timeout: 5000});
| ^
187 | await page.locator('text=Accept').click();
188 | await page.waitForSelector('.status-footer', { state: 'detached', timeout: pyodideLoadTimeout });
189 | await page.keyboard.press('Escape'); // unselect all cells
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_database.spec.mjs:186:53
|
Run Playwright tests:
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
|
Run Playwright tests:
tests/test_syntax_error_messages.spec.mjs#L166
3) [chromium] › test_syntax_error_messages.spec.mjs:163:1 › Error message for missing multiplication symbol between expression then 2nd derivative
TimeoutError: locator.waitFor: Timeout 1000ms exceeded.
Call log:
- waiting for locator('text=Missing multiplication symbol in expression')
164 | // variable followed by number
165 | await page.setLatex(0, String.raw`a\frac{\mathrm{d}^2}{\mathrm{d}\left(x\right)^2}\left(x^2\right)=`);
> 166 | await page.locator('text=Missing multiplication symbol in expression').waitFor({state: "attached", timeout: 1000});
| ^
167 | });
168 |
169 | test('Error message for empty placeholder', async () => {
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_syntax_error_messages.spec.mjs:166:74
|
Run Playwright tests:
tests/test_file_save_open.spec.mjs#L147
4) [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)
|
Run Playwright tests:
tests/utility.mjs#L55
5) [firefox] › test_functions.spec.mjs:16:1 › Test trigonometric functions ───────────────────────
TimeoutError: page.waitForSelector: Timeout 100000ms exceeded.
Call log:
- waiting for locator('.status-footer') to be detached
- locator resolved to visible <div class="status-footer promise svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer promise svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer promise svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer promise svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer promise svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer promise svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer promise svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer promise svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer promise svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer promise svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer promise svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer promise svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer promise svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer promise svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer promise svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer promise svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer promise svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer promise svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer promise svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer promise svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer promise svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer promise svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer promise svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer promise svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer promise svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer promise svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer promise svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer svelte-y9cnok">…</div>
- locator resolved to visible <div class="status-footer svelte
|
Run Playwright tests:
tests/test_generated_code.spec.mjs#L392
6) [firefox] › test_generated_code.spec.mjs:386:1 › Variable name rewriting ──────────────────────
TimeoutError: locator.click: Timeout 120000ms exceeded.
Call log:
- waiting for locator('#code-gen-1')
390 | await page.setLatex(1, String.raw`I\left(x=1\left\lbrack mm\right\rbrack,\:Add=2\left\lbrack mm\right\rbrack,\:def=3\left\lbrack mm\right\rbrack\right)=`);
391 |
> 392 | await page.locator('#code-gen-1').click();
| ^
393 |
394 | let content = await page.locator('code').textContent();
395 |
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_generated_code.spec.mjs:392:37
|
Run Playwright tests:
tests/test_matrix_multiplication.spec.mjs#L526
7) [firefox] › test_matrix_multiplication.spec.mjs:521:1 › Symbolic matrix multiplication ────────
TimeoutError: page.textContent: Timeout 120000ms exceeded.
Call log:
- waiting for locator('#result-value-0')
524 | await page.waitForSelector('text=Updating...', {state: 'detached'});
525 |
> 526 | let content = await page.textContent('#result-value-0');
| ^
527 | expect(content).toBe(String.raw`A \cdot B`);
528 | });
529 |
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_matrix_multiplication.spec.mjs:526:28
|
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/
|
Run Playwright tests
7 flaky
[chromium] › test_database.spec.mjs:176:1 › Test database consistency ──────────────────────────
[chromium] › test_plotting.spec.mjs:419:1 › test scatter plot x-y scalar vector mismatch ───────
[chromium] › test_syntax_error_messages.spec.mjs:163:1 › Error message for missing multiplication symbol between expression then 2nd derivative
[firefox] › test_file_save_open.spec.mjs:138:1 › Test opening file with results and syntax error
[firefox] › test_functions.spec.mjs:16:1 › Test trigonometric functions ────────────────────────
[firefox] › test_generated_code.spec.mjs:386:1 › Variable name rewriting ───────────────────────
[firefox] › test_matrix_multiplication.spec.mjs:521:1 › Symbolic matrix multiplication ─────────
9 skipped
770 passed (20.0m)
|
Loading