Skip to content

[Backport release_3_10] Fix print layout order to respect cfg configuration#6639

Merged
rldhont merged 1 commit intorelease_3_10from
backport-6635-to-release_3_10
Mar 13, 2026
Merged

[Backport release_3_10] Fix print layout order to respect cfg configuration#6639
rldhont merged 1 commit intorelease_3_10from
backport-6635-to-release_3_10

Conversation

@3liz-bot
Copy link
Copy Markdown
Contributor

Backport #6635
Authored by: @meyerlor

printTemplates was built by iterating printCapabilities in QGIS XML
order, ignoring the user-configured order in layouts.list from the
cfg file. Since the frontend matches these arrays by index, the print
dropdown showed layouts in QGIS's internal order instead of the order
set in the Lizmap plugin.

Reorder printTemplates to match the layouts.list order from the cfg.

Update E2E tests: reorder layouts in test cfg so print_overview
precedes print_map (differs from QGIS XML order), and tighten
template assertions from toContainText to toHaveText to verify
the dropdown respects the cfg-defined order.
@github-actions github-actions Bot added this to the 3.10.0 milestone Mar 13, 2026
@3liz-bot
Copy link
Copy Markdown
Contributor Author

3liz-bot commented Mar 13, 2026

All Playwright tests LEGACY

Summary

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
527 524 1 2 0 7 15m 27s

Failed Tests

Failed Tests ❌ Fail Message

Flaky Tests

Flaky Tests 🍂 Retries
Bakeries 1
Should select / filter / refresh without map interaction 1
#4 Layer export with user_in_group_b user logged in 1
Popup with map click & attribute table 1
Catch GetLegendGraphic requests and timeout on GetLegendGraphic with multi layers 1
Switcher from map to map 1
Build permalink, reload and apply one 1

Flaky Rate

Overall Flakiness 1.31%    ±0
Test 📝 Flaky Attempts 🍂 Total Attempts 🎯 Flaky Rate (%) 📈
Bakeries 1 2 50.00    ↑50.00
Should select / filter / refresh without map interaction 1 2 50.00    ↑50.00
Catch GetLegendGraphic requests and timeout on GetLegendGraphic with multi layers 1 2 50.00    ↑50.00
Switcher from map to map 1 2 50.00    ↑50.00
Build permalink, reload and apply one 1 2 50.00    ↑50.00
#4 Layer export with user_in_group_b user logged in 1 3 33.33    ↑33.33
#4 Layer export with user_in_group_b user logged in 1 3 33.33    ↑33.33
Popup with map click & attribute table 1 4 25.00    ↑25.00
Popup with map click & attribute table 1 4 25.00    ↑25.00
Popup with map click & attribute table 1 4 25.00    ↑25.00

Github Test Reporter by CTRF 💚


All Playwright tests BLEEDING_EDGE

Summary

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
527 524 1 2 0 4 15m 17s

Failed Tests

Failed Tests ❌ Fail Message

Flaky Tests

Flaky Tests 🍂 Retries
WFS GetFeature TYPENAME 1
Popup with map click & attribute table 1
Switcher from map to map 1
Build permalink, reload and apply one 1

Flaky Rate

Overall Flakiness 0.75%    ±0
Test 📝 Flaky Attempts 🍂 Total Attempts 🎯 Flaky Rate (%) 📈
WFS GetFeature TYPENAME 1 2 50.00    ↑50.00
Switcher from map to map 1 2 50.00    ↑50.00
Build permalink, reload and apply one 1 2 50.00    ↑50.00
Popup with map click & attribute table 1 4 25.00    ↑25.00
Popup with map click & attribute table 1 4 25.00    ↑25.00
Popup with map click & attribute table 1 4 25.00    ↑25.00

Github Test Reporter by CTRF 💚

@rldhont rldhont merged commit 3f5a807 into release_3_10 Mar 13, 2026
18 checks passed
@rldhont rldhont deleted the backport-6635-to-release_3_10 branch March 13, 2026 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants