Details
-
Bug
-
Resolution: Unresolved
-
High
-
None
-
None
-
None
-
None
-
Travis
Description
PlatformUI build is currently failing on Travis (branches: 2.1 and master)
https://travis-ci.org/ezsystems/PlatformUIBundle/branches
Failure details:
✖ [eZ Platform UI App tests]: Passed: 42 Failed: 37 Total: 80 (ignored 1) (4.761 seconds) Should navigate to the given route Unexpected error: 'undefined' is not an object (evaluating 'this.app.on') Route does not exist Unexpected error: 'undefined' is not an object (evaluating 'this.app.routeUri') Route without parameter Unexpected error: 'undefined' is not an object (evaluating 'this.app.routeUri') Route with one parameter only and a matching parameters Unexpected error: 'undefined' is not an object (evaluating 'this.app.routeUri') Route with one parameter only and no matching parameter Unexpected error: 'undefined' is not an object (evaluating 'this.app.routeUri') Route with 2 parameters only and 2 matching parameters Unexpected error: 'undefined' is not an object (evaluating 'this.app.routeUri') Route with 2 parameters only and 1 matching parameter Unexpected error: 'undefined' is not an object (evaluating 'this.app.routeUri') Route with 2 parameters only and no matching parameter Unexpected error: 'undefined' is not an object (evaluating 'this.app.routeUri') Complex route with 2 parameters only and 2 matching parameters Unexpected error: 'undefined' is not an object (evaluating 'this.app.routeUri') Complex route with 2 parameters only and 1 matching parameter Unexpected error: 'undefined' is not an object (evaluating 'this.app.routeUri') Complex route with 2 parameters only and no matching parameter Unexpected error: 'undefined' is not an object (evaluating 'this.app.routeUri') Should consider the anonymous user as not logged in Unexpected error: 'undefined' is not an object (evaluating 'this.app.isLoggedIn') Should check the session server side for a non loaded user Unexpected error: 'undefined' is not an object (evaluating 'this.app.isLoggedIn') Should call the capi isLoggedIn Unexpected error: 'undefined' is not an object (evaluating 'this.app.isLoggedIn') Should call the capi isLoggedIn and check the user id Unexpected error: 'undefined' is not an object (evaluating 'this.app.isLoggedIn') Should call the capi isLoggedIn and consider anonymous as not logged in Unexpected error: 'undefined' is not an object (evaluating 'this.app.isLoggedIn') Should handle CAPI error Unexpected error: 'undefined' is not an object (evaluating 'this.app.isLoggedIn') Should call next if the user is logged in and the user is loaded Unexpected error: 'undefined' is not an object (evaluating 'mock.__expectations') Should check if the user is logged in and load the user Unexpected error: 'undefined' is not an object (evaluating 'mock.__expectations') Should redirect to the login form if the user not logged in Unexpected error: 'undefined' is not an object (evaluating 'mock.__expectations') Should redirect to the login form if the user loading fails Unexpected error: 'undefined' is not an object (evaluating 'mock.__expectations') Should configure the CAPI Unexpected error: 'null' is not an object (evaluating 'document.querySelector('meta[name="SiteAccess"]').content') Should configure the SessionAuthAgent with the given sessionInfo Unexpected error: 'null' is not an object (evaluating 'document.querySelector('meta[name="SiteAccess"]').content') Should not configure the SessionAuthAgent Unexpected error: 'null' is not an object (evaluating 'document.querySelector('meta[name="SiteAccess"]').content') Should configure the `root` Unexpected error: 'null' is not an object (evaluating 'document.querySelector('meta[name="SiteAccess"]').content') Should configure the `apiRoot` Unexpected error: 'null' is not an object (evaluating 'document.querySelector('meta[name="SiteAccess"]').content') Should configure the `assetRoot` Unexpected error: 'null' is not an object (evaluating 'document.querySelector('meta[name="SiteAccess"]').content') Should configure the `anonymousUserId` Unexpected error: 'null' is not an object (evaluating 'document.querySelector('meta[name="SiteAccess"]').content') Should configure the `localesMap` Unexpected error: 'null' is not an object (evaluating 'document.querySelector('meta[name="SiteAccess"]').content') Should configure the `localesMap` default value Unexpected error: 'null' is not an object (evaluating 'document.querySelector('meta[name="SiteAccess"]').content') Should configure the `systemLanguageList` Unexpected error: 'null' is not an object (evaluating 'document.querySelector('meta[name="SiteAccess"]').content') Should configure the `contentCreationDefaultLanguageCode` Unexpected error: 'null' is not an object (evaluating 'document.querySelector('meta[name="SiteAccess"]').content') Should configure the `interfaceLanguages` Unexpected error: 'null' is not an object (evaluating 'document.querySelector('meta[name="SiteAccess"]').content') Should return the language name Unexpected error: 'undefined' is not an object (evaluating 'this.app.getLanguageName') Should return the language code Unexpected error: 'undefined' is not an object (evaluating 'this.app.getLanguageName') Should refresh the current view Unexpected error: 'undefined' is not an object (evaluating 'this.app.navigateTo') Should navigate to the given route The app should navigate to the given route Expected: true (boolean) Actual: false (boolean)
There were 5 errors: 1) EzSystems\PlatformUIBundle\Tests\Controller\ContentTypeControllerTest::testGetPrioritizedLanguage with data set #0 (array('nor-NO'), array('eng-GB', 'fre-FR'), 'eng-GB', 'eng-GB') Error: Class 'EzSystems\PlatformUIBundle\Controller\ContentTypeController' not found /home/travis/build/ezsystems/PlatformUIBundle/Tests/Controller/ContentTypeControllerTest.php:49 /home/travis/build/ezsystems/PlatformUIBundle/Tests/Controller/ContentTypeControllerTest.php:103 2) EzSystems\PlatformUIBundle\Tests\Controller\ContentTypeControllerTest::testGetPrioritizedLanguage with data set #1 (array('nor-NO'), array('eng-GB', 'fre-FR', 'nor-NO'), 'eng-GB', 'nor-NO') Error: Class 'EzSystems\PlatformUIBundle\Controller\ContentTypeController' not found /home/travis/build/ezsystems/PlatformUIBundle/Tests/Controller/ContentTypeControllerTest.php:49 /home/travis/build/ezsystems/PlatformUIBundle/Tests/Controller/ContentTypeControllerTest.php:103 3) EzSystems\PlatformUIBundle\Tests\Controller\ContentTypeControllerTest::testGetPrioritizedLanguage with data set #2 (array('eng-GB', 'fre-FR', 'nor-NO'), array('eng-GB', 'fre-FR'), 'eng-GB', 'eng-GB') Error: Class 'EzSystems\PlatformUIBundle\Controller\ContentTypeController' not found /home/travis/build/ezsystems/PlatformUIBundle/Tests/Controller/ContentTypeControllerTest.php:49 /home/travis/build/ezsystems/PlatformUIBundle/Tests/Controller/ContentTypeControllerTest.php:103 4) EzSystems\PlatformUIBundle\Tests\Controller\ContentTypeControllerTest::testGetPrioritizedLanguage with data set #3 (array('nor-NO', 'eng-GB', 'fre-FR'), array('eng-GB', 'fre-FR', 'nor-NO'), 'eng-GB', 'nor-NO') Error: Class 'EzSystems\PlatformUIBundle\Controller\ContentTypeController' not found /home/travis/build/ezsystems/PlatformUIBundle/Tests/Controller/ContentTypeControllerTest.php:49 /home/travis/build/ezsystems/PlatformUIBundle/Tests/Controller/ContentTypeControllerTest.php:103 5) EzSystems\PlatformUIBundle\Tests\Controller\ContentTypeControllerTest::testGetPrioritizedLanguage with data set #4 (array('nor-NO', 'fre-FR', 'eng-GB'), array('eng-GB', 'fre-FR'), 'eng-GB', 'fre-FR') Error: Class 'EzSystems\PlatformUIBundle\Controller\ContentTypeController' not found /home/travis/build/ezsystems/PlatformUIBundle/Tests/Controller/ContentTypeControllerTest.php:49 /home/travis/build/ezsystems/PlatformUIBundle/Tests/Controller/ContentTypeControllerTest.php:103 -- There was 1 failure: 1) EzSystems\PlatformUIBundle\Tests\Notification\NotificationPoolTest::testOnKernelResponse Symfony\Component\HttpFoundation\Session\Session::getFlashBag() was not expected to be called more than once. /home/travis/build/ezsystems/PlatformUIBundle/Notification/NotificationPool.php:86 /home/travis/build/ezsystems/PlatformUIBundle/Tests/Notification/NotificationPoolTest.php:186