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

demo: restore tests of enableLevelOfDetail #146

Merged
merged 2 commits into from
Jan 15, 2025
Merged

Conversation

jonenst
Copy link
Collaborator

@jonenst jonenst commented Jan 14, 2025

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Does this PR already have an issue describing the problem?

NO

What kind of change does this PR introduce?

bugfix, restore demo tests

What is the current behavior?

no test for enablelevelofdetail

What is the new behavior (if this is a feature change)?
tests for enablelevelofdetail restored in demo

Does this PR introduce a breaking change or deprecate an API?

  • Yes
  • No

Other information:

spurious change from e79a67f

spurious change from e79a67f

Signed-off-by: Jon Harper <[email protected]>
Copy link
Contributor

@flo-dup flo-dup left a comment

Choose a reason for hiding this comment

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

Sorry I missed that! But wasn't the enableLevelOfDetail test inserted by mistake in this test? Indeed, this 6-node diagram with only 2 nominal voltages is not appropriate to test it.

Copy link
Contributor

@massimo-ferraro massimo-ferraro left a comment

Choose a reason for hiding this comment

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

Sorry, my fault for not explaining the change I did in the other PR. The problem is that setting this parameter value to true makes the edge info (e.g. the active power of the lines) disappear in all the demos (e.g. the first example, the Eurostag network, should have the active power shown). It happens only if you set this parameter to true in the last demo example, could it be set in another demo example?

Currently the dynamic css interferes with the other nads in the page, so
allow to reload the page with or without it so that we can still test it

Signed-off-by: HARPER Jon <[email protected]>
@jonenst
Copy link
Collaborator Author

jonenst commented Jan 15, 2025

added a simple system to reload the page with enablelevelofdetail=true

@flo-dup flo-dup merged commit 83abdf6 into main Jan 15, 2025
6 checks passed
@flo-dup flo-dup deleted the testenablelevelofdetail branch January 15, 2025 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants