3liz / lizmap-web-client

Transfer a QGIS project on a server, Lizmap is providing the web interface to browse it
https://www.lizmap.com
Mozilla Public License 2.0
248 stars 141 forks source link

Fix: project-background-color group as startup base layer #4516

Closed rldhont closed 2 weeks ago

rldhont commented 2 weeks ago

Completes https://github.com/3liz/lizmap-web-client/pull/4435 by fixing and testing that project-background-color group will be the startup base layer

rldhont commented 2 weeks ago

Linked to https://github.com/3liz/lizmap-web-client/pull/4367 and https://github.com/3liz/lizmap-web-client/pull/4319

rldhont commented 2 weeks ago

@Gustry I have fixed e2e tests by moving WMS/WMTS layers from demo.lizmap.com to liz.lizmap.com

Gustry commented 2 weeks ago

Thanks for the fix. Unfortunetaly, it was enough to fix E2E tests

   2) [end2end] › theme.spec.js:92:9 › Theme › must display theme4 when selected ────────────────────

    Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected)

    Locator: locator('lizmap-base-layers select')
    Expected string: "OpenStreetMap"
    Received string: "project-background-color"

on PR #4367 https://github.com/3liz/lizmap-web-client/actions/runs/9513791364/job/26224604488?pr=4367

Feel free to include temporary this commit to try, or to push on my branch.