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

Diff in report HTML is affected by outer indentation of report XML #367

Closed
AirQuick opened this issue Sep 13, 2018 · 0 comments · Fixed by #375
Closed

Diff in report HTML is affected by outer indentation of report XML #367

AirQuick opened this issue Sep 13, 2018 · 0 comments · Fixed by #375
Labels

Comments

@AirQuick
Copy link
Member

<x:scenario label="Test">
	<x:call function="exactly-one">
		<x:param>
			<test>
				<elem1>foo<bar /></elem1>
				<elem2>foo<?bar?></elem2>
			</test>
		</x:param>
	</x:call>
	<x:expect label="Fail deliberately">
		<test>
			<elem1><!--foo--><bar /></elem1>
			<elem2><!--foo--><?bar?></elem2>
		</test>
	</x:expect>
</x:scenario>

In the failure report HTML, the results are depicted as:
cap

<bar /> should be green in the same way as <?bar?>.

@AirQuick AirQuick added the bug label Sep 13, 2018
@AirQuick AirQuick changed the title Diff in report HTML is affected by indentation of report XML Diff in report HTML is affected by outer indentation of report XML Sep 15, 2018
AirQuick added a commit that referenced this issue Mar 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant