fix: "Skip to main content" no longer causes a page reload #1495
Annotations
6 errors, 1 warning, and 1 notice
[chromium] › test_matrix_multiplication.spec.mjs:124:1 › Units with square multiplication:
tests/test_matrix_multiplication.spec.mjs#L129
1) [chromium] › test_matrix_multiplication.spec.mjs:124:1 › Units with square multiplication ─────
TimeoutError: page.textContent: Timeout 120000ms exceeded.
Call log:
- waiting for locator('#result-value-0')
127 | await page.waitForSelector('text=Updating...', {state: 'detached'});
128 |
> 129 | let content = await page.textContent(`#result-value-0`);
| ^
130 | 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}');
131 |
132 | // add some numbers for variables that define first matrix
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_matrix_multiplication.spec.mjs:129:28
|
[chromium] › test_number_format.spec.mjs:309:1 › Test restore defaults button:
tests/test_number_format.spec.mjs#L310
2) [chromium] › test_number_format.spec.mjs:309:1 › Test restore defaults button ─────────────────
Error: locator.type: Error: strict mode violation: locator('math-field.editable') resolved to 2 elements:
1) <math-field tabindex="0" role="textbox math" max-matrix-cols="50" math-mode-space="\:" min-font-scale="0.75" contenteditable="true" smart-superscript="off" class="svelte-1j4upvs editable" math-virtual-keyboard-policy="manual"></math-field> aka locator('#cell-0 math-field').filter({ hasText: '=' })
2) <math-field tabindex="0" role="textbox math" max-matrix-cols="50" math-mode-space="\:" min-font-scale="0.75" contenteditable="true" smart-superscript="off" class="svelte-1j4upvs editable" math-virtual-keyboard-policy="manual"></math-field> aka locator('#cell-1 math-field').filter({ hasText: '=' })
Call log:
- waiting for locator('math-field.editable')
308 |
309 | test('Test restore defaults button', async () => {
> 310 | await page.locator('math-field.editable').type('pi=');
| ^
311 |
312 | // change all of the number format settings
313 | await page.getByRole('button', { name: 'Sheet Settings' }).click();
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_number_format.spec.mjs:310:45
|
[chromium] › test_plotting.spec.mjs:419:1 › test scatter plot x-y scalar vector mismatch:
tests/test_plotting.spec.mjs#L429
3) [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: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_plotting.spec.mjs:153:1 › Test plot number of points:
tests/test_plotting.spec.mjs#L225
6) [firefox] › test_plotting.spec.mjs:153:1 › Test plot number of points ─────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: 0
Received: 3436
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
|
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_matrix_multiplication.spec.mjs:124:1 › Units with square multiplication ──────
[chromium] › test_number_format.spec.mjs:309:1 › Test restore defaults button ──────────────────
[chromium] › test_plotting.spec.mjs:419:1 › test scatter plot x-y scalar vector mismatch ───────
[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_plotting.spec.mjs:153:1 › Test plot number of points ──────────────────────────
9 skipped
761 passed (20.1m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
screenshots
Expired
|
15.9 MB |
|
test-results
Expired
|
130 MB |
|