Skip to content

Commit 751557d

Browse files
imeron2433okolesnyk
authored andcommitted
MQE-813: Assist DevOps with creation of flag or command for returning test metadata to build
- update Robofile logic to include new node param
1 parent 183ab18 commit 751557d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/tests/acceptance/RoboFile.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function buildProject()
4343
* @param array $opts
4444
* @return void
4545
*/
46-
function generateTests($opts = ['config' => null, 'force' => false])
46+
function generateTests($opts = ['config' => null, 'force' => false, 'nodes' => null])
4747
{
4848
$GLOBALS['GENERATE_TESTS'] = true;
4949

@@ -53,7 +53,7 @@ function generateTests($opts = ['config' => null, 'force' => false])
5353
}
5454

5555
require 'tests'. DIRECTORY_SEPARATOR . 'functional' . DIRECTORY_SEPARATOR . '_bootstrap.php';
56-
\Magento\FunctionalTestingFramework\Util\TestGenerator::getInstance()->createAllTestFiles($opts['config']);
56+
\Magento\FunctionalTestingFramework\Util\TestGenerator::getInstance()->createAllTestFiles($opts['config'], $opts['nodes']);
5757
$this->say("Generate Tests Command Run");
5858
}
5959

0 commit comments

Comments
 (0)