Fix indefinite integral substitution bug (#272) #1423
Annotations
10 errors, 2 warnings, and 1 notice
[chromium] › test_calc.spec.mjs:342:1 › Test indefinite integral substitution bug #272:
tests/test_calc.spec.mjs#L354
1) [chromium] › test_calc.spec.mjs:342:1 › Test indefinite integral substitution bug #272 ────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "- \\frac{L^{2}}{2}"
Received: "0"
352 |
353 | let content = await page.textContent('#result-value-0');
> 354 | expect(content).toBe(String.raw`- \frac{L^{2}}{2}`);
| ^
355 |
356 | content = await page.textContent('#result-value-0');
357 | expect(content).toBe(String.raw`- \frac{L^{2}}{2}`);
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_calc.spec.mjs:354:19
|
[chromium] › test_calc.spec.mjs:342:1 › Test indefinite integral substitution bug #272:
tests/test_calc.spec.mjs#L354
1) [chromium] › test_calc.spec.mjs:342:1 › Test indefinite integral substitution bug #272 ────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "- \\frac{L^{2}}{2}"
Received: "0"
352 |
353 | let content = await page.textContent('#result-value-0');
> 354 | expect(content).toBe(String.raw`- \frac{L^{2}}{2}`);
| ^
355 |
356 | content = await page.textContent('#result-value-0');
357 | expect(content).toBe(String.raw`- \frac{L^{2}}{2}`);
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_calc.spec.mjs:354:19
|
[chromium] › test_calc.spec.mjs:342:1 › Test indefinite integral substitution bug #272:
tests/test_calc.spec.mjs#L354
1) [chromium] › test_calc.spec.mjs:342:1 › Test indefinite integral substitution bug #272 ────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "- \\frac{L^{2}}{2}"
Received: "0"
352 |
353 | let content = await page.textContent('#result-value-0');
> 354 | expect(content).toBe(String.raw`- \frac{L^{2}}{2}`);
| ^
355 |
356 | content = await page.textContent('#result-value-0');
357 | expect(content).toBe(String.raw`- \frac{L^{2}}{2}`);
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_calc.spec.mjs:354:19
|
[firefox] › test_calc.spec.mjs:342:1 › Test indefinite integral substitution bug #272:
tests/test_calc.spec.mjs#L354
2) [firefox] › test_calc.spec.mjs:342:1 › Test indefinite integral substitution bug #272 ─────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "- \\frac{L^{2}}{2}"
Received: "0"
352 |
353 | let content = await page.textContent('#result-value-0');
> 354 | expect(content).toBe(String.raw`- \frac{L^{2}}{2}`);
| ^
355 |
356 | content = await page.textContent('#result-value-0');
357 | expect(content).toBe(String.raw`- \frac{L^{2}}{2}`);
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_calc.spec.mjs:354:19
|
[firefox] › test_calc.spec.mjs:342:1 › Test indefinite integral substitution bug #272:
tests/test_calc.spec.mjs#L354
2) [firefox] › test_calc.spec.mjs:342:1 › Test indefinite integral substitution bug #272 ─────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "- \\frac{L^{2}}{2}"
Received: "0"
352 |
353 | let content = await page.textContent('#result-value-0');
> 354 | expect(content).toBe(String.raw`- \frac{L^{2}}{2}`);
| ^
355 |
356 | content = await page.textContent('#result-value-0');
357 | expect(content).toBe(String.raw`- \frac{L^{2}}{2}`);
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_calc.spec.mjs:354:19
|
[firefox] › test_calc.spec.mjs:342:1 › Test indefinite integral substitution bug #272:
tests/test_calc.spec.mjs#L354
2) [firefox] › test_calc.spec.mjs:342:1 › Test indefinite integral substitution bug #272 ─────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "- \\frac{L^{2}}{2}"
Received: "0"
352 |
353 | let content = await page.textContent('#result-value-0');
> 354 | expect(content).toBe(String.raw`- \frac{L^{2}}{2}`);
| ^
355 |
356 | content = await page.textContent('#result-value-0');
357 | expect(content).toBe(String.raw`- \frac{L^{2}}{2}`);
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_calc.spec.mjs:354:19
|
[chromium] › test_plotting.spec.mjs:153:1 › Test plot number of points:
tests/test_plotting.spec.mjs#L225
3) [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
3) [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
|
[firefox] › test_file_save_open.spec.mjs:6:1 › Test local file save and open:
tests/test_file_save_open.spec.mjs#L71
4) [firefox] › test_file_save_open.spec.mjs:6:1 › Test local file save and open ──────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: 0
Received: 292
69 | await page.screenshot({ path: `${screenshotDir}/${browserName}_screenshot_file_open_save_check.png`, fullPage: false });
70 |
> 71 | expect(compareImages(`${browserName}_screenshot_file_open_save.png`, `${browserName}_screenshot_file_open_save_check.png`)).toEqual(0);
| ^
72 |
73 | // Attempt to open an image file to make sure there is not a crash and that there is an error message shown
74 | page.once('filechooser', async (fileChooser) => {
at /home/runner/work/EngineeringPaper.xyz/EngineeringPaper.xyz/tests/test_file_save_open.spec.mjs:71:127
|
[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)
|
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/upload-artifact@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
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
2 failed
[chromium] › test_calc.spec.mjs:342:1 › Test indefinite integral substitution bug #272 ─────────
[firefox] › test_calc.spec.mjs:342:1 › Test indefinite integral substitution bug #272 ──────────
4 flaky
[chromium] › test_plotting.spec.mjs:153:1 › Test plot number of points ─────────────────────────
[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_plotting.spec.mjs:17:1 › Test plotting ────────────────────────────────────────
9 skipped
721 passed (21.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
screenshots
Expired
|
15.9 MB |
|
test-results
Expired
|
151 MB |
|