Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

Some tests fail on PhantomJS v2 #441

Open
thgreasi opened this issue Mar 13, 2016 · 0 comments
Open

Some tests fail on PhantomJS v2 #441

thgreasi opened this issue Mar 13, 2016 · 0 comments

Comments

@thgreasi
Copy link
Contributor

After upgrading Karma & PhantomJS to v2 some test started failing.
In v0.13 branch, PhantomJS test pass locally but some fail on Travis.
In v0.14 branch, 5 PhantomJS test fail both locally and on Travis.

Running "jshint:src" (jshint) task
>> 2 files lint free.

Running "jshint:test" (jshint) task
>> 11 files lint free.

Running "karma:unit" (karma) task
13 03 2016 11:18:21.350:INFO [karma]: Karma v0.13.22 server started at http://localhost:9876/
13 03 2016 11:18:21.363:INFO [launcher]: Starting browser PhantomJS
13 03 2016 11:18:21.656:INFO [PhantomJS 2.1.1 (Linux 0.0.0)]: Connected on socket /#QhWv9mRKDIBsig28AAAA with id 3870130
PhantomJS 2.1.1 (Linux 0.0.0) uiSortable Custom directive options related should work when "ui-floating: true" option is used FAILED
    Expected [ 'One', 'Two', 'Three' ] to equal [ 'Two', 'One', 'Three' ].
    /home/teo/Desktop/ui-sortable/test/sortable.e2e.directiveoptions.spec.js:104:41
    invoke@/home/teo/Desktop/ui-sortable/bower_components/angular/angular.js:4604:24
    workFn@/home/teo/Desktop/ui-sortable/bower_components/angular-mocks/angular-mocks.js:2810:26
    inject@/home/teo/Desktop/ui-sortable/bower_components/angular-mocks/angular-mocks.js:2779:41
    /home/teo/Desktop/ui-sortable/test/sortable.e2e.directiveoptions.spec.js:84:13
    Expected [ 'One', 'Three', 'Two' ] to equal [ 'Two', 'Three', 'One' ].
    /home/teo/Desktop/ui-sortable/test/sortable.e2e.directiveoptions.spec.js:110:41
    invoke@/home/teo/Desktop/ui-sortable/bower_components/angular/angular.js:4604:24
    workFn@/home/teo/Desktop/ui-sortable/bower_components/angular-mocks/angular-mocks.js:2810:26
    inject@/home/teo/Desktop/ui-sortable/bower_components/angular-mocks/angular-mocks.js:2779:41
    /home/teo/Desktop/ui-sortable/test/sortable.e2e.directiveoptions.spec.js:84:13
    Expected [ 'One', 'Two', 'Three' ] to equal [ 'Two', 'One', 'Three' ].
    /home/teo/Desktop/ui-sortable/test/sortable.e2e.directiveoptions.spec.js:116:41
    invoke@/home/teo/Desktop/ui-sortable/bower_components/angular/angular.js:4604:24
    workFn@/home/teo/Desktop/ui-sortable/bower_components/angular-mocks/angular-mocks.js:2810:26
    inject@/home/teo/Desktop/ui-sortable/bower_components/angular-mocks/angular-mocks.js:2779:41
    /home/teo/Desktop/ui-sortable/test/sortable.e2e.directiveoptions.spec.js:84:13
PhantomJS 2.1.1 (Linux 0.0.0): Executed 20 of 120 (1 FAILED) (0 secs / 0.702 secPhantomJS 2.1.1 (Linux 0.0.0) uiSortable Custom directive options related should work when "ui-floating: 'auto'" option is used and elements are "float"ing FAILED
    Expected [ 'One', 'Two', 'Three' ] to equal [ 'Two', 'One', 'Three' ].
    /home/teo/Desktop/ui-sortable/test/sortable.e2e.directiveoptions.spec.js:144:41
    invoke@/home/teo/Desktop/ui-sortable/bower_components/angular/angular.js:4604:24
    workFn@/home/teo/Desktop/ui-sortable/bower_components/angular-mocks/angular-mocks.js:2810:26
    inject@/home/teo/Desktop/ui-sortable/bower_components/angular-mocks/angular-mocks.js:2779:41
    /home/teo/Desktop/ui-sortable/test/sortable.e2e.directiveoptions.spec.js:124:13
    Expected [ 'One', 'Three', 'Two' ] to equal [ 'Two', 'Three', 'One' ].
    /home/teo/Desktop/ui-sortable/test/sortable.e2e.directiveoptions.spec.js:150:41
    invoke@/home/teo/Desktop/ui-sortable/bower_components/angular/angular.js:4604:24
    workFn@/home/teo/Desktop/ui-sortable/bower_components/angular-mocks/angular-mocks.js:2810:26
    inject@/home/teo/Desktop/ui-sortable/bower_components/angular-mocks/angular-mocks.js:2779:41
    /home/teo/Desktop/ui-sortable/test/sortable.e2e.directiveoptions.spec.js:124:13
    Expected [ 'One', 'Two', 'Three' ] to equal [ 'Two', 'One', 'Three' ].
    /home/teo/Desktop/ui-sortable/test/sortable.e2e.directiveoptions.spec.js:156:41
    invoke@/home/teo/Desktop/ui-sortable/bower_components/angular/angular.js:4604:24
    workFn@/home/teo/Desktop/ui-sortable/bower_components/angular-mocks/angular-mocks.js:2810:26
    inject@/home/teo/Desktop/ui-sortable/bower_components/angular-mocks/angular-mocks.js:2779:41
    /home/teo/Desktop/ui-sortable/test/sortable.e2e.directiveoptions.spec.js:124:13
PhantomJS 2.1.1 (Linux 0.0.0): Executed 21 of 120 (2 FAILED) (0 secs / 0.74 secsPhantomJS 2.1.1 (Linux 0.0.0): Executed 22 of 120 (2 FAILED) (0 secs / 0.775 secPhantomJS 2.1.1 (Linux 0.0.0): Executed 23 of 120 (2 FAILED) (0 secs / 0.793 secPhantomJS 2.1.1 (Linux 0.0.0): Executed 24 of 120 (2 FAILED) (0 secs / 0.824 secPhantomJS 2.1.1 (Linux 0.0.0) uiSortable Custom directive options related with extra elements should work when "ui-floating: true" option is used FAILED
    Expected [ 'One', 'Two', 'Three' ] to equal [ 'Two', 'One', 'Three' ].
    /home/teo/Desktop/ui-sortable/test/sortable.e2e.directiveoptions.spec.js:104:41
    invoke@/home/teo/Desktop/ui-sortable/bower_components/angular/angular.js:4604:24
    workFn@/home/teo/Desktop/ui-sortable/bower_components/angular-mocks/angular-mocks.js:2810:26
    inject@/home/teo/Desktop/ui-sortable/bower_components/angular-mocks/angular-mocks.js:2779:41
    /home/teo/Desktop/ui-sortable/test/sortable.e2e.directiveoptions.spec.js:84:13
    Expected [ 'One', 'Three', 'Two' ] to equal [ 'Two', 'Three', 'One' ].
    /home/teo/Desktop/ui-sortable/test/sortable.e2e.directiveoptions.spec.js:110:41
    invoke@/home/teo/Desktop/ui-sortable/bower_components/angular/angular.js:4604:24
    workFn@/home/teo/Desktop/ui-sortable/bower_components/angular-mocks/angular-mocks.js:2810:26
    inject@/home/teo/Desktop/ui-sortable/bower_components/angular-mocks/angular-mocks.js:2779:41
    /home/teo/Desktop/ui-sortable/test/sortable.e2e.directiveoptions.spec.js:84:13
    Expected [ 'One', 'Two', 'Three' ] to equal [ 'Two', 'One', 'Three' ].
    /home/teo/Desktop/ui-sortable/test/sortable.e2e.directiveoptions.spec.js:116:41
    invoke@/home/teo/Desktop/ui-sortable/bower_components/angular/angular.js:4604:24
    workFn@/home/teo/Desktop/ui-sortable/bower_components/angular-mocks/angular-mocks.js:2810:26
    inject@/home/teo/Desktop/ui-sortable/bower_components/angular-mocks/angular-mocks.js:2779:41
    /home/teo/Desktop/ui-sortable/test/sortable.e2e.directiveoptions.spec.js:84:13
PhantomJS 2.1.1 (Linux 0.0.0): Executed 25 of 120 (3 FAILED) (0 secs / 0.859 secPhantomJS 2.1.1 (Linux 0.0.0) uiSortable Custom directive options related with extra elements should work when "ui-floating: 'auto'" option is used and elements are "float"ing FAILED
    Expected [ 'One', 'Two', 'Three' ] to equal [ 'Two', 'One', 'Three' ].
    /home/teo/Desktop/ui-sortable/test/sortable.e2e.directiveoptions.spec.js:144:41
    invoke@/home/teo/Desktop/ui-sortable/bower_components/angular/angular.js:4604:24
    workFn@/home/teo/Desktop/ui-sortable/bower_components/angular-mocks/angular-mocks.js:2810:26
    inject@/home/teo/Desktop/ui-sortable/bower_components/angular-mocks/angular-mocks.js:2779:41
    /home/teo/Desktop/ui-sortable/test/sortable.e2e.directiveoptions.spec.js:124:13
    Expected [ 'One', 'Three', 'Two' ] to equal [ 'Two', 'Three', 'One' ].
    /home/teo/Desktop/ui-sortable/test/sortable.e2e.directiveoptions.spec.js:150:41
    invoke@/home/teo/Desktop/ui-sortable/bower_components/angular/angular.js:4604:24
    workFn@/home/teo/Desktop/ui-sortable/bower_components/angular-mocks/angular-mocks.js:2810:26
    inject@/home/teo/Desktop/ui-sortable/bower_components/angular-mocks/angular-mocks.js:2779:41
    /home/teo/Desktop/ui-sortable/test/sortable.e2e.directiveoptions.spec.js:124:13
    Expected [ 'One', 'Two', 'Three' ] to equal [ 'Two', 'One', 'Three' ].
    /home/teo/Desktop/ui-sortable/test/sortable.e2e.directiveoptions.spec.js:156:41
    invoke@/home/teo/Desktop/ui-sortable/bower_components/angular/angular.js:4604:24
    workFn@/home/teo/Desktop/ui-sortable/bower_components/angular-mocks/angular-mocks.js:2810:26
    inject@/home/teo/Desktop/ui-sortable/bower_components/angular-mocks/angular-mocks.js:2779:41
    /home/teo/Desktop/ui-sortable/test/sortable.e2e.directiveoptions.spec.js:124:13
PhantomJS 2.1.1 (Linux 0.0.0): Executed 26 of 120 (4 FAILED) (0 secs / 0.919 secPhantomJS 2.1.1 (Linux 0.0.0) uiSortable Custom directive options related with extra elements should work when "ui-floating: 'auto'" option is used and elements are "display: inline-block" FAILED
    Expected [ 'Two', 'One', 'Three' ] to equal [ 'Two', 'Three', 'One' ].
    /home/teo/Desktop/ui-sortable/test/sortable.e2e.directiveoptions.spec.js:190:41
    invoke@/home/teo/Desktop/ui-sortable/bower_components/angular/angular.js:4604:24
    workFn@/home/teo/Desktop/ui-sortable/bower_components/angular-mocks/angular-mocks.js:2810:26
    inject@/home/teo/Desktop/ui-sortable/bower_components/angular-mocks/angular-mocks.js:2779:41
    /home/teo/Desktop/ui-sortable/test/sortable.e2e.directiveoptions.spec.js:164:13
PhantomJS 2.1.1 (Linux 0.0.0): Executed 27 of 120 (5 FAILED) (0 secs / 0.953 sec
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant