Skip to content

Fix Galata workflow (#19) #71

Fix Galata workflow (#19)

Fix Galata workflow (#19) #71

Triggered via push November 3, 2024 12:09
Status Failure
Total duration 9m 4s
Artifacts 2

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 5 warnings, and 1 notice
tests/ui.spec.ts:20:9 › UI Test › Extension activation test › should emit an activation console message: ui-tests/tests/ui.spec.ts#L34
1) tests/ui.spec.ts:20:9 › UI Test › Extension activation test › should emit an activation console message Error: expect(received).toHaveLength(expected) Expected length: 1 Received length: 0 Received array: [] 32 | expect( 33 | logs.filter(s => s === 'jupytercad:fcplugin is activated!') > 34 | ).toHaveLength(1); | ^ 35 | }); 36 | }); 37 | at /home/runner/work/JupyterCAD-FreeCAD/JupyterCAD-FreeCAD/ui-tests/tests/ui.spec.ts:34:9
tests/ui.spec.ts:62:11 › UI Test › File rendering test › Should be able to render example_2D.FCStd without error: ui-tests/tests/ui.spec.ts#L81
2) tests/ui.spec.ts:62:11 › UI Test › File rendering test › Should be able to render example_2D.FCStd without error Error: expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 2 79 | await page.waitForTimeout(1000); 80 | const main = await page.$('#jp-main-split-panel'); > 81 | expect(errors).toBe(0); | ^ 82 | if (main) { 83 | expect(await main.screenshot()).toMatchSnapshot({ 84 | name: `Render-${file}.png`, at /home/runner/work/JupyterCAD-FreeCAD/JupyterCAD-FreeCAD/ui-tests/tests/ui.spec.ts:81:24
tests/ui.spec.ts:62:11 › UI Test › File rendering test › Should be able to render example1.FCStd without error: ui-tests/tests/ui.spec.ts#L81
3) tests/ui.spec.ts:62:11 › UI Test › File rendering test › Should be able to render example1.FCStd without error Error: expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 2 79 | await page.waitForTimeout(1000); 80 | const main = await page.$('#jp-main-split-panel'); > 81 | expect(errors).toBe(0); | ^ 82 | if (main) { 83 | expect(await main.screenshot()).toMatchSnapshot({ 84 | name: `Render-${file}.png`, at /home/runner/work/JupyterCAD-FreeCAD/JupyterCAD-FreeCAD/ui-tests/tests/ui.spec.ts:81:24
tests/ui.spec.ts:62:11 › UI Test › File rendering test › Should be able to render example2.FCStd without error: ui-tests/tests/ui.spec.ts#L81
4) tests/ui.spec.ts:62:11 › UI Test › File rendering test › Should be able to render example2.FCStd without error Error: expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 2 79 | await page.waitForTimeout(1000); 80 | const main = await page.$('#jp-main-split-panel'); > 81 | expect(errors).toBe(0); | ^ 82 | if (main) { 83 | expect(await main.screenshot()).toMatchSnapshot({ 84 | name: `Render-${file}.png`, at /home/runner/work/JupyterCAD-FreeCAD/JupyterCAD-FreeCAD/ui-tests/tests/ui.spec.ts:81:24
tests/ui.spec.ts:62:11 › UI Test › File rendering test › Should be able to render example3.FCStd without error: ui-tests/tests/ui.spec.ts#L81
5) tests/ui.spec.ts:62:11 › UI Test › File rendering test › Should be able to render example3.FCStd without error Error: expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 2 79 | await page.waitForTimeout(1000); 80 | const main = await page.$('#jp-main-split-panel'); > 81 | expect(errors).toBe(0); | ^ 82 | if (main) { 83 | expect(await main.screenshot()).toMatchSnapshot({ 84 | name: `Render-${file}.png`, at /home/runner/work/JupyterCAD-FreeCAD/JupyterCAD-FreeCAD/ui-tests/tests/ui.spec.ts:81:24
tests/ui.spec.ts:62:11 › UI Test › File rendering test › Should be able to render example4.FCStd without error: ui-tests/tests/ui.spec.ts#L81
6) tests/ui.spec.ts:62:11 › UI Test › File rendering test › Should be able to render example4.FCStd without error Error: expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 2 79 | await page.waitForTimeout(1000); 80 | const main = await page.$('#jp-main-split-panel'); > 81 | expect(errors).toBe(0); | ^ 82 | if (main) { 83 | expect(await main.screenshot()).toMatchSnapshot({ 84 | name: `Render-${file}.png`, at /home/runner/work/JupyterCAD-FreeCAD/JupyterCAD-FreeCAD/ui-tests/tests/ui.spec.ts:81:24
tests/ui.spec.ts:62:11 › UI Test › File rendering test › Should be able to render example5.FCStd without error: ui-tests/tests/ui.spec.ts#L81
7) tests/ui.spec.ts:62:11 › UI Test › File rendering test › Should be able to render example5.FCStd without error Error: expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 2 79 | await page.waitForTimeout(1000); 80 | const main = await page.$('#jp-main-split-panel'); > 81 | expect(errors).toBe(0); | ^ 82 | if (main) { 83 | expect(await main.screenshot()).toMatchSnapshot({ 84 | name: `Render-${file}.png`, at /home/runner/work/JupyterCAD-FreeCAD/JupyterCAD-FreeCAD/ui-tests/tests/ui.spec.ts:81:24
tests/ui.spec.ts:62:11 › UI Test › File rendering test › Should be able to render example6.FCStd without error: ui-tests/tests/ui.spec.ts#L81
8) tests/ui.spec.ts:62:11 › UI Test › File rendering test › Should be able to render example6.FCStd without error Error: expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 2 79 | await page.waitForTimeout(1000); 80 | const main = await page.$('#jp-main-split-panel'); > 81 | expect(errors).toBe(0); | ^ 82 | if (main) { 83 | expect(await main.screenshot()).toMatchSnapshot({ 84 | name: `Render-${file}.png`, at /home/runner/work/JupyterCAD-FreeCAD/JupyterCAD-FreeCAD/ui-tests/tests/ui.spec.ts:81:24
tests/ui.spec.ts:62:11 › UI Test › File rendering test › Should be able to render common.FCStd without error: ui-tests/tests/ui.spec.ts#L81
9) tests/ui.spec.ts:62:11 › UI Test › File rendering test › Should be able to render common.FCStd without error Error: expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 2 79 | await page.waitForTimeout(1000); 80 | const main = await page.$('#jp-main-split-panel'); > 81 | expect(errors).toBe(0); | ^ 82 | if (main) { 83 | expect(await main.screenshot()).toMatchSnapshot({ 84 | name: `Render-${file}.png`, at /home/runner/work/JupyterCAD-FreeCAD/JupyterCAD-FreeCAD/ui-tests/tests/ui.spec.ts:81:24
tests/ui.spec.ts:62:11 › UI Test › File rendering test › Should be able to render cut.FCStd without error: ui-tests/tests/ui.spec.ts#L81
10) tests/ui.spec.ts:62:11 › UI Test › File rendering test › Should be able to render cut.FCStd without error Error: expect(received).toBe(expected) // Object.is equality Expected: 0 Received: 2 79 | await page.waitForTimeout(1000); 80 | const main = await page.$('#jp-main-split-panel'); > 81 | expect(errors).toBe(0); | ^ 82 | if (main) { 83 | expect(await main.screenshot()).toMatchSnapshot({ 84 | name: `Render-${file}.png`, at /home/runner/work/JupyterCAD-FreeCAD/JupyterCAD-FreeCAD/ui-tests/tests/ui.spec.ts:81:24
Check Links
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@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/
test_isolated
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-python@v4, actions/download-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: "extension-artifacts", "jupytercad-playwright-tests". 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/
Integration tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/download-artifact@v3, actions/cache@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/
🎭 Playwright Run Summary
14 failed tests/ui.spec.ts:20:9 › UI Test › Extension activation test › should emit an activation console message tests/ui.spec.ts:62:11 › UI Test › File rendering test › Should be able to render example_2D.FCStd without error tests/ui.spec.ts:62:11 › UI Test › File rendering test › Should be able to render example1.FCStd without error tests/ui.spec.ts:62:11 › UI Test › File rendering test › Should be able to render example2.FCStd without error tests/ui.spec.ts:62:11 › UI Test › File rendering test › Should be able to render example3.FCStd without error tests/ui.spec.ts:62:11 › UI Test › File rendering test › Should be able to render example4.FCStd without error tests/ui.spec.ts:62:11 › UI Test › File rendering test › Should be able to render example5.FCStd without error tests/ui.spec.ts:62:11 › UI Test › File rendering test › Should be able to render example6.FCStd without error tests/ui.spec.ts:62:11 › UI Test › File rendering test › Should be able to render common.FCStd without error tests/ui.spec.ts:62:11 › UI Test › File rendering test › Should be able to render cut.FCStd without error tests/ui.spec.ts:114:9 › UI Test › File operator test › Should be able to add object to scene ── tests/ui.spec.ts:154:9 › UI Test › File operator test › Should be able to remove object ──────── tests/ui.spec.ts:196:9 › UI Test › File operator test › Should be able to edit object ────────── tests/ui.spec.ts:244:9 › UI Test › File operator test › Should be able to do multi selection ───

Artifacts

Produced during runtime
Name Size
extension-artifacts
846 KB
jupytercad-playwright-tests
7.23 MB