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

Issue #3358926: Change "Run >>" button command to use Nightwatch and nodejs commands

parent dc6a6b89
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
......@@ -169,7 +169,7 @@ class CucumberUiRunTests extends FormBase {
if (isset($log_report_dir) && $log_report_dir != '') {
$log_report_output = $log_report_dir . '/bethat-ui-test.log';
$log_report_output = $log_report_dir . '/cucumber-ui-test.log';
if ($log_report_output && file_exists($log_report_output)) {
$log_report_output_content = nl2br(htmlentities(file_get_contents($log_report_output)));
$form['cucumber_ui_output'] = [
......@@ -248,7 +248,7 @@ class CucumberUiRunTests extends FormBase {
if (isset($log_report_dir) && $log_report_dir != '') {
if ($this->fileSystem->prepareDirectory($log_report_dir, FileSystemInterface::CREATE_DIRECTORY)) {
$log_report_output_file = $log_report_dir . "/bethat-ui-test.log";
$log_report_output_file = $log_report_dir . "/cucumber-ui-test.log";
$command = "cd $config_path;$bin_path --config=$config_file $features_path --format pretty --out std > $log_report_output_file&";
}
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