[TASK] Route phantomjs through selenium again 47/47647/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Wed, 13 Apr 2016 14:45:37 +0000 (16:45 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 13 Apr 2016 15:24:44 +0000 (17:24 +0200)
There is some weird issue in the PHP internal web server
resulting in unexpected EOF in combination with phantomjs.
Having selenium in between seems to solve the issue for now.

Change-Id: I3d682d60e3962a2027c7b5b2d2e0971e828f14bf
Resolves: #75578
Releases: master
Reviewed-on: https://review.typo3.org/47647
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Sascha Egerer <sascha@sascha-egerer.de>
Tested-by: Sascha Egerer <sascha@sascha-egerer.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
.travis.yml
typo3/sysext/core/Build/Configuration/Acceptance/acceptance.suite.yml

index ba7dc78..a361265 100644 (file)
@@ -68,7 +68,10 @@ script:
     fi
   - >
     if [[ "$ACCEPTANCE_TESTS" == "yes" ]]; then
+        export _JAVA_OPTIONS="-Xms1024m -Xmx1024m";
+        ./bin/selenium-server-standalone >/dev/null 2>&1 &
         php -S 0.0.0.0:8000 >/dev/null 2>&1 &
+        sleep 5;
         export typo3DatabaseName="typo3";
         export typo3DatabaseHost="localhost";
         export typo3DatabaseUsername="root";
index 2e1926a..ab03114 100644 (file)
@@ -8,7 +8,7 @@ modules:
     WebDriver:
       url: http://localhost:8000/typo3temp/var/tests/acceptance
       browser: phantomjs
-      port: 4445
+      port: 4444
       window_size: 1440x570
       wait: 1
       restart: true
@@ -18,4 +18,3 @@ env:
       config:
         WebDriver:
           browser: firefox
-          port: 4444