set chrome

This commit is contained in:
Jelle Kok 2017-08-23 18:24:49 +02:00
parent 7f74e57498
commit fe33842e2f
2 changed files with 13 additions and 3 deletions

View File

@ -200,7 +200,7 @@ class RoboFile extends \Robo\Tasks
}
}
$exclude = ['tests', 'tests-phpunit', '.run', '.github', '.git', '.drone', 'docs', 'src'];
$exclude = ['tests', 'tests-phpunit', '.run', '.github', '.git', '.drone', 'docs', 'src', 'cache'];
$this->copyJoomla($this->cmsPath, $exclude);
@ -210,7 +210,7 @@ class RoboFile extends \Robo\Tasks
$this->_exec('chown -R ' . $this->configuration->localUser . ' ' . $this->cmsPath);
}
$this->_copy('dist/pkg-weblinks-current.zip', $this->cmsPath . "/pkg-weblinks-current.zip");
$this->_copy('dist/pkg-weblinks-current.zip', "tests/_data/pkg-weblinks-current.zip");
// Optionally uses Joomla default htaccess file. Used by TravisCI
if ($useHtaccess == true)
@ -627,5 +627,15 @@ class RoboFile extends \Robo\Tasks
return "git clone -b $branch --single-branch --depth 1 https://github.com/joomla/joomla-cms.git " . $this->testsPath . "cache";
}
/**
* Update Version __DEPLOY_VERSION__ in Weblinks. (Set the version up in the jorobo.ini)
*
* @return void
*/
public function bump()
{
(new \Joomla\Jorobo\Tasks\BumpVersion())->run();
}
}

View File

@ -13,7 +13,7 @@ modules:
config:
JoomlaBrowser:
url: 'http://localhost/tests/joomla' # the url that points to the joomla installation at /tests/system/joomla-cms
browser: 'firefox'
browser: 'chrome'
window_size: 1280x1024
username: 'admin' # UserName for the Administrator
password: 'admin' # Password for the Administrator