Skip to content

[Backport release_3_9] Fix print layout order to respect cfg configuration#6638

Merged
rldhont merged 1 commit intorelease_3_9from
backport-6635-to-release_3_9
Mar 13, 2026
Merged

[Backport release_3_9] Fix print layout order to respect cfg configuration#6638
rldhont merged 1 commit intorelease_3_9from
backport-6635-to-release_3_9

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.9.7 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 ⏱️
491 486 0 5 0 3 14m 39s

Flaky Tests

Flaky Tests 🍂 Retries
Move geom and update select with a QGIS expression 1
Catch GetLegendGraphic requests and timeout on GetLegendGraphic with multi layers 1
Build permalink, reload and apply one 1

Flaky Rate

Overall Flakiness 0.61%    ±0
Test 📝 Flaky Attempts 🍂 Total Attempts 🎯 Flaky Rate (%) 📈
Move geom and update select with a QGIS expression 1 2 50.00    ↑50.00
Catch GetLegendGraphic requests and timeout on GetLegendGraphic with multi layers 1 2 50.00    ↑50.00
Build permalink, reload and apply one 1 2 50.00    ↑50.00

🎉 No failed tests in this run.

Github Test Reporter by CTRF 💚


All Playwright tests LTR

Summary

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
491 489 0 2 0 5 15m 1s

Flaky Tests

Flaky Tests 🍂 Retries
WFS GetFeature shop_bakery for admin 1
Should select / filter / refresh without map interaction 1
Length and angle constraints 1
Catch GetLegendGraphic requests and timeout on GetLegendGraphic with multi layers 1
Build permalink, reload and apply one 1

Flaky Rate

Overall Flakiness 1.01%    ±0
Test 📝 Flaky Attempts 🍂 Total Attempts 🎯 Flaky Rate (%) 📈
WFS GetFeature shop_bakery for admin 1 2 50.00    ↑50.00
Should select / filter / refresh without map interaction 1 2 50.00    ↑50.00
Length and angle constraints 1 2 50.00    ↑50.00
Catch GetLegendGraphic requests and timeout on GetLegendGraphic with multi layers 1 2 50.00    ↑50.00
Build permalink, reload and apply one 1 2 50.00    ↑50.00

🎉 No failed tests in this run.

Github Test Reporter by CTRF 💚


All Playwright tests BLEEDING_EDGE

Summary

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
491 489 0 2 0 6 15m 20s

Flaky Tests

Flaky Tests 🍂 Retries
WFS GetFeature shop_bakery_pg for admin 1
WFS GetFeature townhalls_EPSG2154 for admin 1
WFS GetFeature random_points 1
Data restriction and refresh button behaviour 1
Catch GetLegendGraphic requests and timeout on GetLegendGraphic with multi layers 1
Build permalink, reload and apply one 1

Flaky Rate

Overall Flakiness 1.21%    ±0
Test 📝 Flaky Attempts 🍂 Total Attempts 🎯 Flaky Rate (%) 📈
WFS GetFeature shop_bakery_pg for admin 1 2 50.00    ↑50.00
WFS GetFeature townhalls_EPSG2154 for admin 1 2 50.00    ↑50.00
WFS GetFeature random_points 1 2 50.00    ↑50.00
Data restriction and refresh button behaviour 1 2 50.00    ↑50.00
Catch GetLegendGraphic requests and timeout on GetLegendGraphic with multi layers 1 2 50.00    ↑50.00
Build permalink, reload and apply one 1 2 50.00    ↑50.00

🎉 No failed tests in this run.

Github Test Reporter by CTRF 💚

@rldhont rldhont merged commit 2cb3323 into release_3_9 Mar 13, 2026
21 checks passed
@rldhont rldhont deleted the backport-6635-to-release_3_9 branch March 13, 2026 16:33
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