Skip to content

Issue #814 - Fix screenshot xml parsing in issue reporter

Adilson Sandoval requested to merge issue-814 into release-2019-3.2

This MR includes the following:

  • [1] Add a new case for asIndentedString parser:
    • If there's only one node child and it's of text type, it should be kept in the same line as it's parent tags. Example: <a>foo<b>text</b></a> should be parsed as
      <a>
        foo
        <b>text</b>
      </a>
  • Adjust dom unit test to previous format.

[1] We need this, because our submit-report server is not capable to recognize screenshot element when it has breaking lines and indentation in its content as format.

Merge request reports