JS Test error on Windows

From: Dave Page <dpage(at)pgadmin(dot)org>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: JS Test error on Windows
Date: 2018-04-25 15:45:44
Message-ID: CA+OCxowNSoF_1mfocaAJKxRHaLO7A-sDubqOWnW-m18A9KgF5g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi

Setting up an new build system running Windows 2016 and I'm hitting an
error with the JS tests as below. I have Yarn 1.6.0, Node 8.11.1 and get
the following error running yarn run test:karma-once. The linter and
bundler work fine, FWIW, and I see the same error running either manually
or through Jenkins. jquery.event.drag 2.2 and 2.3.0 are in the slickgrid
lib directory. Chrome is 66.0.3359.117.

Does anyone have any idea what's going on?

webpack: Compiled successfully.
HeadlessChrome 0.0.0 (Windows 10 0.0.0) ERROR
{
"message": "Uncaught Error: SlickGrid requires jquery.event.drag module
to be loaded\nat
regression/javascript/selection/column_selector_spec.js:13842:3\n\nError:
SlickGrid requires jquery.event.drag module to be loaded\n at
Object.<anonymous>
(regression/javascript/selection/column_selector_spec.js:13842:9)\n at
Object.5
(regression/javascript/selection/column_selector_spec.js:17810:30)\n at
__webpack_require__
(regression/javascript/selection/column_selector_spec.js:20:30)\n at
Object.904
(regression/javascript/selection/column_selector_spec.js:18335:1)\n at
__webpack_require__
(regression/javascript/selection/column_selector_spec.js:20:30)\n at
regression/javascript/selection/column_selector_spec.js:63:18\n at
regression/javascript/selection/column_selector_spec.js:66:10",
"str": "Uncaught Error: SlickGrid requires jquery.event.drag module to
be loaded\nat
regression/javascript/selection/column_selector_spec.js:13842:3\n\nError:
SlickGrid requires jquery.event.drag module to be loaded\n at
Object.<anonymous>
(regression/javascript/selection/column_selector_spec.js:13842:9)\n at
Object.5
(regression/javascript/selection/column_selector_spec.js:17810:30)\n at
__webpack_require__
(regression/javascript/selection/column_selector_spec.js:20:30)\n at
Object.904
(regression/javascript/selection/column_selector_spec.js:18335:1)\n at
__webpack_require__
(regression/javascript/selection/column_selector_spec.js:20:30)\n at
regression/javascript/selection/column_selector_spec.js:63:18\n at
regression/javascript/selection/column_selector_spec.js:66:10"
}

HeadlessChrome 0.0.0 (Windows 10 0.0.0) ERROR
{
"message": "Uncaught Error: SlickGrid requires jquery.event.drag module
to be loaded\nat
regression/javascript/selection/column_selector_spec.js:13842:3\n\nError:
SlickGrid requires jquery.event.drag module to be loaded\n at
Object.<anonymous>
(regression/javascript/selection/column_selector_spec.js:13842:9)\n at
Object.5
(regression/javascript/selection/column_selector_spec.js:17810:30)\n at
__webpack_require__
(regression/javascript/selection/column_selector_spec.js:20:30)\n at
Object.904
(regression/javascript/selection/column_selector_spec.js:18335:1)\n at
__webpack_require__
(regression/javascript/selection/column_selector_spec.js:20:30)\n at
regression/javascript/selection/column_selector_spec.js:63:18\n at
regression/javascript/selection/column_selector_spec.js:66:10",
"str": "Uncaught Error: SlickGrid requires jquery.event.drag module to
be loaded\nat
regression/javascript/selection/column_selector_spec.js:13842:3\n\nError:
SlickGrid requires jquery.event.drag module to be loaded\n at
Object.<anonymous>
(regression/javascript/selection/column_selector_spec.js:13842:9)\n at
Object.5
(regression/javascript/selection/column_selector_spec.js:17810:30)\n at
__webpack_require__
(regression/javascript/selection/column_selector_spec.js:20:30)\n at
Object.904
(regression/javascript/selection/column_selector_spec.js:18335:1)\n at
__webpack_require__
(regression/javascript/selection/column_selector_spec.js:20:30)\n at
regression/javascript/selection/column_selector_spec.js:63:18\n at
regression/javascript/selection/column_selector_spec.js:66:10"
}

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this
command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this
command.

Thanks.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Joao De Almeida Pereira 2018-04-25 16:10:52 Re: [pgadmin4][Patch]: Test cases for the backup module
Previous Message Joao De Almeida Pereira 2018-04-25 13:25:49 Re: [pgAdmin4][RM#3155] Allow user to lock the Layout