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

Issue #3366680: Add some other HTML formats for the report

parent aa261253
No related branches found
Tags 1.0.2
No related merge requests found
......@@ -321,7 +321,7 @@ Feature: Default festing feature
$html_report = $config->get('html_report');
$html_report_dir = $config->get('html_report_dir');
$html_report_formatter = $config->get('html_report_formatter');
$html_report_formatter = $config->get('html_report_format');
if ($html_report_formatter == "html") {
$html_report_format = " --format $html_report_formatter:" . $html_report_dir . "/index.html";
}
......
......@@ -100,7 +100,7 @@ class CucumberUiSettings extends ConfigFormBase
'#default_value' => $config->get('html_report_dir'),
];
$form['html_report_formatter'] = [
$form['html_report_format'] = [
'#title' => $this->t('HTML report format'),
'#description' => $this->t('The report HTML formatter list.'),
'#type' => 'select',
......@@ -110,7 +110,7 @@ class CucumberUiSettings extends ConfigFormBase
'foundation' => $this->t('Foundation HTML formatter'),
'simple' => $this->t('Simple HTML formatter'),
],
'#default_value' => $config->get('html_report_formatter'),
'#default_value' => $config->get('html_report_format'),
'#suffix' => '</div></div>',
];
......
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