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:
authormattab <matthieu.aubry@gmail.com>2015-10-05 01:31:26 +0300
committermattab <matthieu.aubry@gmail.com>2015-10-05 01:31:26 +0300
commitdf3a8e0b2240c935752681a446ce6024eed760a8 (patch)
tree2bef52b4181ecac03907ba3a17e8820a1f98c765 /plugins/TestRunner
parentbb361c60fbc040c0492243ae5f09935f43ba0bf0 (diff)
Sync screenshot commands help
Diffstat (limited to 'plugins/TestRunner')
-rw-r--r--plugins/TestRunner/Commands/SyncScreenshots.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/plugins/TestRunner/Commands/SyncScreenshots.php b/plugins/TestRunner/Commands/SyncScreenshots.php
index 924ae7859e..7862d65fab 100644
--- a/plugins/TestRunner/Commands/SyncScreenshots.php
+++ b/plugins/TestRunner/Commands/SyncScreenshots.php
@@ -134,13 +134,15 @@ class SyncScreenshots extends ConsoleCommand
$output->writeln('<comment>If all downloaded screenshots are valid you may push them with these commands:</comment>');
$downloadToPath = $this->getDownloadToPath($repository);
$commands = "
+
+# Starts here
cd $downloadToPath
git pull
git add .
git status
git commit -m 'UI tests: ...' # Write a good commit message, eg. 'Fixed UI test failure caused by change introduced in X which caused failure by Y'
-echo -e '--> Check the commit above is correct... <---'
-sleep 5
+echo -e \"\n--> Check the commit above is correct... <---\n\"
+sleep 7
git push";
if ($repository === 'piwik/piwik') {
@@ -150,8 +152,8 @@ git pull
git add expected-ui-screenshots/
git status
git commit -m 'UI tests: ...' # Copy paste the good commit message
-echo -e '--> Check the commit above is correct... <---'
-sleep 5
+echo -e \"\n--> Check the commit above is correct... <---\n\"
+sleep 7
git push
cd ../../";
} else {