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

Fix multiple bodies in JsTree output #186

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Commits on Feb 14, 2024

  1. Improve testing for multiple json-tree modules

    Previously, there was no test coverage for the output of multiple json-tree modules.
    To address this, this commit adds a new test that parses two modules and compares their
    combined output against the old expected output. This provides more comprehensive
    testing and ensures that the json-tree modules are correctly processing multiple inputs.
    
    JIRA:LIGHTY-221
    Signed-off-by: tobias.pobocik <[email protected]>
    Tobianas authored and ihrasko committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    318bccd View commit details
    Browse the repository at this point in the history
  2. Improve testing for JsTree format

    Added test case for generating HTML file from multiple modules to
    identify the issue with multiple <body> tags. The test asserts that
    the file contains the expected modules, verifies that there is only
    one <body> tag, and checks if the output matches the expected HTML file.
    
    JIRA: LIGHTY-182
    Signed-off-by: tobias.pobocik <[email protected]>
    Signed-off-by: Ivan Hrasko <[email protected]>
    Tobianas authored and ihrasko committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    a4fdb0e View commit details
    Browse the repository at this point in the history
  3. Fix multiple bodies in JsTree output

    Ensure JsTree output contains a single body element, resolving the
    issue of multiple bodies in the generated HTML file.
    
    JIRA: LIGHTY-128
    Signed-off-by: tobias.pobocik <[email protected]>
    Tobianas authored and ihrasko committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    e7db6fb View commit details
    Browse the repository at this point in the history
  4. Adjust the expected JsTree output

    Since we have changed the logic of JsTree, the expected
    output for deviations needs to be changed.
    
    JIRA: LIGHTY-128
    Signed-off-by: tobias.pobocik <[email protected]>
    Tobianas authored and ihrasko committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    4829bce View commit details
    Browse the repository at this point in the history