Skip to content

Commit 4b346d8

Browse files
author
Nils Langner
committed
Added new debug output for deviation
1 parent 41bb7da commit 4b346d8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

module/VisualCeption.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ private function getDeviation ($identifier, $elementID)
5353
unlink($this->getScreenshotPath($identifier));
5454

5555
$deviation = round($compareResult[1] * 100, 2);
56+
$this->debug("The deviation between the images is ". $deviation . " percent");
5657
return array ("deviation" => $deviation, "deviationImage" => $compareResult[0]);
5758
}
5859

test/integration/tests/acceptance/TimeComparisonCest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,4 @@ public function dontSeeVisualChanges (WebGuy $I, $scenario)
2626
$I->dontSeeVisualChanges("block", "#theblock");
2727
}
2828

29-
}
30-
29+
}

0 commit comments

Comments
 (0)