From 21ddc9195b679eefbf2bdeaf90451e4d845300f3 Mon Sep 17 00:00:00 2001 From: Nils Langner Date: Wed, 19 Mar 2014 22:26:37 -0400 Subject: [PATCH 01/17] Added .gitignore --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..baf6b9d --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.buildpath +.project +.settings/ From 95f6c5306b456d75b3fafc55491c8a3520e7b87f Mon Sep 17 00:00:00 2001 From: Nils Langner Date: Wed, 19 Mar 2014 22:27:15 -0400 Subject: [PATCH 02/17] Moved standard reference image dir to data dir --- module/VisualCeption.php | 8 ++++++-- test/integration/tests/acceptance.suite.yml | 3 +-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/module/VisualCeption.php b/module/VisualCeption.php index ff8779e..ec02985 100755 --- a/module/VisualCeption.php +++ b/module/VisualCeption.php @@ -7,6 +7,10 @@ * @copyright Copyright (c) 2014 G+J Digital Products GmbH * @license MIT license, http://www.opensource.org/licenses/mit-license.php * @package Codeception\Module + * + * @author Nils Langner + * @author Torsten Franz + * @author Sebastian Neubert */ class VisualCeption extends \Codeception\Module { @@ -53,11 +57,11 @@ private function init () if (array_key_exists('referenceImageDir', $this->config)) { $this->referenceImageDir = $this->config["referenceImageDir"]; } else { - throw new \RuntimeException("Reference image dir was not set, but is mandatory."); + $this->referenceImageDir = \Codeception\Configuration::dataDir() . 'VisualCeption/'; } if (! is_dir($this->referenceImageDir)) { - mkdir($this->referenceImageDir, 0666); + mkdir($this->referenceImageDir, 0666, true); } } diff --git a/test/integration/tests/acceptance.suite.yml b/test/integration/tests/acceptance.suite.yml index 5d464a6..71c3644 100755 --- a/test/integration/tests/acceptance.suite.yml +++ b/test/integration/tests/acceptance.suite.yml @@ -23,5 +23,4 @@ modules: capabilities: webStorageEnabled: true VisualCeption: - maximumDeviation: 0 - referenceImageDir: /tmp/deviation/ + maximumDeviation: 0 \ No newline at end of file From 57abe5e865c00b2e4b6f1f1c9c952a6ba5cfebc0 Mon Sep 17 00:00:00 2001 From: Nils Langner Date: Wed, 19 Mar 2014 22:43:38 -0400 Subject: [PATCH 03/17] added sleep to integration tests as we have to wait for the selenium sever --- test/integration/tests/_bootstrap.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/integration/tests/_bootstrap.php b/test/integration/tests/_bootstrap.php index 90dd4ac..de650d0 100755 --- a/test/integration/tests/_bootstrap.php +++ b/test/integration/tests/_bootstrap.php @@ -1,4 +1,6 @@ Date: Wed, 19 Mar 2014 22:45:36 -0400 Subject: [PATCH 04/17] Added recursive mkdir --- module/VisualCeption.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/VisualCeption.php b/module/VisualCeption.php index ec02985..31f5b25 100755 --- a/module/VisualCeption.php +++ b/module/VisualCeption.php @@ -116,7 +116,7 @@ private function getScreenshotPath ($identifier) { $debugDir = \Codeception\Configuration::logDir() . 'debug/tmp/'; if (! is_dir($debugDir)) { - mkdir($debugDir, 0666); + mkdir($debugDir, 0666, true); } return $debugDir . $this->getScreenshotName($identifier); } From 1c8bc0e51f46391d582c74c039ae3598464813bf Mon Sep 17 00:00:00 2001 From: Nils Langner Date: Mon, 24 Mar 2014 19:35:38 +0100 Subject: [PATCH 05/17] Update readme.md --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 5d1bf4f..4edbe3b 100644 --- a/readme.md +++ b/readme.md @@ -42,7 +42,7 @@ modules: enabled: [WebDriver, VisualCeption] VisualCeption: - referenceImageDir: /home/codeception/referenceImages/ # Path to the reference folder + referenceImageDir: /home/codeception/referenceImages/ # Path to the reference folder (optional, standard is /VisualCeption/ maximumDeviation: 5 # deviation in percent ``` From 3d45b0a1b4f0974a2f727e425026a5dcce544f8b Mon Sep 17 00:00:00 2001 From: Nils Langner Date: Mon, 24 Mar 2014 19:36:17 +0100 Subject: [PATCH 06/17] Update readme.md --- readme.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 4edbe3b..a920bba 100644 --- a/readme.md +++ b/readme.md @@ -42,7 +42,8 @@ modules: enabled: [WebDriver, VisualCeption] VisualCeption: - referenceImageDir: /home/codeception/referenceImages/ # Path to the reference folder (optional, standard is /VisualCeption/ + referenceImageDir: /home/codeception/referenceImages/ # Path to the reference folder (optional, standard is + # /VisualCeption/ maximumDeviation: 5 # deviation in percent ``` From 434f8e7a4a787a5ccdba19fdfea5f7223c9bd081 Mon Sep 17 00:00:00 2001 From: Nils Langner Date: Mon, 24 Mar 2014 19:36:30 +0100 Subject: [PATCH 07/17] Update readme.md --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index a920bba..4de3619 100644 --- a/readme.md +++ b/readme.md @@ -43,7 +43,7 @@ modules: VisualCeption: referenceImageDir: /home/codeception/referenceImages/ # Path to the reference folder (optional, standard is - # /VisualCeption/ + # /VisualCeption/) maximumDeviation: 5 # deviation in percent ``` From b07d1147f92cf89bef8fb5a59c4f1362f28d5837 Mon Sep 17 00:00:00 2001 From: Nils Langner Date: Wed, 19 Mar 2014 22:55:22 -0400 Subject: [PATCH 08/17] removed include path option from travisvi.yml --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f0044d3..26ff138 100755 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,6 @@ before_script: - wget http://selenium.googlecode.com/files/selenium-server-standalone-2.35.0.jar - java -jar selenium-server-standalone-2.35.0.jar -port 4444 & - cd test/integration/ - -script: php -d include_path="." codecept.phar run + +script: php codecept.phar run From 0b887f52bdfe03bbdf9f69a0794b55a6350f098c Mon Sep 17 00:00:00 2001 From: Nils Langner Date: Wed, 19 Mar 2014 22:59:28 -0400 Subject: [PATCH 09/17] Debug mode for tests, debug output in test cases --- .travis.yml | 2 +- module/VisualCeption.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 26ff138..05c9108 100755 --- a/.travis.yml +++ b/.travis.yml @@ -11,4 +11,4 @@ before_script: - cd test/integration/ -script: php codecept.phar run +script: php codecept.phar run -d diff --git a/module/VisualCeption.php b/module/VisualCeption.php index 31f5b25..2e3ca12 100755 --- a/module/VisualCeption.php +++ b/module/VisualCeption.php @@ -61,6 +61,7 @@ private function init () } if (! is_dir($this->referenceImageDir)) { + $this->debug("Creating directory: $this->referenceImageDir"); mkdir($this->referenceImageDir, 0666, true); } } @@ -116,6 +117,7 @@ private function getScreenshotPath ($identifier) { $debugDir = \Codeception\Configuration::logDir() . 'debug/tmp/'; if (! is_dir($debugDir)) { + $this->debug("Creating directory: $debugDir"); mkdir($debugDir, 0666, true); } return $debugDir . $this->getScreenshotName($identifier); From 263289e4ea7c9221b27c2b235e2e4e213dfe2cf1 Mon Sep 17 00:00:00 2001 From: Nils Langner Date: Wed, 19 Mar 2014 23:16:18 -0400 Subject: [PATCH 10/17] changed writing permissions --- .travis.yml | 2 +- module/VisualCeption.php | 2 +- test/integration/tests/acceptance/TimeComparisonCest.php | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 05c9108..dc83f5a 100755 --- a/.travis.yml +++ b/.travis.yml @@ -11,4 +11,4 @@ before_script: - cd test/integration/ -script: php codecept.phar run -d +script: php codecept.phar run -d \ No newline at end of file diff --git a/module/VisualCeption.php b/module/VisualCeption.php index 2e3ca12..8392632 100755 --- a/module/VisualCeption.php +++ b/module/VisualCeption.php @@ -118,7 +118,7 @@ private function getScreenshotPath ($identifier) $debugDir = \Codeception\Configuration::logDir() . 'debug/tmp/'; if (! is_dir($debugDir)) { $this->debug("Creating directory: $debugDir"); - mkdir($debugDir, 0666, true); + mkdir($debugDir, 0777, true); } return $debugDir . $this->getScreenshotName($identifier); } diff --git a/test/integration/tests/acceptance/TimeComparisonCest.php b/test/integration/tests/acceptance/TimeComparisonCest.php index 2590f13..98f0058 100755 --- a/test/integration/tests/acceptance/TimeComparisonCest.php +++ b/test/integration/tests/acceptance/TimeComparisonCest.php @@ -9,6 +9,9 @@ class TimeComparisonCest public function compareTimeString (WebGuy $I, $scenario) { $I->amOnPage("/VisualCeption/time.php"); + + // the test has to be called twice for comparison on the travis server + $I->compareScreenshot("the-time", "#thetime"); $I->compareScreenshot("the-time", "#thetime"); } } \ No newline at end of file From 076533dfc0731a3d74add8cd29c68f426c0c6f8a Mon Sep 17 00:00:00 2001 From: Nils Langner Date: Wed, 19 Mar 2014 23:19:57 -0400 Subject: [PATCH 11/17] Added better error handling when creating dirs --- module/VisualCeption.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/module/VisualCeption.php b/module/VisualCeption.php index 8392632..730bdd4 100755 --- a/module/VisualCeption.php +++ b/module/VisualCeption.php @@ -117,8 +117,13 @@ private function getScreenshotPath ($identifier) { $debugDir = \Codeception\Configuration::logDir() . 'debug/tmp/'; if (! is_dir($debugDir)) { + $created = mkdir($debugDir, 0777, true); + if( $created ) { $this->debug("Creating directory: $debugDir"); - mkdir($debugDir, 0777, true); + }else{ + throw new \RuntimeException("Unable to create temporary screenshot dir ($debugDir)"); + } + } return $debugDir . $this->getScreenshotName($identifier); } From 2949d0059f8ad3bce3132bb0ff867d88add28079 Mon Sep 17 00:00:00 2001 From: Nils Langner Date: Wed, 19 Mar 2014 23:33:25 -0400 Subject: [PATCH 12/17] changed permissions, add debug output --- module/VisualCeption.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/VisualCeption.php b/module/VisualCeption.php index 730bdd4..f3494fa 100755 --- a/module/VisualCeption.php +++ b/module/VisualCeption.php @@ -62,7 +62,7 @@ private function init () if (! is_dir($this->referenceImageDir)) { $this->debug("Creating directory: $this->referenceImageDir"); - mkdir($this->referenceImageDir, 0666, true); + mkdir($this->referenceImageDir, 0777, true); } } @@ -218,6 +218,7 @@ private function compare ($identifier) $expectedImagePath = $this->getExpectedScreenshotPath($identifier); if (! file_exists($expectedImagePath)) { + $this->debug("Copying image (from $currentImagePath to $expectedImagePath"); copy($currentImagePath, $expectedImagePath); return array (null, 0); } else { From 581d1d5036409ab8a8ff290d5e194513397a0619 Mon Sep 17 00:00:00 2001 From: Nils Langner Date: Wed, 19 Mar 2014 23:47:52 -0400 Subject: [PATCH 13/17] Tried to mute selenium server --- .travis.yml | 2 +- module/VisualCeption.php | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index dc83f5a..da00f5e 100755 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ php: before_script: - printf "\n" | pecl install imagick - wget http://selenium.googlecode.com/files/selenium-server-standalone-2.35.0.jar - - java -jar selenium-server-standalone-2.35.0.jar -port 4444 & + - java -jar selenium-server-standalone-2.35.0.jar -port 4444 >/dev/null 2>&1 & - cd test/integration/ diff --git a/module/VisualCeption.php b/module/VisualCeption.php index f3494fa..429b1d9 100755 --- a/module/VisualCeption.php +++ b/module/VisualCeption.php @@ -241,8 +241,6 @@ private function compareImages ($image1, $image2) $result = $imagick1->compareImages($imagick2, \Imagick::METRIC_MEANSQUAREERROR); $result[0]->setImageFormat("png"); - $this->debug($result); - return $result; } } From 0a5f389091f3c31617bad9f61a0dc71d7cf03cc3 Mon Sep 17 00:00:00 2001 From: Nils Langner Date: Wed, 19 Mar 2014 23:49:03 -0400 Subject: [PATCH 14/17] Added double test --- test/integration/tests/acceptance/TimeComparisonCest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/integration/tests/acceptance/TimeComparisonCest.php b/test/integration/tests/acceptance/TimeComparisonCest.php index 98f0058..455660b 100755 --- a/test/integration/tests/acceptance/TimeComparisonCest.php +++ b/test/integration/tests/acceptance/TimeComparisonCest.php @@ -9,9 +9,10 @@ class TimeComparisonCest public function compareTimeString (WebGuy $I, $scenario) { $I->amOnPage("/VisualCeption/time.php"); + $I->compareScreenshot("the-time", "#thetime"); // the test has to be called twice for comparison on the travis server - $I->compareScreenshot("the-time", "#thetime"); + $I->amOnPage("/VisualCeption/time.php"); $I->compareScreenshot("the-time", "#thetime"); } } \ No newline at end of file From d43d238a1a0ac738a37f1005feaeb11e925fa471 Mon Sep 17 00:00:00 2001 From: Nils Langner Date: Thu, 20 Mar 2014 00:01:10 -0400 Subject: [PATCH 15/17] Removed unneeded dubug output --- module/VisualCeption.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/module/VisualCeption.php b/module/VisualCeption.php index 429b1d9..149763d 100755 --- a/module/VisualCeption.php +++ b/module/VisualCeption.php @@ -171,7 +171,7 @@ private function createScreenshot ($identifier, array $coords) * and their element ID * * @param string $identifier identifies your test object - * @param null $elementID DOM ID of the element, which should be screenshotted + * @param string $elementID DOM ID of the element, which should be screenshotted */ public function compareScreenshot ($identifier, $elementID = null) { @@ -182,8 +182,6 @@ public function compareScreenshot ($identifier, $elementID = null) unlink($this->getScreenshotPath($identifier)); - $this->debug($compareResult); - $deviation = round($compareResult[1] * 100, 2); if ($deviation > $this->maximumDeviation) { From cd231aa751380999b18091304b3169f0a65ce357 Mon Sep 17 00:00:00 2001 From: Nils Langner Date: Thu, 20 Mar 2014 00:07:47 -0400 Subject: [PATCH 16/17] removed log data --- test/integration/tests/_data/dump.sql | 1 - ...eComparisonCest.compareTimeString.fail.png | Bin 11159 -> 0 bytes .../tests/_log/acceptance-2014-03-24 | 34 ------------------ ...parisonCest.compareTimeString.the-time.png | Bin 3391 -> 0 bytes 4 files changed, 35 deletions(-) delete mode 100644 test/integration/tests/_data/dump.sql delete mode 100644 test/integration/tests/_log/TimeComparisonCest.compareTimeString.fail.png delete mode 100644 test/integration/tests/_log/acceptance-2014-03-24 delete mode 100644 test/integration/tests/_log/debug/compare.TimeComparisonCest.compareTimeString.the-time.png diff --git a/test/integration/tests/_data/dump.sql b/test/integration/tests/_data/dump.sql deleted file mode 100644 index 4bc742c..0000000 --- a/test/integration/tests/_data/dump.sql +++ /dev/null @@ -1 +0,0 @@ -/* Replace this file with actual dump of your database */ \ No newline at end of file diff --git a/test/integration/tests/_log/TimeComparisonCest.compareTimeString.fail.png b/test/integration/tests/_log/TimeComparisonCest.compareTimeString.fail.png deleted file mode 100644 index 9cd5fdad5aed0aac97ccb700443a5921abb9c947..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 11159 zcmeI2YgkfgyT@sqcbaK3r-L~jlHTT;EFC5Dlv-F#=`>B6nuk1=j+qK#nj(tO^ znRnOe@2@K3j!N>r`tIdKOQhSDj6`N|Mbezj?OD!Ev+3Wd*LwF*kY^)g*DcZRM?d@O zult7kD0?sGKE$?f6lwqR@?y-j13!HYWKdDOfCCWQ-4Ph~|7WAvCL7xS^kA)=dP%gA z^Sq|pFLp=i!ph_-XYv}YbHM&XXihQ`CoxB^{-L%MfxqA*m6VF-)S#fHB5LYP^ z9;u>~9yDPEm$1?vlMlRKREOddp#2N|fr3iLT&9Ma+t*{;SHO*tXk=e>VB7YmYscpp zjr(wd4+R?5)Oxp~6K!ot9nyAU^NY^U&*EhnY9W{~qMEhtr^a4%0fOz?$yrP1UY?W^ zM{Bcd?>+YKy{=I_|Mp1hb_vNZwm(Q#PQ_3*l%^P(ugVU$97iKN=WT{5ZnTN3{b%xM zFvvGn2qL~7sR@$E?}Ddbu@P zSVYlj#Ps})Eo)VkP}1OF9P+NMJ=I@$k55d$L$2lqfr!zO z5{6&wE!Fb!Qtik(?_#-KBVS0pNg{HO9Ly&ipL<@@8xUOD5B!TziVJTUc+@ZRjk77fP?1iDOAqF6K_tR3+(gJKp#1E|A1yS0as zSJz1UaCKGYve$})d{T=nDc_i7z415rBdBLMwV)DFwVsiAkG7(H?xpGP?`T)RJ$@2> zlr@W@gtt*x?2P`ccz-y>Qz~p_gSkKa#9FwDtJ^m}E6Z4UD;5k-DEpaB9c@h7;5^lr z{4W`H)5LdS@W`yS+lCxIjogDJtXwJtD@GR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4eI8v6v(Xd+-DU?N~5U?N~5U?N~5 zU?N~5U?N~5U?N~5U?N~5@E;N=aVcH}fxZqg?gcPCX)zHn5ik+3d}rVh6E^^lU#}h0 zv&ScccWwY>yl(_P#~dai*V_7%M-GX806nl>>pC4@;0CMz)6qp3Fh-@>?c>bUQG VrRIJSP%uHKP6nQ6J$~W(zX3R^p5Oog diff --git a/test/integration/tests/_log/acceptance-2014-03-24 b/test/integration/tests/_log/acceptance-2014-03-24 deleted file mode 100644 index dbe6082..0000000 --- a/test/integration/tests/_log/acceptance-2014-03-24 +++ /dev/null @@ -1,34 +0,0 @@ -[2014-03-24 15:53:02] TimeComparisonCest.compareTimeString.INFO: am on page "/VisualCeption/time.php" [] [] -[2014-03-24 15:53:02] TimeComparisonCest.compareTimeString.INFO: compare screenshot "the-time","#thetime" [] [] -[2014-03-24 15:53:02] TimeComparisonCest.compareTimeString.ALERT: mkdir(): No such file or directory [] [] -[2014-03-24 15:53:02] TimeComparisonCest.compareTimeString.INFO: # ERROR # [] [] -[2014-03-24 15:53:02] TimeComparisonCest.compareTimeString.INFO: PASSED [] [] -[2014-03-24 15:54:13] TimeComparisonCest.compareTimeString.INFO: am on page "/VisualCeption/time.php" [] [] -[2014-03-24 15:54:13] TimeComparisonCest.compareTimeString.INFO: compare screenshot "the-time","#thetime" [] [] -[2014-03-24 15:54:13] TimeComparisonCest.compareTimeString.ALERT: unable to open image `/app1/ela/var/www/app/test.local/VisualCeption/test/integration/tests/_log/debug/tmp/TimeComparisonCest.compareTimeString.the-time.png': Permission denied @ blob.c/OpenBlob/2480 [] [] -[2014-03-24 15:54:13] TimeComparisonCest.compareTimeString.INFO: # ERROR # [] [] -[2014-03-24 15:54:13] TimeComparisonCest.compareTimeString.INFO: PASSED [] [] -[2014-03-24 15:54:55] TimeComparisonCest.compareTimeString.INFO: am on page "/VisualCeption/time.php" [] [] -[2014-03-24 15:54:55] TimeComparisonCest.compareTimeString.INFO: compare screenshot "the-time","#thetime" [] [] -[2014-03-24 15:54:55] TimeComparisonCest.compareTimeString.ALERT: unable to open image `/app1/ela/var/www/app/test.local/VisualCeption/test/integration/tests/_log/debug/tmp/TimeComparisonCest.compareTimeString.the-time.png': Permission denied @ blob.c/OpenBlob/2480 [] [] -[2014-03-24 15:54:55] TimeComparisonCest.compareTimeString.INFO: # ERROR # [] [] -[2014-03-24 15:54:55] TimeComparisonCest.compareTimeString.INFO: PASSED [] [] -[2014-03-24 15:55:19] TimeComparisonCest.compareTimeString.INFO: am on page "/VisualCeption/time.php" [] [] -[2014-03-24 15:55:20] TimeComparisonCest.compareTimeString.INFO: compare screenshot "the-time","#thetime" [] [] -[2014-03-24 15:56:01] TimeComparisonCest.compareTimeString.INFO: am on page "/VisualCeption/time.php" [] [] -[2014-03-24 15:56:01] TimeComparisonCest.compareTimeString.INFO: compare screenshot "the-time","#thetime" [] [] -[2014-03-24 15:56:11] TimeComparisonCest.compareTimeString.INFO: am on page "/VisualCeption/time.php" [] [] -[2014-03-24 15:56:11] TimeComparisonCest.compareTimeString.INFO: compare screenshot "the-time","#thetime" [] [] -[2014-03-24 15:56:12] TimeComparisonCest.compareTimeString.ALERT: unable to open image `/app1/ela/var/www/app/test.local/VisualCeption/test/integration/tests/_log/debug/tmp/TimeComparisonCest.compareTimeString.the-time.png': Permission denied @ blob.c/OpenBlob/2480 [] [] -[2014-03-24 15:56:12] TimeComparisonCest.compareTimeString.INFO: # ERROR # [] [] -[2014-03-24 15:56:12] TimeComparisonCest.compareTimeString.INFO: PASSED [] [] -[2014-03-24 15:57:51] TimeComparisonCest.compareTimeString.INFO: am on page "/VisualCeption/time.php" [] [] -[2014-03-24 15:57:51] TimeComparisonCest.compareTimeString.INFO: compare screenshot "the-time","#thetime" [] [] -[2014-03-24 15:57:51] TimeComparisonCest.compareTimeString.INFO: PASSED [] [] -[2014-03-24 15:57:57] TimeComparisonCest.compareTimeString.INFO: am on page "/VisualCeption/time.php" [] [] -[2014-03-24 15:57:57] TimeComparisonCest.compareTimeString.INFO: compare screenshot "the-time","#thetime" [] [] -[2014-03-24 15:57:58] TimeComparisonCest.compareTimeString.ALERT: The deviation of the taken screenshot is too high (0.18%). -See /app1/ela/var/www/app/test.local/VisualCeption/test/integration/tests/_log/debug/compare.TimeComparisonCest.compareTimeString.the-time.png for a deviation screenshot. -Failed asserting that false is true. [] [] -[2014-03-24 15:57:58] TimeComparisonCest.compareTimeString.INFO: # FAILED # [] [] -[2014-03-24 15:57:58] TimeComparisonCest.compareTimeString.INFO: PASSED [] [] diff --git a/test/integration/tests/_log/debug/compare.TimeComparisonCest.compareTimeString.the-time.png b/test/integration/tests/_log/debug/compare.TimeComparisonCest.compareTimeString.the-time.png deleted file mode 100644 index f088c60e83125e8f3a620ede4d699fb618336143..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3391 zcmZ`*c{JPG6HoQgRu}Cn)t{xj*HW~$68lz5?5g%6v|9VtioHcuwXf8gqSn|#C6)?8 zP`n~VL~2V&iuQRZu`dZh@(bR1=luTo&G+0pbLO16-_P8cJ2P)AEey|c3vdGffV0L% z`c?qIFN19P>Pas4-i*nMVKXi_Q$u|K>)%_UP6Gc=e(H*%Ew0c z4wOcR3)JhYb)XD=eA|RUyfmSmGHn!%UGq%J;JU2) z{KG3v#g}J4nAV?gI5(D7mnf4xGCo7UlJ||;G#2#} zJ9*$No1SyO^g5DsICT||q{7esuf4oWGpKzbdSW6I{72e7xBd5^8`Aqt6D{Qs)yyXi z1Mu7iQ~_t?+hxVvGg@wM7ie~aJ{7}7c>}@?g2nnpRLQS4kS|uGyIT34!!9ENgpHNg zl27HW+pTLwT4Z1iQ)>%DHABGBC;0jR^`v@7hFbI-aMlW;&fmKq$m5F*-wxfTudOge zaVkvZLkwEvl(=5A0sZURC}gzrO3XD^(tX9u3WwSNGAW?%7;ZDC#BqId zt=qrSfNi^?J?}m}MyZ-#t;#gTP*Kr*_$N1G=6%2lFMZVm@VN_XyJHou6-v}%OY*xY zlGvm#DfHLo^%pl)LV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}8mBy9RPxBQgHn;OuMN`;qs%0dywTEM{MAf@b%cPVTt3u z#!CSY-PE#}K5s7I<6t8i8Ywf*+=Dy!j3&|}ElwE!lzcy6dhYujK25Gqus_j)qM!KI zG^ubeOEjf3c5C*d2Pf=-_Y;X2?)r#E-ld%B5dT-pesxb3s>l|+GEvLr|U)q z?D;}riKfTK;Xu9AqiV}19WW>4)XdeVf^I|* z(3k2^RF%4_f&?%pyvki!&LmwRPftl`d1az<4iXnPj56tHx=qz=S`P<1p@BPUSM7*2 z=I^O>9lmmde!o>^j^kmqtkOqTkcmwVer%_5m1nz*vqJAaX(;hvQelUfM_OudVa$JD zz1dhUmE=JgGuJ4Oy*3i0Npz#t@>%al*BI~zmc6E&FdLQD#|f}X3I3Dx#4voWxomwt zDDn)d9h_HQk}!~-&|Q#kmnEh>B|_}q{vjCqpM&GSi#L4GSI-0$DP1*%#=Zlkp?4H| zxh~@K2AvulKHhcvPd>71lB${{R^)sqM;*wa*qJ`fJN0xsRAIgz>^^b7v{tgac5^S? z1RIfprhvDGHcfGzKh!7p#=9E6Q2Wx&MYGY>X+^e;;9GaF`F;wiQ>8}L1WZp=w)~GH z0Ix!j`leT-TzMeclO+Cu9s#d)I5wjosg(rDN$T#iHt%U|>;AqRhB7y?6GMKu#W_q~y6Hv4Zph|> zo`G{HrCe-U{1%jJUrngK{T&s?ickx)QThcw)t>CnBd&mNtZwaq?)r(qMzcWU-5l%+ zcRJRqJmjtt>M-+YDKYQpo!Xb$o92MW4>C~4N!t&`q=tWsu8y6+vAZ#Mk%jvcCin@sj!504QToH8=C76XO zgMPJbL(af9{552fVrC3KjMfx;DvBV<)3&B9(O|{^k#%Nfsy)D8L_qahSGF(QO^Z^M zh{E)o@QT>M{j$!_^PZ;5s%Kd56Anv$N5P(lfM#r9 Lp Date: Thu, 20 Mar 2014 00:12:13 -0400 Subject: [PATCH 17/17] Added mkdir log --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index da00f5e..7a080b9 100755 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,7 @@ before_script: - wget http://selenium.googlecode.com/files/selenium-server-standalone-2.35.0.jar - java -jar selenium-server-standalone-2.35.0.jar -port 4444 >/dev/null 2>&1 & - cd test/integration/ + - mkdir tests/_log script: php codecept.phar run -d \ No newline at end of file