Karma: Environment tests fail
FAILED TESTS:
Environment
successful request
with paginated environments
✖ should render a table with environments
Chrome
Failed: Failed to resolve async component: function CanaryDeploymentCallout() {
cov_23jvujq1s2.f[1]++;
cov_23jvujq1s2.s[1]++;
return __webpack_require__.e(/*! import() */ 4).then(__webpack_require__.bind(null, /*! ee_component/environments/components/canary_deployment_callout.vue */ "../../../ee/app/assets/javascripts/environments/components/canary_deployment_callout.vue"));
}
Reason: ChunkLoadError: Loading chunk 4 failed.
(error: http://localhost:9876/assets/webpack/4.chunk.js)
at ../../../spec/javascripts/test_bundle.js._get__.config.warnHandler (webpack:///builds/gitlab-org/gitlab/spec/javascripts/test_bundle.js:51:1 <- spec/javascripts/test_bundle.js:1814697:3)
at warn (webpack:///builds/gitlab-org/gitlab/node_modules/vue/dist/vue.esm.js:626:1 <- spec/javascripts/test_bundle.js:1624763:26)
at webpack:///builds/gitlab-org/gitlab/node_modules/vue/dist/vue.esm.js:3679:1 <- spec/javascripts/test_bundle.js:1627816:48
at webpack:///builds/gitlab-org/gitlab/node_modules/vue/dist/vue.esm.js:345:1 <- spec/javascripts/test_bundle.js:1624482:10
canary callout
✖ should render banner underneath second environment
Chrome
Uncaught TypeError: Cannot read property 'getAttribute' of null thrown
✖ should render banner underneath first environment
Chrome
Uncaught TypeError: Cannot read property 'getAttribute' of null thrown
test errors
✖ has no Vue warnings
Chrome
Expected true to be false.
at UserContext.<anonymous> (webpack:///builds/gitlab-org/gitlab/spec/javascripts/test_bundle.js:163:1 <- spec/javascripts/test_bundle.js:1814809:38)
TOTAL: 4 FAILED, 5399 SUCCESS
Job #433468671 failed for c8ace7cd: