Skip to content
Snippets Groups Projects
Commit f40df5aa authored by Tasneem Natshah's avatar Tasneem Natshah
Browse files

Issue #3363232: Add Bootstrap HTML Reports Export Format

parent e0282b6c
No related branches found
No related tags found
No related merge requests found
......@@ -358,6 +358,9 @@ So that I know it is working
if ($this->fileSystem->prepareDirectory($html_report_dir, FileSystemInterface::CREATE_DIRECTORY)) {
$command = "cd $config_path; yarn nightwatch $html_report_format";
if ($html_report_formatter != "html") {
$command .= "; node generate-reports.js";
}
}
else {
$this->messenger->addError($this->t('The HTML Output directory does not exists or is not writable.'));
......@@ -376,7 +379,7 @@ So that I know it is working
$log_report_output_file = $log_report_dir . '/cucumber-ui-test.log';
$command = "cd $config_path; yarn nightwatch $html_report_format";
if ($html_report_formatter != "html") {
$command .= "; yarn report";
$command .= "; node generate-reports.js";
}
}
else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment