Skip to content

PB-293: Corrected external layer order at startup and improve a bit performance#652

Merged
ltshb merged 3 commits intodevelopfrom
bug-PB-293-ext-layer-order
Feb 22, 2024
Merged

PB-293: Corrected external layer order at startup and improve a bit performance#652
ltshb merged 3 commits intodevelopfrom
bug-PB-293-ext-layer-order

Conversation

@ltshb
Copy link
Contributor

@ltshb ltshb commented Feb 21, 2024

The external layers were always put at the top during startup even if they
were in the middle of the layers parameter.

Test link

@github-actions github-actions bot added the bug label Feb 21, 2024
@ltshb ltshb force-pushed the bug-PB-293-ext-layer-order branch from 457189d to b56dd0e Compare February 21, 2024 15:22
@ltshb ltshb requested a review from pakb February 21, 2024 15:23
@cypress
Copy link

cypress bot commented Feb 21, 2024

Passing run #678 ↗︎

0 176 21 0 Flakiness 0

Details:

PB-293: Fixing E2E test
Project: web-mapviewer Commit: 935256dde6
Status: Passed Duration: 05:08 💡
Started: Feb 22, 2024 7:52 AM Ended: Feb 22, 2024 7:58 AM

Review all test suite changes for PR #652 ↗︎

@ltshb ltshb force-pushed the bug-PB-293-ext-layer-order branch 2 times, most recently from 3ac2f5c to 5ca0a04 Compare February 22, 2024 05:09
…erformance

The external layers were always put at the top during startup even if they
were in the middle of the layers parameter.
@ltshb ltshb force-pushed the bug-PB-293-ext-layer-order branch from 5ca0a04 to 1dff096 Compare February 22, 2024 05:44
Changed the order of the expected query parameter in legacy test.

In external wmts layer, somehow the Get capabilites are called twice at startup
which made the test failing because the second wait on capabilities when
reloading did not wait due to previous request.

In a separate PR we should investigate why the get capabilities is called twice.
Comment on lines +18 to +23
if (layer.visible != undefined) {
clone.visible = layer.visible
}
if (layer.opacity != undefined) {
clone.opacity = layer.opacity
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!= => !== 😉

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No I want != in order to also catch !== null 😉

@ltshb ltshb merged commit f7dcb8b into develop Feb 22, 2024
@ltshb ltshb deleted the bug-PB-293-ext-layer-order branch February 22, 2024 10:51
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.

2 participants