The images of a layout check (actual, difference and expected) were wrongly assigned when one or multiple layout checks were performed in one testcase using CONTROL.collectAssertions with the LayoutCheck methods assertScreenshot or assertImage. The wrong linking of the layoutCheckContext and the errorContext could even happen if the layout check itself was passed.
Description
The images of a layout check (actual, difference and expected) were wrongly assigned when one or multiple layout checks were performed in one testcase using
CONTROL.collectAssertions
with theLayoutCheck
methodsassertScreenshot
orassertImage
. The wrong linking of thelayoutCheckContext
and theerrorContext
could even happen if the layout check itself was passed.Example:
Report:
Type of change
Checklist: