diff options
author | mattab <matthieu.aubry@gmail.com> | 2015-10-05 01:31:26 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2015-10-05 01:31:26 +0300 |
commit | df3a8e0b2240c935752681a446ce6024eed760a8 (patch) | |
tree | 2bef52b4181ecac03907ba3a17e8820a1f98c765 /plugins/TestRunner | |
parent | bb361c60fbc040c0492243ae5f09935f43ba0bf0 (diff) |
Sync screenshot commands help
Diffstat (limited to 'plugins/TestRunner')
-rw-r--r-- | plugins/TestRunner/Commands/SyncScreenshots.php | 10 |
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 { |