Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Napoli <matthieu@mnapoli.fr>2015-05-22 11:48:51 +0300
committersgiehl <stefan@piwik.org>2016-08-31 19:49:43 +0300
commit395c40bd50ef19ae782c42952a07ec19d4c9b892 (patch)
treea197a496bec74a7b43030cd29ca8a99ed37ee1bc /plugins/TestRunner
parent025de644df80ec257c7cdea57b2442e78aa1a78a (diff)
ref #7726 Enable git-lfs for UI screenshots
Diffstat (limited to 'plugins/TestRunner')
-rw-r--r--plugins/TestRunner/Commands/SyncScreenshots.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/TestRunner/Commands/SyncScreenshots.php b/plugins/TestRunner/Commands/SyncScreenshots.php
index a2930edbcf..618e52b38f 100644
--- a/plugins/TestRunner/Commands/SyncScreenshots.php
+++ b/plugins/TestRunner/Commands/SyncScreenshots.php
@@ -47,7 +47,7 @@ class SyncScreenshots extends ConsoleCommand
$this->setName('tests:sync-ui-screenshots');
$this->setAliases(array('development:sync-ui-test-screenshots'));
$this->setDescription('For Piwik core devs. Copies screenshots '
- . 'from travis artifacts to the tests/UI/expected-ui-screenshots/ folder');
+ . 'from travis artifacts to the tests/UI/expected-screenshots/ folder');
$this->addArgument('buildnumber', InputArgument::REQUIRED, 'Travis build number you want to sync.');
$this->addArgument('screenshotsRegex', InputArgument::OPTIONAL,
'A regex to use when selecting screenshots to copy. If not supplied all screenshots are copied.', '.*');
@@ -149,7 +149,7 @@ git push";
$commands .= "
cd ..
git pull
-git add expected-ui-screenshots/
+git add expected-screenshots/
git status
git commit -m 'UI tests: ...' # Copy paste the good commit message
echo -e \"\n--> Check the commit above is correct... <---\n\"
@@ -169,10 +169,10 @@ cd ../../../../../";
$plugin = $this->getPluginName($repository);
if (empty($plugin)) {
- return PIWIK_DOCUMENT_ROOT . '/tests/UI/expected-ui-screenshots/';
+ return PIWIK_DOCUMENT_ROOT . "/tests/UI/expected-screenshots/";
}
- $downloadTo = PIWIK_DOCUMENT_ROOT . "/plugins/$plugin/tests/UI/expected-ui-screenshots/";
+ $downloadTo = PIWIK_DOCUMENT_ROOT . "/plugins/$plugin/tests/UI/expected-screenshots/";
if(is_dir($downloadTo)) {
return $downloadTo;
}