When running test:browser get Cannot read property 'getComputedFields' of undefined

Hello everyone. I made a clone of the kibana repository and checked out the v6.0.1 tag. After executing all the commands mentioned in CONTRIBUTING.md, when I run npm run test: browser I always receive the following error message.

Error: notifications were left in the notifier: [{"type":"danger","content":"Visualize: Cannot read property 'getComputedFields' of undefined","icon":"warning","title":"Error","lifetime":300000,"actions":["report","accept"],"stack":"TypeError: Cannot read property 'getComputedFields' of undefined\n    at http://localhost:5610/bundles/tests.bundle.js:199082:47\nFrom previous event:\n    at SearchSource.AbstractDataSourceProvider.SourceAbstract._flatten (http://localhost:5610/bundles/tests.bundle.js:199077:10)\n    at SearchReq.getFetchParams (http://localhost:5610/bundles/tests.bundle.js:198388:29)\nFrom previous event:\n    at http://localhost:5610/bundles/tests.bundle.js:198203:26\nFrom previous event:\n    at callClient (http://localhost:5610/bundles/tests.bundle.js:198202:14)\n    at http://localhost:5610/bundles/tests.bundle.js:198006:15\nFrom previous event:\n    at fetchWithStrategy (http://localhost:5610/bundles/tests.bundle.js:198004:37)\n    at http://localhost:5610/bundles/tests.bundle.js:197989:15\nFrom previous event:\n    at http://localhost:5610/bundles/tests.bundle.js:198095:15\n    at Array.map (<anonymous>)\n    at forEachStrategy (http://localhost:5610/bundles/tests.bundle.js:198094:30)\n    at fetchThese (http://localhost:5610/bundles/tests.bundle.js:197988:13)\n    at FetchProvider._lodash2.default.debounce.wait (http://localhost:5610/bundles/tests.bundle.js:197878:6)\n    at complete (http://localhost:5610/bundles/tests.bundle.js:9376:26)\n    at delayed (http://localhost:5610/bundles/tests.bundle.js:9386:12)","info":{"version":"1.2.3","buildNum":1234},"count":1,"timeRemaining":300,"timerId":{"$$state":{"status":0,"pending":[[{"$$state":{"status":0}},null,null,null]]},"$$intervalId":0},"stacks":["TypeError: Cannot read property 'getComputedFields' of undefined\n    at http://localhost:5610/bundles/tests.bundle.js:199082:47\nFrom previous event:\n    at SearchSource.AbstractDataSourceProvider.SourceAbstract._flatten (http://localhost:5610/bundles/tests.bundle.js:199077:10)\n    at SearchReq.getFetchParams (http://localhost:5610/bundles/tests.bundle.js:198388:29)\nFrom previous event:\n    at http://localhost:5610/bundles/tests.bundle.js:198203:26\nFrom previous event:\n    at callClient (http://localhost:5610/bundles/tests.bundle.js:198202:14)\n    at http://localhost:5610/bundles/tests.bundle.js:198006:15\nFrom previous event:\n    at fetchWithStrategy (http://localhost:5610/bundles/tests.bundle.js:198004:37)\n    at http://localhost:5610/bundles/tests.bundle.js:197989:15\nFrom previous event:\n    at http://localhost:5610/bundles/tests.bundle.js:198095:15\n    at Array.map (<anonymous>)\n    at forEachStrategy (http://localhost:5610/bundles/tests.bundle.js:198094:30)\n    at fetchThese (http://localhost:5610/bundles/tests.bundle.js:197988:13)\n    at FetchProvider._lodash2.default.debounce.wait (http://localhost:5610/bundles/tests.bundle.js:197878:6)\n    at complete (http://localhost:5610/bundles/tests.bundle.js:9376:26)\n    at delayed (http://localhost:5610/bundles/tests.bundle.js:9386:12)"]}]
	    at Context.<anonymous> (http://localhost:5610/bundles/tests.bundle.js:1373:12)
Chrome 76.0.3809 (Linux 0.0.0): Executed 3046 of 3259 (1 FAILED) (skipped 6)

I will appreciate any help.

You've likely already done so, but did you do a yarn kbn clean && yarn kbn bootstrap after checking out that v6.0.1 tag?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.