Configure ui-tests for lite deployment #1652
Annotations
5 errors and 1 notice
Execute integration tests:
ui-tests/tests/lite.spec.ts#L59
1) tests/lite.spec.ts:35:13 › UI Test › File operations › Should be able to render test.jGIS without error
Error: expect(Buffer).toMatchSnapshot(expected)
Expected an image 696px by 680px, received 444px by 680px. 246165 pixels (ratio 0.53 of all image pixels) are different.
Expected: /home/runner/work/jupytergis/jupytergis/ui-tests/tests/lite.spec.ts-snapshots/Render-test-jGIS-linux.png
Received: /home/runner/work/jupytergis/jupytergis/ui-tests/test-results/tests-lite-UI-Test-File-op-d849f-der-test-jGIS-without-error/Render-test-jGIS-actual.png
Diff: /home/runner/work/jupytergis/jupytergis/ui-tests/test-results/tests-lite-UI-Test-File-op-d849f-der-test-jGIS-without-error/Render-test-jGIS-diff.png
57 | expect(errors).toBe(0);
58 | if (main) {
> 59 | expect(await main.screenshot()).toMatchSnapshot({
| ^
60 | name: `Render-${file}.png`,
61 | maxDiffPixelRatio: 0.01
62 | });
at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/lite.spec.ts:59:45
|
Execute integration tests:
ui-tests/tests/lite.spec.ts#L59
1) tests/lite.spec.ts:35:13 › UI Test › File operations › Should be able to render test.jGIS without error
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(Buffer).toMatchSnapshot(expected)
Expected an image 696px by 680px, received 444px by 680px. 246165 pixels (ratio 0.53 of all image pixels) are different.
Expected: /home/runner/work/jupytergis/jupytergis/ui-tests/tests/lite.spec.ts-snapshots/Render-test-jGIS-linux.png
Received: /home/runner/work/jupytergis/jupytergis/ui-tests/test-results/tests-lite-UI-Test-File-op-d849f-der-test-jGIS-without-error-retry1/Render-test-jGIS-actual.png
Diff: /home/runner/work/jupytergis/jupytergis/ui-tests/test-results/tests-lite-UI-Test-File-op-d849f-der-test-jGIS-without-error-retry1/Render-test-jGIS-diff.png
57 | expect(errors).toBe(0);
58 | if (main) {
> 59 | expect(await main.screenshot()).toMatchSnapshot({
| ^
60 | name: `Render-${file}.png`,
61 | maxDiffPixelRatio: 0.01
62 | });
at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/lite.spec.ts:59:45
|
Execute integration tests:
ui-tests/tests/lite.spec.ts#L59
2) tests/lite.spec.ts:35:13 › UI Test › File operations › Should be able to render shapefile.jGIS without error
Error: expect(Buffer).toMatchSnapshot(expected)
Expected an image 696px by 680px, received 444px by 680px. 200381 pixels (ratio 0.43 of all image pixels) are different.
Expected: /home/runner/work/jupytergis/jupytergis/ui-tests/tests/lite.spec.ts-snapshots/Render-shapefile-jGIS-linux.png
Received: /home/runner/work/jupytergis/jupytergis/ui-tests/test-results/tests-lite-UI-Test-File-op-52742-hapefile-jGIS-without-error/Render-shapefile-jGIS-actual.png
Diff: /home/runner/work/jupytergis/jupytergis/ui-tests/test-results/tests-lite-UI-Test-File-op-52742-hapefile-jGIS-without-error/Render-shapefile-jGIS-diff.png
57 | expect(errors).toBe(0);
58 | if (main) {
> 59 | expect(await main.screenshot()).toMatchSnapshot({
| ^
60 | name: `Render-${file}.png`,
61 | maxDiffPixelRatio: 0.01
62 | });
at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/lite.spec.ts:59:45
|
Execute integration tests:
ui-tests/tests/lite.spec.ts#L59
2) tests/lite.spec.ts:35:13 › UI Test › File operations › Should be able to render shapefile.jGIS without error
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(Buffer).toMatchSnapshot(expected)
Expected an image 696px by 680px, received 444px by 680px. 200381 pixels (ratio 0.43 of all image pixels) are different.
Expected: /home/runner/work/jupytergis/jupytergis/ui-tests/tests/lite.spec.ts-snapshots/Render-shapefile-jGIS-linux.png
Received: /home/runner/work/jupytergis/jupytergis/ui-tests/test-results/tests-lite-UI-Test-File-op-52742-hapefile-jGIS-without-error-retry1/Render-shapefile-jGIS-actual.png
Diff: /home/runner/work/jupytergis/jupytergis/ui-tests/test-results/tests-lite-UI-Test-File-op-52742-hapefile-jGIS-without-error-retry1/Render-shapefile-jGIS-diff.png
57 | expect(errors).toBe(0);
58 | if (main) {
> 59 | expect(await main.screenshot()).toMatchSnapshot({
| ^
60 | name: `Render-${file}.png`,
61 | maxDiffPixelRatio: 0.01
62 | });
at /home/runner/work/jupytergis/jupytergis/ui-tests/tests/lite.spec.ts:59:45
|
Execute integration tests
Process completed with exit code 1.
|
Execute integration tests
2 failed
tests/lite.spec.ts:35:13 › UI Test › File operations › Should be able to render test.jGIS without error
tests/lite.spec.ts:35:13 › UI Test › File operations › Should be able to render shapefile.jGIS without error
|
Loading