Commit graph

2200 commits

Author SHA1 Message Date
LeeDr
e4da8a6b93 Remove unused remote vars. 2016-09-05 13:41:22 -05:00
Rashid Khan
589ea55f7e Merge branch 'master' of github.com:elastic/kibana into migrate/timelion 2016-09-02 09:20:49 -07:00
LeeDr
fb526944ff Added missing selectOrderBy in visualize_page, and try loop around getting line chart data 2016-09-02 11:20:34 -05:00
LeeDr
218f29f051 Test order aggs by term #8141 2016-09-02 09:35:49 -05:00
Jim Unger
a35aac2c5d Removed pipelines from ingest endpoint, and import csv wizard 2016-08-31 12:36:55 -05:00
LeeDr
a66fc9d52d return promise from updateConfigDoc 2016-08-30 15:11:04 -05:00
LeeDr
4cad856136 Work-around #7496 and/or #7055 by re-setting default index pattern 2016-08-30 15:11:03 -05:00
LeeDr
4bc86f4327 Changed required field data pane width and increased window width for changes in side bar. 2016-08-30 14:19:15 -05:00
Rashid Khan
8e5ef7c5b2 Merge branch 'master' of github.com:elastic/kibana into migrate/timelion 2016-08-30 11:11:03 -07:00
Rashid Khan
1c47159939 Merge branch 'master' of github.com:elastic/kibana into migrate/timelion 2016-08-29 09:09:01 -07:00
Matthew Bargar
6c8ec66b3a Add a new GET script languages API endpoint
To provide additional language options for scripted fields, Kibana needs
to know what languages are available for inline scripting in
Elasticsearch. This new Kibana API grabs up to date information from
Elasticsearch and provides it in an easy to digest format for the UI.

The response body from the API is a simple JSON array with a list of
languages that are enabled for inline scripting. The API also filters
out languages that don't make sense in scripted fields, like 'mustache'.

An example request might look like this:

`GET /api/kibana/scripts/languages`

200 OK
`['expression', 'painless']`
2016-08-29 11:26:27 -04:00
Tyler Smalley
2cf97d6c24 Specify API version for Elasticsearch client in ScenarioManager
This change specifically comes after the deprecation of POST for creating an index

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2016-08-25 06:54:54 -07:00
Rashid Khan
88cb02c2e6 Add timeseries chart 2016-08-15 09:36:24 -07:00
LeeDr
409ec9d55c Merge branch 'master' into addTileMapTests 2016-08-11 12:42:52 -05:00
LeeDr
168167bfee Removed getZoomLevel functionality and replaced with more data checks. 2016-08-11 11:30:43 -05:00
Jonathan Budzenski
b3c6a13bad
[api tests] update pipeline tests to grab id from object keys instead of array index 2016-08-09 11:36:51 -05:00
LeeDr
069f335c0b Several new TileMap tests for 10 zoom levels, Fit Data Bounds, and save zoom level 2016-08-04 12:15:23 -05:00
Lee Drengenberg
4469e88ea7 Merge pull request #7701 from ppisljar/fix/7332
fix #7332 - saving vis with % in name causes error
2016-08-03 15:36:08 -05:00
ppisljar
30fcbb636c fixing test 2016-07-27 15:20:05 +02:00
ppisljar
2f4e5aa0fa removing screenshot from test 2016-07-26 18:03:30 +02:00
ppisljar
06bb7ab10c updating tests 2016-07-26 10:43:59 +02:00
Stéphane Campinas
48e7c94934 corrected CSS selection 2016-07-21 11:47:25 +01:00
Jonathan Budzenski
b053aad5df [tests] Rename apps option to appSuites so we don't override the intern.apps object 2016-07-19 17:08:01 -05:00
Jonathan Budzenski
e4b584256d [tests] Add ui test application filtering 2016-07-19 15:30:25 -05:00
ppisljar
a484283837 - added analyze_wildcard to query body 2016-07-18 16:13:42 +02:00
ppisljar
ef372ca308 - updated the test (wont pass until # is fixed) 2016-07-13 16:04:04 +02:00
ppisljar
25d34d012c updating tests to test with % in visualization name 2016-07-13 13:28:19 +02:00
LeeDr
2953d84c6f change other headerPage to header 2016-07-06 17:14:12 -05:00
LeeDr
2945d75df6 Fix a headerPage typo, un-nest some promises. 2016-07-06 16:44:44 -05:00
LeeDr
39bcb7f073 Merge branch 'master' into fixGoToPageTiming 2016-07-06 15:47:16 -05:00
LeeDr
7f5590aa5b Changes to fix settings page failure 2016-07-06 15:46:00 -05:00
spalger
8adaecb9be [ci] source the setup script instead of executing it 2016-07-05 12:46:53 -07:00
spalger
e98c3d4c42 [ci] tweak ci scripts to debug 2016-07-05 11:08:22 -07:00
LeeDr
a8c1b4e804 Try to fix another staleElementReference in data table test 2016-07-01 17:40:01 -05:00
spalger
ee29dc6d02 [ci] make jenkins selenium script executable 2016-07-01 12:32:03 -07:00
spalger
b7c8db694a [ci] run the unit tests with xvfb-run 2016-07-01 12:22:39 -07:00
CJ Cenizal
ce9eb95901 Merge pull request #7558 from cjcenizal/refactor/functional-tests-page-objects
Migrate all functional tests to use PageObjects module.
2016-07-01 12:04:23 -07:00
spalger
55d95790ea [ci] call xvfb-run before selenium tasks 2016-07-01 11:35:56 -07:00
spalger
7df6040536 [ci] split unit and selenium tasks into separate jenkins scripts 2016-07-01 11:31:02 -07:00
spalger
995c408410 [ci] add script for snapshot build job 2016-06-30 15:41:47 -07:00
LeeDr
583c89012c Add a debug log so we can tell what page we're going to if we fail 2016-06-30 15:13:56 -05:00
spalger
cb0659f98d [ci] move ci setup tasks into source control
Until now, the ci setup tasks were stored in the Jenkins job configuration. This moves the setup into source control so that jenkins can be told to execute `./test/scripts/jenkins_{JOB_TYPE}.sh` no matter what branch of kibana it is dealing with.
2016-06-30 12:50:56 -07:00
LeeDr
cfe85639fc Add getSpinnerDone after clicking a new page in index pattern field list 2016-06-30 14:44:57 -05:00
CJ Cenizal
733a52d00a Remove page object references from support/index. 2016-06-29 06:02:00 -07:00
CJ Cenizal
499e659adb Remove empty constructors from Page Object classes. 2016-06-28 09:12:22 -07:00
CJ Cenizal
91e919d1c5 Convert all page objects to be ES6 classes and rely on PageObjects module instead of support. 2016-06-27 17:22:47 -07:00
CJ Cenizal
0f397f2bc4 Migrate dashboard functional tests to use PageObjects. 2016-06-27 16:00:39 -07:00
CJ Cenizal
dc51ad098f Migrate console functional tests to use PageObjects. 2016-06-27 15:57:58 -07:00
CJ Cenizal
e7189e5349 Migrate visualize functional tests to PageObjects. 2016-06-27 15:51:29 -07:00
CJ Cenizal
4cc868c932 Migrate management functional tests to use PageObjects. 2016-06-27 15:39:40 -07:00
CJ Cenizal
5ab2a102e8 Migrate status page functional tests to use PageObjects. 2016-06-27 13:14:10 -07:00
CJ Cenizal
0a501b3b70 Migrate all discover functional tests to use PageObjects. 2016-06-27 13:04:08 -07:00
Jonathan Budzenski
36a88bc165 [tests] Remove _timestamp mapping from fixtures 2016-06-24 11:37:14 -05:00
CJ Cenizal
64828f12ec Create packages for util and page object files in functional tests.
- Rename page_objects.js to page_objects/index.js.
- Create support/utils folder to contain bdd_wrapper, elastic_dump, es_client, log, and try, all exported by an index.js.
2016-06-23 10:26:45 -07:00
CJ Cenizal
2c7394b033 Add PageObjects facade to support/index.js, allowing us to enable all functional tests during the refactor. 2016-06-23 10:24:17 -07:00
CJ Cenizal
31137131f3 Refactor functional tests, particularly support/index.js.
- Each page object exposes an init method, which accepts a reference to remote.
- Extract page objects from support/index.js into PageObjects.js.
- PageObjects.js also exposes an init method, which accepts a reference to remote. It’s responsible for passing this onto all of the page object instances.
- The functional tests index file calls PageObjects.init and provides the remote reference.
- Extract log and try method functionality from common.js into Log and Try utils.
- Remove common.js dependency from es_client.js and elastic_dump.js.
- Partially convert “discover” tests to use PageObjects, as a demonstration.
2016-06-23 10:24:17 -07:00
Tyler Smalley
b4c3991588 Merge pull request #7516 from tylersmalley/7481-require-index-pattern
Adds route option for requireDefaultIndex
2016-06-22 15:06:40 -07:00
Tyler Smalley
14ef79717c Resolves tests for management redirect changes
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2016-06-21 23:36:35 -07:00
CJ Cenizal
37f82f146f Create visual_regression test suite.
- Add test:visualRegression npm script.
- Split up test:visualRegression grunt task into takeScreenshots and buildGallery subtasks.
- Add intern_visual_regression.js test file.
- Rename api_itern.js -> intern_api.js for consistency.
- Refactor delayed exports logic for readability.
- Refactor common.js page object to use ES2015 Class.
2016-06-21 20:50:55 -07:00
Matt Bargar
15a4fa1cdd Merge pull request #7372 from elastic/feature/ingest
Add Data - CSV
2016-06-17 16:23:46 -04:00
LeeDr
b7e18730a7 Remove a couple unneeded calls to getSpinnerDone 2016-06-17 10:26:37 -05:00
LeeDr
570f54c737 remove some out of date comments 2016-06-16 15:40:25 -05:00
LeeDr
e558f00c42 minor change in settings test might fix previous failure 2016-06-16 14:30:01 -05:00
Matthew Bargar
83595aecd5 Undo changes to functional tests for defunct add data landing page 2016-06-16 14:59:25 -04:00
LeeDr
ae56c13583 merge master 2016-06-16 13:54:01 -05:00
LeeDr
bb042f767b Documenting magic number 2016-06-16 12:55:33 -05:00
Matthew Bargar
0065fbaa9b Merge branch 'master' into feature/ingest
Resolved conflicts, still need to move around some add data files.
2016-06-16 12:57:29 -04:00
LeeDr
4234c9f6e3 try around some failing dashboard test steps 2016-06-16 10:23:42 -05:00
LeeDr
65f74e08b9 Limit length of currentUrl when navigating. Too long indicates it didn't change from TileMap to New Vis 2016-06-16 09:02:53 -05:00
LeeDr
475220a129 getSpinnerDone at the end of loadSavedDashboard 2016-06-15 18:06:01 -05:00
LeeDr
e037140866 getSpinnerDone after setting absolute time range and clicking Go 2016-06-15 16:50:26 -05:00
Tyler Smalley
643ae1b78c Merge pull request #7284 from tylersmalley/7135-management
Changes settings to management
2016-06-15 14:04:53 -07:00
LeeDr
14b7d3a9e2 Additional stability improvements 2016-06-15 15:03:09 -05:00
LeeDr
739b00581e Add a sleep back into saveDashboard 2016-06-15 13:29:51 -05:00
LeeDr
8531d9bf01 Remove auth from URL 2016-06-15 12:59:44 -05:00
LeeDr
bfcb875c77 Merge master 2016-06-15 11:29:23 -05:00
LeeDr
d4914a3cff getSpinnerDone in dashboard 2016-06-15 11:19:59 -05:00
spalger
e232e07660 [statusPage] update functional test 2016-06-14 21:38:56 -07:00
spalger
10be384652 [statusPage] remove status grouping, fix some classnames 2016-06-14 20:43:03 -07:00
spalger
ef9eba554c [status] update functional tests to use testSubject selector 2016-06-14 19:07:49 -07:00
Tyler Smalley
91b6d92529 Changes settings to management
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2016-06-14 16:43:12 -07:00
CJ Cenizal
a1a7fc48c6 Update baseline screenshots with loaded CSS. 2016-06-14 09:37:05 -07:00
LeeDr
057ec2db81 Testing a sleep between get and refresh 2016-06-14 11:23:10 -05:00
LeeDr
3e22acdaf9 Update intern version to 3.2.3, fix failing test 2016-06-14 10:41:37 -05:00
CJ Cenizal
9e353fd451 Add visual regression screenshot gallery.
- Add 'test:visualRegression' grunt task.
- Run 'test:visualRegression' as part of npm script 'test'.
- Add 'clean:screenshots task'.
- Clean screenshots/session when funtional tests are run.
2016-06-14 08:33:45 -07:00
Matthew Bargar
c31f9cac21 Merge branch 'master' into feature/ingest 2016-06-13 18:34:44 -04:00
LeeDr
5d02617830 Change browser from firefox to chrome. Add try in saveDashboard. 2016-06-13 16:51:40 -05:00
CJ Cenizal
0fb84e4696 Take screenshots of UI throughout functional tests. 2016-06-13 11:44:49 -07:00
spalger
f0c370209e [functional tests] move common.handleError to a higher level 2016-06-12 21:02:06 -07:00
spalger
ac0086341d [functional tests] remove extra IIFE wappers 2016-06-11 17:47:29 -07:00
Matthew Bargar
a0915145dd Merge branch 'master' into feature/ingest 2016-06-10 16:27:42 -04:00
CJ Cenizal
8b08d1ac0b Fix bug in test common.js handleError method when saving a screenshot. 2016-06-10 12:44:59 -07:00
CJ Cenizal
9fa2e82b31 Add screenshot-comparison utility, to protect against visual regressions during CSS refactors.
- Remove test/output and added test/screenshots (requires a Jenkins change).
- Add test/screenshots/baseline images. These document the expected state of the UI.
- Add dependency on image-diff package.
- Add utilities/compareScreenshots.js, which can be run via 'npm run compareScreenshots'.
2016-06-08 15:52:23 -07:00
LeeDr
2462b49df1 Condensed common delete index and updateConfigDoc into one method. 2016-06-06 14:08:33 -05:00
Matthew Bargar
0a956057f6 Merge branch 'master' into feature/ingest 2016-06-03 15:53:42 -04:00
LeeDr
c39217480b Switch Discover and Settings tests to use esClient to wipe ,kibana 2016-06-03 13:49:00 -05:00
Lee Drengenberg
70cae37480 Merge pull request #7346 from LeeDr/visualizeTestsWithElasticdump
Use elasticdump to preload default index for visualization tests.
2016-06-03 11:32:06 -05:00
LeeDr
b614e4de35 Minor cleanup logstash return 2016-06-03 10:03:35 -05:00
LeeDr
b36f1e02a6 Remove logging from scenario_manager 2016-06-03 08:53:32 -05:00
LeeDr
1c43bf7e50 Remove logging from scenario_manager 2016-06-02 21:16:19 -05:00
LeeDr
61f975c843 Comment-out common and debug statements in scenario_manager 2016-06-02 18:10:29 -05:00
Nicolás Bevacqua
b6a0b8979d Merge pull request #6543 from bevacqua/bugfix/no-results-timepicker
Fix timepicker button behavior in "No Results" page for timeseries data
2016-06-02 19:22:49 -03:00
LeeDr
1c0cbe23dc Wait for loading of logstash to finish. 2016-06-02 17:10:22 -05:00
Matthew Bargar
24a034e9f9 [API] Add metafields from uiSettings to index patterns created by ingest API 2016-06-01 18:14:51 -04:00
Joe Fleming
94cc728851 Merge pull request #6845 from Bargs/ingest/uploadUI
Add Data - CSV Upload UI
2016-06-01 14:51:55 -07:00
LeeDr
c45f937a35 Add data files for visualize tests. 2016-06-01 13:36:40 -05:00
LeeDr
07e5686169 Use elasticdump to preload default index for visualization tests. 2016-06-01 13:09:44 -05:00
Lee Drengenberg
6ebe67d44b Merge pull request #7337 from LeeDr/discoverTestBackButton
One new discover test for issue #5937 use back button.
2016-06-01 09:32:44 -05:00
LeeDr
43c7257b88 One new discover test for issue #5937 use back button. 2016-05-31 23:36:25 -05:00
Lee Drengenberg
b50451f90c Merge pull request #7298 from LeeDr/dashboardTests
New dashboard tests using elasticdump
2016-05-31 17:06:24 -05:00
Chris Earle
584e19aeea Add version to status output
This adds a version field to all Status output, including for built-in plugins.

- It adds the version to the Status API and Status page.
- It adds the version to plugin status change logging.
- It drops the "plugin:" prefix from all status output (as it's implied), except the log output.
2016-05-31 17:54:11 -04:00
LeeDr
9fe89d9e66 Removed un-used requires. 2016-05-31 16:50:42 -05:00
Nicolás Bevacqua
496b8a998e [test] Fix test fixtures. 2016-05-31 18:49:12 -03:00
LeeDr
1566cc3a96 Remove unused self. 2016-05-31 15:45:41 -05:00
LeeDr
411bacd9d3 Some cleanup from review comments. 2016-05-31 12:15:24 -05:00
LeeDr
f28fc89733 Correct a dashboard test sub-suite name. 2016-05-27 16:20:50 -05:00
LeeDr
4ebe29e14e Moved elasticdump methods from common to support/elastic_dump.js 2016-05-27 15:49:57 -05:00
LeeDr
ac4a0ed748 Move updateConfigDoc method out of scenario_manager and into its own support/es_client. 2016-05-27 09:52:30 -05:00
LeeDr
53ede1a4ca Remove some unused vars. 2016-05-27 08:47:54 -05:00
LeeDr
1333cbe6ff Add missing Dashboard test files. 2016-05-27 08:20:27 -05:00
LeeDr
988be91266 New dashboard tests using elasticdump 2016-05-26 16:32:53 -05:00
Nicolás Bevacqua
b3b31288e6 [test] Return all the Promises. 2016-05-26 18:00:52 -03:00
Matthew Bargar
3143c069ff Added API test so we don't forget that the ID format is a part of the public contract 2016-05-25 18:36:37 -04:00
Matthew Bargar
02f24b176b Merge branch 'master' into feature/ingest 2016-05-24 17:22:14 -04:00
Nicolás Bevacqua
50581a86ab [test] Fix test cases for No Results page. 2016-05-20 17:39:56 -03:00
LeeDr
f2b471131d Fix a bunch of tryForTimes. 2016-05-20 14:01:15 -05:00
LeeDr
b7334ed2f4 Wrapped part of saveVisualization in a try loop. 2016-05-20 13:26:14 -05:00
Nicolás Bevacqua
17c1ce4209 Merge branch 'master' into bugfix/no-results-timepicker 2016-05-20 14:15:12 -03:00
LeeDr
a49d765efc I think I'm back to master HEAD at this point. Still don't see the problem. 2016-05-20 09:34:06 -05:00
LeeDr
69fdfd8f99 Merge master 2016-05-17 13:23:48 -05:00
LeeDr
dda1703b5e Try without the last test 2016-05-17 10:35:09 -05:00
LeeDr
8fca1d8bb7 Changed to return on initial getEsHostPort. 2016-05-16 18:27:42 -05:00
LeeDr
d37573d5b4 Test to see if returning from the expects resolves the tryForTime's continuing after the tests finish. 2016-05-16 18:08:45 -05:00
Spencer
cb52c70c55 Merge pull request #7187 from LeeDr/tryToFixVisTests
Add try in 2 visualize page methods that have failed.
2016-05-12 12:56:40 -07:00
LeeDr
670e87892d Add try in 2 visualize page methods that have failed. 2016-05-12 10:17:40 -05:00
Matthew Bargar
475913d15a Change delimiter query param to csv_delimiter so better namespace it when other data types are supported in the future 2016-05-11 15:23:48 -04:00
Matthew Bargar
08427eeba7 Rename data dir to fixtures 2016-05-11 15:05:11 -04:00
Shaunak Kashyap
5a41292a68 Merge pull request #7067 from ycombinator/gh-7059
Disallow Console from functioning as an open web proxy
2016-05-11 09:19:01 -07:00
Matthew Bargar
05b198a819 Merge branch 'feature/ingest' into ingest/bulkAPI 2016-05-10 18:27:51 -04:00
Matthew Bargar
bc65d9509d Change _bulk to _data 2016-05-10 17:02:31 -04:00
LeeDr
107de9d539 Add a defaultTryTimeout config parameter and use it for the try method. 2016-05-10 10:22:59 -05:00
Shaunak Kashyap
bc0d3921de
Don't try to set the ES URL via the UI 2016-05-10 03:25:00 -07:00
Matt Bargar
1372cae60f Merge pull request #6978 from Bargs/ingest/reviewGeo
[Pattern Review] Handle object, array, and geo_point fields correctly
2016-05-09 18:26:09 -04:00
Matthew Bargar
37e2c5afd0 Merge branch 'master' into feature/ingest 2016-05-09 13:24:44 -04:00
Lee Drengenberg
8b8b3bdbe4 Merge pull request #7132 from LeeDr/consoleTest
2 new simple Console functional tests
2016-05-06 11:19:06 -05:00
spalger
b16521e158 Merge branch 'master' of github.com:elastic/kibana into implement/consoleLikeLogging 2016-05-04 14:29:05 -07:00
Matthew Bargar
81ea488170 Better date field detection without flaky pipeline introspection 2016-05-04 16:21:28 -04:00
LeeDr
ee3119e678 A couple of simple console tests to make sure its there and works. 2016-05-04 13:00:37 -05:00
Matthew Bargar
ab5e444ed4 Fix lint issues 2016-04-29 16:47:29 -04:00
Matthew Bargar
bfba35f704 [API] Accept both multipart/form-data and raw payloads
* The _bulk api will now accept raw CSV data as the main request payload
* Submitting the CSV data as a form-data key is still an option
* All other parameters have moved from form-data to the query string

Also: Improved delimiter test so it actually checks the keys of created
documents to ensure the delimiter is working.
2016-04-29 16:47:29 -04:00