File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ public function __construct($config)
3131
3232 private function init ()
3333 {
34+ $ this ->debug ("Initializing VisualCeptionReportt " );
35+
3436 $ this ->logFile = \Codeception \Configuration::logDir () . 'vcresult.html ' ;
3537
3638 if (array_key_exists ('templateVars ' , $ this ->config )) {
@@ -42,8 +44,6 @@ private function init()
4244 } else {
4345 $ this ->templateFile = __DIR__ . "/report/template.php " ;
4446 }
45-
46-
4747 }
4848
4949 public function _beforeSuite ()
@@ -53,6 +53,8 @@ public function _beforeSuite()
5353 }
5454
5555 $ this ->referenceImageDir = $ this ->getModule ("VisualCeption " )->getReferenceImageDir ();
56+
57+ $ this ->debug ( "VisualCeptionReporter: templateFile = " . $ this ->templateFile );
5658 }
5759
5860 public function _afterSuite ()
@@ -67,6 +69,7 @@ public function _afterSuite()
6769 $ reportContent = ob_get_contents ();
6870 ob_clean ();
6971
72+ $ this ->debug ("Trying to store file ( " .$ this ->logFile .") " );
7073 file_put_contents ($ this ->logFile , $ reportContent );
7174 }
7275
You can’t perform that action at this time.
0 commit comments