Issue #814 - Fix screenshot xml parsing in issue reporter
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>
- 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:
- 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.