Commit graph

2272 commits

Author SHA1 Message Date
Jonathan Budzenski
e4f1e8f824
[5.6] Bump node to 6.16.0 (#27921)
* [5.6] Bump node to 6.16.0

* bump default max header size

* disable region map test
2019-02-05 16:33:49 -06:00
liza-mae
a8b0e15a03
Remove mocha options 2018-12-07 09:45:24 -07:00
liza-mae
b1a36044d1
Allow for cloud functional testing for 5.6 (#26790) 2018-12-07 09:31:48 -07:00
Tyler Smalley
f9c69f3aa7
[5.6] Disable flaky Management Index Pattern sort test (#26504)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-12-03 08:11:16 -08:00
Tyler Smalley
c4639545b8
[5.6] Bump Node to 6.15.0 (#26315)
Changelog:

- [6.15.0](https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V6.md#6.15.0)

`index result popularity change popularity should be reset on cancel` has been skipped. This particular test exhibited weird behavior in Chrome when controlled by Selenium. When the button to confirm deleting the index pattern was clicked, it would result in multiple (3-5) calls to the delete saved object endpoint, though only one of those calls was represented in the network tab.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-11-30 16:46:41 -08:00
Marco Vettorello
a07347478b [5.6] Fix _source formatting (#22800) (#22867)
* Backport fix to 5.6 structure

* Fix CI error, update functional test to use 5.6 visualize page objects

* removed async and anon function
2018-09-10 11:49:44 -04:00
Thomas Neirynck
f7f47c0c46
[5.6] Update layer name in test (#17757)
This updates the test to match the layer name change in EMS from US States to USA States.
2018-04-18 18:02:05 -04:00
Lee Drengenberg
5bdcc7d56d
[5.6] Make window 100p wider and select Vector Map (#16214)
* Make window 100p wider and select Vector Map

* Remove unused pageObject
2018-01-22 21:01:36 -06:00
Nathan Reese
d773efb7cc
[5.6] test/fix flaky clone test (#15808)
* Investigate fix for flaky clone test

* fix missed merged conflict
2018-01-02 15:24:14 -07:00
Spencer
5c5e03a968
[5.6] [CI] Produce junit test reports (#15281) (#15442)
* [CI] Produce junit test reports (#15281)

* [mocha] use custom reporter for legible results in jenkins

* [jest] use custom result processor for legible results in jenkins

* [karma] enable junit output on CI

* [mocha/junitReporter] accept rootDirectory as configuration

* [jest/reporter] use reporters option added in jest 20

* [toolingLog] remove black/white specific colors

* [dev/mocha/junit] no reason for junit to be a "reporter"

* typos

* [dev/mocha/junit] use else if

* [karma/junit] use string#replace for explicitness

* [junit] use test file path as "classname"

* [ftr/mocha] no longer a "console" specific reporter

* [dev/jest] fix relative path to babel options
2017-12-05 19:41:07 -07:00
Spencer
2c0c0bd7d8
[5.6] [dev/ci_setup] generalize jenkins_setup script for other CI environments (#15178) (#15305)
* [dev/ci_setup] generalize jenkins_setup script for other CI environments

* [dev/ci_setup] accept more general `CACHE_DIR` env arg

* [dev/ci_setup] node.js install might not be invalid
2017-11-30 10:59:47 -07:00
Peter Pisljar
35c631feb0
fixing field formatters for gauge (#15145) (#15245)
fixing field formatters for gauge
2017-11-30 10:20:20 +01:00
Jonathan Budzenski
836a4213f8
[5.6] [ci] Build docs (#15219) 2017-11-29 09:17:30 -06:00
Spencer
ee26f2a728
[5.6] [dashboard/functionalTests] stabilize initialization ordering (#15031) (#15072) 2017-11-20 19:57:10 -07:00
Thomas Neirynck
85a16bf9b1 Re-enable the tilemap test (#14532) (#14540)
Enables the tile-map test. this was disabled due to CORS-issues on the server end. These are now resolved.

This reverts commit e7fb1b0d8f.
2017-10-25 11:07:04 -04:00
Stacey Gammon
9ca2bd38d5 Comment out tile map tests to get the build passing again (#14519) 2017-10-23 17:54:28 -04:00
Chris Roberson
4129353726 [Management] Allows for imports to select existing index (#14137) (#14323) 2017-10-04 22:59:02 -07:00
Kim Joar Bekkelund
6819311ec8 [index patterns] Don't attempt to wrap Boom errors (#14253) (#14265) 2017-10-03 18:25:08 +02:00
Chris Cowan
864b8719e2 Fixes #14127 - TSVB should check id vis params instead of type (#14129)
* Fixes #14127 - TSVB should check id vis params instead of type

* Adding functional test from master
2017-09-22 17:19:04 -04:00
Stacey Gammon
8f36778c93 Avoid a wrapped retry and use exists instead of find, which will take up all the time allotted for the retry if it fails once (#13467) (#14083) 2017-09-20 15:51:10 -04:00
Court Ewing
6f17475ebc Run tests against an actual Kibana build (#11237) (#13490)
* build before running selenium

* change directory into built snapshot

* WIP: what is in the build dir

* WIP: skip unit tests

* run selenium on build

* [functional tests on build] Derive version

* [functional tests on build] Missing folder name prefix

* WIP: debug on ubuntu VM

* WIP: double kibana stabilize timeout

* WIP: remove ubuntu VM debug change

* WIP: add logs for docParams

* WIP: add logs for es

* build release version without -SNAPSHOT-

* [functional test release] Cleanup
2017-08-23 08:55:23 -04:00
Spencer
77df3f520e [5.6] [npm] move personal forks into elastic org (#13410) (#13431)
(cherry picked from commit 7e16d19249)
(cherry picked from commit ed628658cc)
2017-08-10 12:19:59 -07:00
Spencer
4cc37a38d7 [5.6] Implement esTestCluster test util (#13099) (#13408)
* [partial backport] extract kbnServer test utils from #12554

* Implement esTestCluster test util (#13099)

* [es/tests] remove unused module

* [testUtil/es] add utility for starting es nodes in tests

* [ftr/tests] use esTestCluster util to start es

* [es/tests/routes] use esTestCluster to start own es

* [testUtils/kbnServer] disable uiSettings unless plugins are enabled

* [testUtils/esTestCluster] use standard test es port by default

* [server/http/tests] add esTestCluster to setup

* [test/config] unify es test config into a single module

* [testUtils/esTestCluster] directory is no longer configurable

* [testUtils/esTestCluster] throw when es.start() is called again without es.stop()

* [testUtils/esTestCluster] is* checks should not mutate state

(cherry picked from commit 6748b22d03)

* [testUtils/esTestCluster] use more standard api style (#13197)

(cherry picked from commit d36080bca8)

* [scanner] use new esTestConfig service
2017-08-09 00:36:59 -07:00
Chris Roberson
fd560bc853 Ensure conflicted fields can be searchable and/or aggregatable (#13070)
* Ensure that conflict fields can be searchable and/or aggregatable in the UI

* Use `some` instead of `reduce`

* Revert UI changes

* Attempt to convert multiple ES types to kibana types, and if they all resolve to the same kibana type, there is no conflict

* Add comma back

* Cleaner code

* Add tests

* Update failing test to handle searchable and aggregatable properly

* Add functional test to ensure similar ES types are properly merged

* Update tests

* Revert shard size
2017-07-28 12:33:03 -04:00
Lukas Olson
858f6fbbd3 Change default query to match_all (#13047)
* Change default query to match_all

* Move files around and add tests

* Fix dashboard isQueryFilter

* Add secondary describe to separate tests

* Fix dashboard test

* Change default discover query

* Fix functional test
2017-07-24 12:32:54 -07:00
Stacey Gammon
ded1eec3ac Fix search issue on listing page + tests (#12618)
* Fix search issue on listing page + tests

* fix test case inconsistency

* use backtics to create the search string

(cherry picked from commit 31b33659ca)
2017-07-14 12:29:01 -07:00
Brandon Kobel
89394b4490 Modified KibanaServerVersion to parse v5 and v6 status formats (#12878)
* Modified KibanaServerVersion to parse v5 and v6 status formats

* Furthering the war against lodash
2017-07-14 12:24:45 -07:00
Spencer
09d0d7c1c7 [ftr/kbnServer] prevent caching errors when fetching status (#12848)
(cherry picked from commit 10656c2108)
2017-07-13 17:04:10 -07:00
Spencer
929aa8efae [elasticsearch] patch mappings that are missing types (#12783)
* [elasticsearch] patch mappings that are missing types

* [elasticsearch/healthCheck] fix tests

* fix doc typo

* [tests/functional/dashboard] fix suite name

* [es/healthCheck/ensureTypesExist] limit randomness a bit

* [test/functional] update es archives with complete mappings
2017-07-12 16:15:59 -07:00
Tyler Smalley
3c64283dd1 Use SavedObjectsClient for Courier Index Pattern (#12719) (#12779)
* Index pattern is created, by default, with a random ID by Elasticsearch
* Updated all references requiring the pattern itself to use indexPattern.title
* Advanced options toggle added to index pattern creation page to provide a specified ID
* If an index pattern does not exist, the user is given a link to create a pattern with the referenced ID.
2017-07-11 21:43:23 -07:00
Tyler Smalley
1cd259738e Uses SavedObjectsClient for UI Settings (#12747) 2017-07-11 12:48:25 -07:00
Spencer
9828ebab0f [ftr/dashboard+scripting] disable unstable tests (#12592)
(cherry picked from commit aa729af3a1)
2017-06-30 11:40:07 -07:00
Thomas Neirynck
1734f4f14e removing old point series defaults (#11958) (#12457)
This fixes issues where properties from the visualizations saved in older versions were not applied to the Visualization.

This also addressed the fontSize of metrics not being applied on the Dashboard.
2017-06-21 16:57:59 -04:00
Spencer
2c4fba3fc2 [5.5] [api/indexPatterns/fields] convert all es errors to Boom errors (#12435)
(cherry picked from commit 6d605ec30a)
2017-06-20 18:37:30 -07:00
spalger
821789b887 [ftr/leadfoot] fix function signature
(cherry picked from commit 445c47e248)
2017-06-20 16:14:26 -07:00
spalger
81b7f8493b [ftr/leadfoot] retry session creation before timeout
(cherry picked from commit a736754f14)
2017-06-20 16:14:19 -07:00
Thomas Neirynck
50145bd07a Revert "disable save button if visualization is dirty (#11576)" (#12152) (#12290)
This reverts commit efc621826b.
2017-06-12 23:24:21 -04:00
Spencer
2d8565540f force timeout, logs indicate that pings are getting stuck (#12251)
* force timeout, logs indicate that pings are getting stuck

(cherry picked from commit ff6a71819be272253d969a0be681dc9749a0f00d)

* actually reject the promise

(cherry picked from commit fe1ca5d399)
2017-06-12 12:45:31 -07:00
Stacey Gammon
a5f1e10b1e Preserve the saved vis url when using the add new vis link from dashboard (#11932) (#12199)
* Preserve the saved vis url when using the add new vis link from dashboard

Fixes https://github.com/elastic/kibana/issues/11078

* Store the edit url in browser history as well

* Fix tests by reordering them.

* add a more explanatory comment
2017-06-08 09:14:02 -04:00
Joe Fleming
2a5dab129d remove intern setup (#12201)
#10937 seems to have brought this file back, likely as part of a bad merge resolution
2017-06-06 13:30:54 -07:00
Shaunak Kashyap
d9c1df98a6 Revert the Getting Started page (#12154)
* Revert "When on an embedded page, bypass Getting Started gate check (#12040)"

This reverts commit 05293f1c8d.

* Revert "Making tweaks. (#12003)"

This reverts commit aa3fa06f61.

* Revert "Functional tests for the Getting Started page (#11850)"

This reverts commit 099178a7ca.

* Revert "Prevent flicker on Getting Started page (#11826)"

This reverts commit c4b3ade27d.

* Revert "Getting Started page (#11805)"

This reverts commit 32eff371f2.

* Remove check for Getting Started page from navigateToApp
2017-06-05 14:29:26 -07:00
Spencer
60db93758b [5.x] [IndexPatterns] Support cross cluster search (#11114) (#12155)
* [indexPatterns] support cross cluster patterns

* [vis] remove unused `hasTimeField` param

* [indexPatterns/create] fix method name in view

* [indexPatterns/create] disallow expanding with ccs

* [indexPatterns/create] field fetching is cheaper, react faster

* [indexPatterns/resolveTimePattern/tests] increase readability

* [tests/apiIntegration/indexPatterns] test conflict field output

* [indexPatterns/fieldCaps/readFieldCapsResponse] add unit tests

* [test/apiIntegration] ensure random word will not be valid

* [indexPatterns/ui/client] remove unused import

* remove use of auto-release-sinon

* [indexPatterns/create] don't allow expand when cross cluster

* [indexPatternsApiClient/stub] use angular promises

* [indexPatterns/create] add tests for base create ui behaviors

(cherry picked from commit e5deca679c)
2017-06-02 15:44:40 -07:00
Stacey Gammon
79ca78acb6 Update dashboard based on url changes (#12123) (#12145)
* Update dashboard based on url changes

* make clickSelector a retry in case it fails the first time
2017-06-02 15:28:14 -04:00
Aleh Zasypkin
d1a7352c4d Get rid of auto-release-sinon in favour of built-in sinon.sandbox functionality. (#12099) (#12119)
Cherry-picked from commit 4bc4c58d8c
2017-06-02 11:21:52 +02:00
Spencer
d397a22d0e [5.x] [eslint] Upgrade to latest shared eslint config (#12129) (#12130)
* [eslint] upgrade to latest eslint-config-kibana

* [eslint] autofix violations discovered by updated rules

* [eslint] remove import resolver

(cherry picked from commit 14014872aa)
2017-06-01 19:00:00 -07:00
Stacey Gammon
2c772409ab Clean up clone tests to new style so they actually run (#12032) (#12109)
* Clean up clone tests to new style so they actually run

* Use new retry service

* Use correct case with the dashboard copy name
2017-06-01 14:07:49 -04:00
Thomas Neirynck
f6be1e4698 [Backport] Add Region Map Visualization (#12112)
- Users can now create choropleth maps. This requires configuring an inner join between the results of a term-aggregation and a reference vector layer. This vector layer needs to be in the GeoJson format. By default, Kibana uses vector layers serverd by a data service hosted by Elastic. Users can also bring in their own layers by adding configuration entries in the kibana.yml. These need to point to a CORS-enabled data service that accepts requests from the Kibana application.
- For clarity, the tilemap is renamed to Coordinate Map.
- A new manifest is published by Elastic. this includes metadata for the available tilemap services, as well as metadata for the available vector data layers.

Required manual edits to resolve

Conflicts:
	src/core_plugins/kibana/inject_vars.js
2017-06-01 10:57:21 -04:00
Stacey Gammon
22ba3a0622 fix dashboard view/edit flaky test (#12026) (#12100)
* attempt to fix dashboard view/edit flaky test

hope to fix https://github.com/elastic/kibana/issues/12014

* Need to wait for global loading indicator to be hidden once top nav is visible

* use Error object for throw

* inline function only used once
2017-05-31 14:39:47 -04:00
Peter Pisljar
9c67b2a0e2 vislib gauge chart (#10336) (#12093)
* gauge chart

* adding ranges and color options

* adding green to red color pallete

* adding more options

* fixing based on tanya's review

* fixing label positions

* improving range settings

* percentage mode applies to legend

* hidding labels when too long

* updating based on ui rview

* rebasing on master

* adding unit tests

* adding selenium tests

* fixing tests

* adding metric gauge type

* removing metric vis

* adding metric and goal charts

* updating options

* fixing bugs

* fixing based on review from Thomas

* updating icons

* fixing tests

* updating based on last review

* hide some settings if only one range

* fixing tests

* removing unsupported aggs

* fixing defaults

* fixing options

* fixing error with inverse color schema

* adding spacing to info icon

* fixing some tiny issues
2017-05-31 16:36:36 +02:00
Court Ewing
7f81f944db Revert "Switch to Yarn (#11637)"
This reverts commit d304f29b79.

Until we get all the relevant infra configured with yarn as well.
2017-05-27 08:52:20 -04:00