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

**URL:** <https://discuss.elastic.co/t/when-running-test-browser-get-cannot-read-property-getcomputedfields-of-undefined/197928>\
**Category:** Kibana\
**Created:** [September 3, 2019, 6:38pm UTC](https://discuss.elastic.co/t/when-running-test-browser-get-cannot-read-property-getcomputedfields-of-undefined/197928 "2019-09-03T18:38:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alejandro\_Larosa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alejandro_larosa/32/53525_2.png) [@Alejandro\_Larosa](https://discuss.elastic.co/u/Alejandro_Larosa)\
**Post date:** [September 3, 2019, 6:38pm UTC](https://discuss.elastic.co/t/when-running-test-browser-get-cannot-read-property-getcomputedfields-of-undefined/197928/1 "2019-09-03T18:38:24Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![joelgriffith](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joelgriffith/32/53738_2.png) [@joelgriffith](https://discuss.elastic.co/u/joelgriffith)\
**Post date:** [September 6, 2019, 4:58pm UTC](https://discuss.elastic.co/t/when-running-test-browser-get-cannot-read-property-getcomputedfields-of-undefined/197928/2 "2019-09-06T16:58:25Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 4, 2019, 4:58pm UTC](https://discuss.elastic.co/t/when-running-test-browser-get-cannot-read-property-getcomputedfields-of-undefined/197928/3 "2019-10-04T16:58:27Z")

</div>

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