Skip to content

Do not allow to push it.only() tests #579

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Dec 14, 2023
Merged

Do not allow to push it.only() tests #579

merged 6 commits into from
Dec 14, 2023

Conversation

ltshb
Copy link
Contributor

@ltshb ltshb commented Dec 12, 2023

@ltshb ltshb requested a review from pakb December 13, 2023 03:47
@ltshb ltshb changed the base branch from feat-test-link to develop December 13, 2023 06:26
@ltshb ltshb force-pushed the feat-no-it-only branch 2 times, most recently from 3e36bc1 to 3c4cca4 Compare December 13, 2023 07:51
Now the external wms and wmts don't use anymore the version and layer name
in url, so this make the e2e tests a bit more complex as we would need to
intercept getCapabilities. So for the moment remove the version and name test.
Make sure the GetCap are loaded and that the layer is not anymore in loading state.
This ease the debugging in case of error.
Technically an external WMS/WMTS server can be served by several aliases
(different hostnames or path). In this case if the user added the layer using
the alias2 and alias1 was specified as getCap URL in the Capabilities answer
of the server, the external layer could not be loaded properly because the
alias2 was used in our URL param and alias1 was used to search for the active
layer which results in active layer not found.

To avoid such issue keep the original url as get cap url.
@ltshb ltshb merged commit 5d93ad3 into develop Dec 14, 2023
@ltshb ltshb deleted the feat-no-it-only branch December 14, 2023 07:12
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