Skip to content

Instantly share code, notes, and snippets.

@Alex-V
Created June 4, 2015 08:20
Show Gist options
  • Save Alex-V/c0aed26db683ecc5d587 to your computer and use it in GitHub Desktop.
Save Alex-V/c0aed26db683ecc5d587 to your computer and use it in GitHub Desktop.
PhantomJS 1.9.8 (Linux 0.0.0) UserPermissionsCtrl toggleSetting should toggle settings FAILED
TypeError: 'undefined' is not an object (evaluating 'vm.safeData.userMail.selectedUser')
undefined
at /var/lib/jenkins/workspace/Front%20End%20Development%20Build/app/components/admin/users/client/userPermissions/controllers/UserPermissionsCtrl.js:65
at /var/lib/jenkins/workspace/Front%20End%20Development%20Build/bower_components/angular/angular.js:14300
at /var/lib/jenkins/workspace/Front%20End%20Development%20Build/app/components/admin/users/client/userPermissions/tests/spec/UserPermissionsCtrl.js:19
at invoke (/var/lib/jenkins/workspace/Front%20End%20Development%20Build/bower_components/angular/angular.js:4203)
at workFn (/var/lib/jenkins/workspace/Front%20End%20Development%20Build/bower_components/angular-mocks/angular-mocks.js:2436)
Error: [$rootScope:inprog] $digest already in progress
http://errors.angularjs.org/1.3.15/$rootScope/inprog?p0=%24digest
at beginPhase (/var/lib/jenkins/workspace/Front%20End%20Development%20Build/bower_components/angular/angular.js:14820)
at /var/lib/jenkins/workspace/Front%20End%20Development%20Build/bower_components/angular/angular.js:14262
at /var/lib/jenkins/workspace/Front%20End%20Development%20Build/app/components/admin/users/client/userPermissions/tests/spec/UserPermissionsCtrl.js:30
PhantomJS 1.9.8 (Linux 0.0.0): Executed 1 of 397 (1 FAILED) (0 secs / 0.047 secs)
PhantomJS 1.9.8 (Linux 0.0.0) UserPermissionsCtrl toggleSetting should revert setting on failure FAILED
TypeError: 'undefined' is not an object (evaluating 'vm.safeData.userMail.selectedUser')
at /var/lib/jenkins/workspace/Front%20End%20Development%20Build/app/components/admin/users/client/userPermissions/controllers/UserPermissionsCtrl.js:65
at /var/lib/jenkins/workspace/Front%20End%20Development%20Build/bower_components/angular/angular.js:14300
at /var/lib/jenkins/workspace/Front%20End%20Development%20Build/app/components/admin/users/client/userPermissions/tests/spec/UserPermissionsCtrl.js:19
at invoke (/var/lib/jenkins/workspace/Front%20End%20Development%20Build/bower_components/angular/angular.js:4203)
at workFn (/var/lib/jenkins/workspace/Front%20End%20Development%20Build/bower_components/angular-mocks/angular-mocks.js:2436)
Error: [$rootScope:inprog] $digest already in progress
http://errors.angularjs.org/1.3.15/$rootScope/inprog?p0=%24digest
at beginPhase (/var/lib/jenkins/workspace/Front%20End%20Development%20Build/bower_components/angular/angular.js:14820)
at /var/lib/jenkins/workspace/Front%20End%20Development%20Build/bower_components/angular/angular.js:14262
at /var/lib/jenkins/workspace/Front%20End%20Development%20Build/app/components/admin/users/client/userPermissions/tests/spec/UserPermissionsCtrl.js:37
PhantomJS 1.9.8 (Linux 0.0.0): Executed 2 of 397 (2 FAILED) (0 secs / 0.06 secs)
PhantomJS 1.9.8 (Linux 0.0.0) UserPermissionsCtrl mail permissions should set mail permissions on load FAILED
TypeError: 'undefined' is not an object (evaluating 'vm.safeData.userMail.selectedUser')
at /var/lib/jenkins/workspace/Front%20End%20Development%20Build/app/components/admin/users/client/userPermissions/controllers/UserPermissionsCtrl.js:65
at /var/lib/jenkins/workspace/Front%20End%20Development%20Build/bower_components/angular/angular.js:14300
at /var/lib/jenkins/workspace/Front%20End%20Development%20Build/app/components/admin/users/client/userPermissions/tests/spec/UserPermissionsCtrl.js:19
at invoke (/var/lib/jenkins/workspace/Front%20End%20Development%20Build/bower_components/angular/angular.js:4203)
at workFn (/var/lib/jenkins/workspace/Front%20End%20Development%20Build/bower_components/angular-mocks/angular-mocks.js:2436)
Expected undefined to equal Object({ type1: 'Type One', type2: 'Type Two' }).
at /var/lib/jenkins/workspace/Front%20End%20Development%20Build/app/components/admin/users/client/userPermissions/tests/spec/UserPermissionsCtrl.js:44
PhantomJS 1.9.8 (Linux 0.0.0): Executed 3 of 397 (3 FAILED) (0 secs / 0.081 secs)
PhantomJS 1.9.8 (Linux 0.0.0): Executed 3 of 397 (3 FAILED) (skipped 394) ERROR (0.138 secs / 0.081 secs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment