@@ -29,6 +29,8 @@ foreach ($browser['scenarios'] as $name => $entry) {
|
||||
}
|
||||
DB::rollBack();
|
||||
$file = $directory.'/visual-persistence-qa.json';
|
||||
if (is_file($file)) copy($file, $directory.'/visual-persistence-qa-'.gmdate('Ymd_His').'.json');
|
||||
if (is_file($file)) {
|
||||
copy($file, $directory.'/visual-persistence-qa-'.gmdate('Ymd_His').'.json');
|
||||
}
|
||||
file_put_contents($file, json_encode($proof, JSON_PRETTY_PRINT | JSON_THROW_ON_ERROR));
|
||||
echo json_encode($proof, JSON_PRETTY_PRINT | JSON_THROW_ON_ERROR).PHP_EOL;
|
||||
|
||||
Reference in New Issue
Block a user