mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Closes https://github.com/elastic/kibana/issues/170656 PR adds exists filter to ensure geo field exists ### Test instructions 1. In console, run: ``` PUT geo1 {} PUT geo1/_mapping { "properties": { "location": { "type": "geo_point" } } } PUT geo1/_doc/1 { "location": "25,25" } PUT geo2 {} PUT geo2/_doc/1 {} ``` 2. Create `geo*` data view 3. create new map 4. add documents layer from `geo*` data view. 5. Add heatmap layer from `geo*` data view. 6. Verify geo1 data is displayed and warning is not displayed fro geo2 shard failures --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> |
||
---|---|---|
.. | ||
common | ||
public | ||
server | ||
config.ts | ||
jest.config.js | ||
kibana.jsonc | ||
README.md | ||
tsconfig.json |
Maps
Visualize geo data from Elasticsearch or 3rd party geo-services.
Testing
Run all tests from the x-pack
root directory
- Unit tests:
yarn test:jest x-pack/plugins/maps --watch
- Functional tests:
- Run
node scripts/functional_tests_server
- Run
node ../scripts/functional_test_runner.js --config ./test/functional/apps/maps/group1/config.ts
- Run
node ../scripts/functional_test_runner.js --config ./test/functional/apps/maps/group2/config.ts
- Run
node ../scripts/functional_test_runner.js --config ./test/functional/apps/maps/group3/config.ts
- Run
node ../scripts/functional_test_runner.js --config ./test/functional/apps/maps/group4/config.ts
- Run