Skip to content

Commit b693cc1

Browse files
more debugging
1 parent 365e414 commit b693cc1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/lib/Browser/Context/DebuggingContext.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,11 @@ private function takeScreenshot(AfterStepScope $scope): string
115115
{
116116
$screenshotDir = getenv('GITHUB_WORKSPACE') ? getenv('GITHUB_WORKSPACE') . '/behat-output' : 'behat-output';
117117
$workspace = getenv('GITHUB_WORKSPACE') ?: getcwd();
118-
$this->logger->debug(sprintf('GITHUB_WORKSPACE: %s', $workspace));
118+
$this->logger->error(sprintf('GITHUB_WORKSPACE: %s', $workspace));
119+
$this->logger->info(sprintf('GITHUB_WORKSPACE: %s', $workspace));
119120
$this->logger->error(sprintf('Screenshot dir should be: %s', $screenshotDir));
120121

122+
121123
if (!is_dir($screenshotDir)) {
122124
mkdir($screenshotDir, 0777, true);
123125
}

0 commit comments

Comments
 (0)