Skip to content

Commit

Permalink
Merge pull request #1638 from magento-pangolin/bug-fixes-develop
Browse files Browse the repository at this point in the history
[Pangolin] Fix Robo command error in acceptance tests
  • Loading branch information
okolesnyk authored Oct 30, 2017
2 parents 07ed4b2 + 07f8b4f commit 840d914
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions dev/tests/acceptance/RoboFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class RoboFile extends \Robo\Tasks
use Robo\Task\Base\loadShortcuts;

/**
* Duplicate the Example configuration files used to customize the Project for customization
* Duplicate the Example configuration files used to customize the Project for customization.
*
* @return void
*/
Expand All @@ -26,8 +26,8 @@ function cloneFiles()
}

/**
* Clone the Example configuration files
* Build the Codeception project
* Duplicate the Example configuration files for the Project.
* Build the Codeception project.
*
* @return void
*/
Expand All @@ -38,9 +38,9 @@ function buildProject()
}

/**
* Generate all Tests command.
* Generate all Tests in PHP.
*
* @param string[] $opts
* @param array $opts
* @return void
*/
function generateTests($opts = ['config' => null, 'env' => 'chrome'])
Expand All @@ -51,11 +51,11 @@ function generateTests($opts = ['config' => null, 'env' => 'chrome'])
}

/**
* Generate a suite based on name(s) passed in as args
* Generate a suite based on name(s) passed in as args.
*
* @param string[] args
* @return void
* @param array $args
* @throws Exception
* @return void
*/
function generateSuite(array $args)
{
Expand All @@ -72,7 +72,7 @@ function generateSuite(array $args)
}

/**
* Run all Functional tests using the Chrome environment
* Run all Functional tests using the Chrome environment.
*
* @return void
*/
Expand All @@ -82,7 +82,7 @@ function chrome()
}

/**
* Run all Functional tests using the FireFox environment
* Run all Functional tests using the FireFox environment.
*
* @return void
*/
Expand All @@ -92,7 +92,7 @@ function firefox()
}

/**
* Run all Functional tests using the PhantomJS environment
* Run all Functional tests using the PhantomJS environment.
*
* @return void
*/
Expand All @@ -102,7 +102,7 @@ function phantomjs()
}

/**
* Run all Functional tests using the Chrome Headless environment
* Run all Functional tests using the Chrome Headless environment.
*
* @return void
*/
Expand All @@ -112,7 +112,7 @@ function headless()
}

/**
* Run all Tests with the specified @group tag, excluding @group 'skip', using the Chrome environment
* Run all Tests with the specified @group tag, excluding @group 'skip', using the Chrome environment.
*
* @param string $args
* @return void
Expand All @@ -123,7 +123,7 @@ function group($args = '')
}

/**
* Run all Functional tests located under the Directory Path provided using the Chrome environment
* Run all Functional tests located under the Directory Path provided using the Chrome environment.
*
* @param string $args
* @return void
Expand All @@ -134,7 +134,7 @@ function folder($args = '')
}

/**
* Run all Tests marked with the @group tag 'example', using the Chrome environment
* Run all Tests marked with the @group tag 'example', using the Chrome environment.
*
* @return void
*/
Expand All @@ -146,7 +146,7 @@ function example()
/**
* Generate the HTML for the Allure report based on the Test XML output - Allure v1.4.X
*
* @return void
* @return \Robo\Result
*/
function allure1Generate()
{
Expand All @@ -156,15 +156,15 @@ function allure1Generate()
/**
* Generate the HTML for the Allure report based on the Test XML output - Allure v2.3.X
*
* @return void
* @return \Robo\Result
*/
function allure2Generate()
{
return $this->_exec('allure generate tests/_output/allure-results/ --output tests/_output/allure-report/ --clean');
}

/**
* Open the HTML Allure report - Allure v1.4.xX
* Open the HTML Allure report - Allure v1.4.X
*
* @return void
*/
Expand Down Expand Up @@ -212,7 +212,7 @@ function allure2Report()
}

/**
* Run the Pre-Install Check Script
* Run the Pre-Install system check script.
*
* @return void
*/
Expand Down

0 comments on commit 840d914

Please sign in to comment.