Skip to content

[Bugfix] LocatByLayer - Error after automatic ESlint #8577

[Bugfix] LocatByLayer - Error after automatic ESlint

[Bugfix] LocatByLayer - Error after automatic ESlint #8577

Triggered via pull request March 7, 2025 09:13
Status Failure
Total duration 21m 1s
Artifacts 7

e2e_tests.yml

on: pull_request
Matrix: end2end
Fit to window
Zoom out
Zoom in

Annotations

9 errors
E2E QGIS 3.40 PG 17-3 PHP 8.3
Cypress tests: 1 failed
E2E QGIS 3.40 PG 17-3 PHP 8.3: tests/end2end/playwright/print.spec.js#L0
Print requests: Error: Print requests 1 → wrong length list : Got : 14 items With : SERVICE, REQUEST, VERSION, FORMAT, TRANSPARENT, CRS, DPI, TEMPLATE, map0:EXTENT, map0:SCALE, map0:LAYERS, map0:STYLES, map0:OPACITIES, simple_label To have: 15 items Debug : SERVICE, REQUEST, VERSION, FORMAT, TRANSPARENT, CRS, DPI, TEMPLATE, map0:EXTENT, map0:SCALE, map0:LAYERS, map0:STYLES, map0:OPACITIES, simple_label Debug count : 14 items expect(received).toHaveLength(expected) Expected length: 15 Received length: 14 Received array: ["SERVICE", "REQUEST", "VERSION", "FORMAT", "TRANSPARENT", "CRS", "DPI", "TEMPLATE", "map0:EXTENT", "map0:SCALE", …] - Error: Print requests 1 → wrong length list : Got : 14 items With : SERVICE, REQUEST, VERSION, FORMAT, TRANSPARENT, CRS, DPI, TEMPLATE, map0:EXTENT, map0:SCALE, map0:LAYERS, map0:STYLES, map0:OPACITIES, simple_label To have: 15 items Debug : SERVICE, REQUEST, VERSION, FORMAT, TRANSPARENT, CRS, DPI, TEMPLATE, map0:EXTENT, map0:SCALE, map0:LAYERS, map0:STYLES, map0:OPACITIES, simple_label Debug count : 14 items expect(received).toHaveLength(expected) Expected length: 15 Received length: 14 Received array: ["SERVICE", "REQUEST", "VERSION", "FORMAT", "TRANSPARENT", "CRS", "DPI", "TEMPLATE", "map0:EXTENT", "map0:SCALE", …] at expectToHaveLengthCompare (/home/runner/work/lizmap-web-client/lizmap-web-client/tests/end2end/playwright/globals.js:238:7) at /home/runner/work/lizmap-web-client/lizmap-web-client/tests/end2end/playwright/print.spec.js:728:15
E2E QGIS 3.40 PG 17-3 PHP 8.3: tests/end2end/playwright/print.spec.js#L0
Print requests with filter: Error: Print requests with filter → wrong length list : Got : 15 items With : SERVICE, REQUEST, VERSION, FORMAT, TRANSPARENT, CRS, DPI, TEMPLATE, map0:EXTENT, map0:SCALE, map0:LAYERS, map0:STYLES, map0:OPACITIES, FILTERTOKEN, simple_label To have: 16 items Debug : SERVICE, REQUEST, VERSION, FORMAT, TRANSPARENT, CRS, DPI, TEMPLATE, map0:EXTENT, map0:SCALE, map0:LAYERS, map0:STYLES, map0:OPACITIES, simple_label, FILTERTOKEN Debug count : 15 items expect(received).toHaveLength(expected) Expected length: 16 Received length: 15 Received array: ["SERVICE", "REQUEST", "VERSION", "FORMAT", "TRANSPARENT", "CRS", "DPI", "TEMPLATE", "map0:EXTENT", "map0:SCALE", …] - Error: Print requests with filter → wrong length list : Got : 15 items With : SERVICE, REQUEST, VERSION, FORMAT, TRANSPARENT, CRS, DPI, TEMPLATE, map0:EXTENT, map0:SCALE, map0:LAYERS, map0:STYLES, map0:OPACITIES, FILTERTOKEN, simple_label To have: 16 items Debug : SERVICE, REQUEST, VERSION, FORMAT, TRANSPARENT, CRS, DPI, TEMPLATE, map0:EXTENT, map0:SCALE, map0:LAYERS, map0:STYLES, map0:OPACITIES, simple_label, FILTERTOKEN Debug count : 15 items expect(received).toHaveLength(expected) Expected length: 16 Received length: 15 Received array: ["SERVICE", "REQUEST", "VERSION", "FORMAT", "TRANSPARENT", "CRS", "DPI", "TEMPLATE", "map0:EXTENT", "map0:SCALE", …] at expectToHaveLengthCompare (/home/runner/work/lizmap-web-client/lizmap-web-client/tests/end2end/playwright/globals.js:238:7) at /home/runner/work/lizmap-web-client/lizmap-web-client/tests/end2end/playwright/print.spec.js:337:15
E2E QGIS 3.40 PG 17-3 PHP 8.3: tests/end2end/playwright/print.spec.js#L0
Print requests with selection: Error: Print requests with selection → wrong length list : Got : 15 items With : SERVICE, REQUEST, VERSION, FORMAT, TRANSPARENT, CRS, DPI, TEMPLATE, map0:EXTENT, map0:SCALE, map0:LAYERS, map0:STYLES, map0:OPACITIES, SELECTIONTOKEN, simple_label To have: 16 items Debug : SERVICE, REQUEST, VERSION, FORMAT, TRANSPARENT, CRS, DPI, TEMPLATE, map0:EXTENT, map0:SCALE, map0:LAYERS, map0:STYLES, map0:OPACITIES, simple_label, SELECTIONTOKEN Debug count : 15 items expect(received).toHaveLength(expected) Expected length: 16 Received length: 15 Received array: ["SERVICE", "REQUEST", "VERSION", "FORMAT", "TRANSPARENT", "CRS", "DPI", "TEMPLATE", "map0:EXTENT", "map0:SCALE", …] - Error: Print requests with selection → wrong length list : Got : 15 items With : SERVICE, REQUEST, VERSION, FORMAT, TRANSPARENT, CRS, DPI, TEMPLATE, map0:EXTENT, map0:SCALE, map0:LAYERS, map0:STYLES, map0:OPACITIES, SELECTIONTOKEN, simple_label To have: 16 items Debug : SERVICE, REQUEST, VERSION, FORMAT, TRANSPARENT, CRS, DPI, TEMPLATE, map0:EXTENT, map0:SCALE, map0:LAYERS, map0:STYLES, map0:OPACITIES, simple_label, SELECTIONTOKEN Debug count : 15 items expect(received).toHaveLength(expected) Expected length: 16 Received length: 15 Received array: ["SERVICE", "REQUEST", "VERSION", "FORMAT", "TRANSPARENT", "CRS", "DPI", "TEMPLATE", "map0:EXTENT", "map0:SCALE", …] at expectToHaveLengthCompare (/home/runner/work/lizmap-web-client/lizmap-web-client/tests/end2end/playwright/globals.js:238:7) at /home/runner/work/lizmap-web-client/lizmap-web-client/tests/end2end/playwright/print.spec.js:286:15
E2E QGIS 3.40 PG 17-3 PHP 8.3: tests/end2end/playwright/print.spec.js#L0
Print requests: Error: Print requests → wrong length list : Got : 14 items With : SERVICE, REQUEST, VERSION, FORMAT, TRANSPARENT, CRS, DPI, TEMPLATE, map0:EXTENT, map0:SCALE, map0:LAYERS, map0:STYLES, map0:OPACITIES, simple_label To have: 15 items Debug : SERVICE, REQUEST, VERSION, FORMAT, TRANSPARENT, CRS, DPI, TEMPLATE, map0:EXTENT, map0:SCALE, map0:LAYERS, map0:STYLES, map0:OPACITIES, simple_label Debug count : 14 items expect(received).toHaveLength(expected) Expected length: 15 Received length: 14 Received array: ["SERVICE", "REQUEST", "VERSION", "FORMAT", "TRANSPARENT", "CRS", "DPI", "TEMPLATE", "map0:EXTENT", "map0:SCALE", …] - Error: Print requests → wrong length list : Got : 14 items With : SERVICE, REQUEST, VERSION, FORMAT, TRANSPARENT, CRS, DPI, TEMPLATE, map0:EXTENT, map0:SCALE, map0:LAYERS, map0:STYLES, map0:OPACITIES, simple_label To have: 15 items Debug : SERVICE, REQUEST, VERSION, FORMAT, TRANSPARENT, CRS, DPI, TEMPLATE, map0:EXTENT, map0:SCALE, map0:LAYERS, map0:STYLES, map0:OPACITIES, simple_label Debug count : 14 items expect(received).toHaveLength(expected) Expected length: 15 Received length: 14 Received array: ["SERVICE", "REQUEST", "VERSION", "FORMAT", "TRANSPARENT", "CRS", "DPI", "TEMPLATE", "map0:EXTENT", "map0:SCALE", …] at expectToHaveLengthCompare (/home/runner/work/lizmap-web-client/lizmap-web-client/tests/end2end/playwright/globals.js:238:7) at /home/runner/work/lizmap-web-client/lizmap-web-client/tests/end2end/playwright/print.spec.js:89:15
E2E QGIS 3.40 PG 17-3 PHP 8.3: tests/end2end/playwright/project_load_warning.spec.js#L0
Visit map with a warning: Error: expect.toBeVisible: Error: strict mode violation: locator('#lizmap-warning-message') resolved to 2 elements: 1) <div role="alert" data-alert="alert" id="lizmap-warning-message" class="alert alert-info alert-dismissible fade show">…</div> aka getByRole('alert').filter({ hasText: 'The project has been recently' }) 2) <div role="alert" data-alert="alert" id="lizmap-warning-message" class="alert alert-info alert-dismissible fade show">…</div> aka getByRole('alert').filter({ hasText: 'Some layers are in the WMS' }) Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('#lizmap-warning-message') - Error: expect.toBeVisible: Error: strict mode violation: locator('#lizmap-warning-message') resolved to 2 elements: 1) <div role="alert" data-alert="alert" id="lizmap-warning-message" class="alert alert-info alert-dismissible fade show">…</div> aka getByRole('alert').filter({ hasText: 'The project has been recently' }) 2) <div role="alert" data-alert="alert" id="lizmap-warning-message" class="alert alert-info alert-dismissible fade show">…</div> aka getByRole('alert').filter({ hasText: 'Some layers are in the WMS' }) Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('#lizmap-warning-message') at /home/runner/work/lizmap-web-client/lizmap-web-client/tests/end2end/playwright/project_load_warning.spec.js:16:50
E2E QGIS 3.40 PG 17-3 PHP 8.3: tests/end2end/playwright/axis_orientation.spec.js#L0
Axis Orientation NEU for EPSG:3844: Test timeout of 30000ms exceeded. - Test timeout of 30000ms exceeded.
E2E QGIS 3.40 PG 17-3 PHP 8.3
Process completed with exit code 1.
E2E QGIS 3.40 PG 17-3 PHP 8.3
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
BLEEDING_EDGE-DB-diff-read-only
154 Bytes
BLEEDING_EDGE-E2E-all-logs
1.57 MB
BLEEDING_EDGE-cypress-screenshots
453 KB
BLEEDING_EDGE-playwright-report
2.35 KB
LEGACY-DB-diff-read-only
154 Bytes
LEGACY-E2E-all-logs
1.55 MB
LEGACY-playwright-report
2.36 KB