Skip to content
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

Tests - Add E2E test about user defined JavaScript warning #4784

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

Gustry
Copy link
Member

@Gustry Gustry commented Sep 24, 2024

Follow up from #4776

This test project was not used for loading the map, only on the landing page. I just added a layer in the project, to not have an empty tree view.

But the E2E test was expecting to have an empty tree view if there is an error (because we did only some fake 500 error on GetCapabilities @rldhont ?)

Not an administrator

image

As administrator

image

@Gustry
Copy link
Member Author

Gustry commented Sep 27, 2024

@nworr I have displayed the developer hint only if no additionnal JS were loaded. Maybe it would have been better with checking the flag ? Still not 100% convinced, but I think it's a small hint to display. @mdouchin ?

But I don't know, the E2E is failing on CI, not on local.
And the link to "Maps management" is now undefined : http://localhost:8130/index.php/view/undefined

@Gustry Gustry merged commit b1b811b into 3liz:master Sep 30, 2024
13 checks passed
@Gustry Gustry deleted the javascript-test branch September 30, 2024 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run end2end If the PR must run end2end tests or not
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants