Commit graph

2114 commits

Author SHA1 Message Date
Matthew Bargar d6467689b6 Merge branch 'master' into feature/ingest 2016-04-08 09:52:41 -04:00
Jim Unger 7de50bf2bd [add data] Finished adding the append processor 2016-04-07 12:59:43 -05:00
Jim Unger 930a44dfa9 [add data] adds convert processor 2016-04-07 12:56:00 -05:00
Jim Unger 699ecfa6bf Merge branch 'feature/ingest' into ingest-error-handling 2016-04-06 16:44:12 -05:00
Jim Unger 4317045ff4 [add data] removed dirtyProcessor logic. 2016-04-06 16:43:20 -05:00
Jim Unger ea71928f72 [add data] added error-flow tests to the _simulate suite 2016-04-06 16:12:20 -05:00
LeeDr 431fe52cec Update downloadSelenium to match version in intern.js. 2016-04-06 07:36:06 -05:00
LeeDr 81821fc99d Update selenium from 2.48.2 to 2.53.0 to work with latest Firefox 45.0.1 2016-04-05 15:46:06 -05:00
Jim Unger c63a5a2c76 [add data] Attempts to deal with unhandled errors in the ingest API 2016-04-05 11:11:51 -05:00
Court Ewing de20762889 [internal] Remove all variable redeclarations
Redeclaring variables causes ambiguity and serves no purpose. It
actually causes a runtime error when you do it with `let`, and we can
enforce not doing it via a linter rule.
2016-04-01 14:21:55 -04:00
Matthew Bargar 1b6a6f96ed Merge branch 'master' into feature/ingest 2016-03-31 17:58:36 -04:00
Rashid Khan 226151ebb9 Merge remote-tracking branch 'upstream/master' into kable 2016-03-30 15:43:36 -07:00
Khalah Jones-Golden 26cceb8a2a [Tests] Fixing tests and also some code cleanup 2016-03-30 17:24:52 -04:00
Nicolas Bevacqua 7ff2a358ff Merge branch 'master' into bugfix/no-results-timepicker 2016-03-30 16:53:02 -03:00
Court Ewing d28cb32865 Merge pull request #6705 from spalger/fix/functionalTestsLoadingFieldData
Fix functional tests for visualize
2016-03-30 15:51:16 -04:00
spalger 6f27183cee [settings/functiontests] remove duplicate setAdvancedSettings() 2016-03-30 11:25:24 -07:00
Nicolas Bevacqua bc0278f266 [test/functional] Add test case for expand/collapse timepicker from discover's "No Results". 2016-03-30 14:50:32 -03:00
spalger 828a4bf28f [visualize/functionaltests] aggregating on an analyzed field is not allowed 2016-03-30 10:48:47 -07:00
Nicolas Bevacqua 4036c46b8f [test/functional] Functional tests covering new "No Results" partial directive and time picker. 2016-03-30 14:08:56 -03:00
Matthew Bargar 8e94b1fa35 Merge branch 'master' into feature/ingest 2016-03-29 16:34:23 -04:00
Jim Unger 4fb1118266 Merge branch 'feature/ingest' into ingest-error-handling 2016-03-29 13:36:56 -05:00
Matthew Bargar 3e399289bd Merge branch 'master' into feature/ingest 2016-03-28 18:55:46 -04:00
Joe Fleming 705ffac234 Merge branch 'master' into fix/custom-navbar 2016-03-28 13:47:27 -07:00
Jim Unger 7278cb31aa [ingest] small tweek 2016-03-28 14:46:42 -05:00
Rashid Khan 5098209c3b Merge pull request #6643 from colings86/fix/extendedBoundsDateHistogram
Don't use extended_bounds for time filter in date_histogram
2016-03-28 12:37:13 -07:00
Joe Fleming 76a3e9e514 Merge branch 'master' into fix/custom-navbar 2016-03-25 14:40:19 -07:00
Matthew Bargar 0e7ffff4ce Merge branch 'master' into feature/ingest 2016-03-25 10:53:50 -04:00
spalger 5c492e7ec8 [discover/tests] update rigid test data 2016-03-24 10:56:43 -07:00
spalger cc53748540 [discover] fix a regular expression in a test 2016-03-23 12:46:47 -07:00
Matthew Bargar ad01828bab Merge branch 'master' into feature/ingest 2016-03-23 09:53:34 -04:00
Matthew Bargar 85be042850 Merge branch 'master' into feature/ingest 2016-03-22 13:24:24 -04:00
Tyler Smalley 953e1543a5 Re-adds test page helpers removed by merge
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2016-03-21 18:44:24 -07:00
Tyler Smalley 32cad000a0 Merge remote-tracking branch 'upstream/master' into feature/design 2016-03-21 18:31:58 -07:00
spalger 8052a97cd2 Merge branch 'master' of github.com:elastic/kibana into pr/6291 2016-03-21 16:30:06 -07:00
Joe Fleming a28ced39a5 change timepicker selector 2016-03-21 13:36:00 -07:00
Rashid Khan cf838fff96 Merge branch 'master' into feature/design 2016-03-21 12:03:06 -07:00
Matthew Bargar 89c3ecf8d1 Merge branch 'master' into feature/ingest 2016-03-21 14:26:59 -04:00
Joe Fleming 6c9c9b96f1 Merge pull request #6546 from spalger/implement/uiExportsInjectVars
[uiExports] add uiExport type "injectDefaultVars"
2016-03-18 14:15:06 -07:00
Matthew Bargar bbd718708c Merge branch 'master' into feature/ingest 2016-03-18 16:10:43 -04:00
Matt Bargar a54f7088b7 Merge pull request #6553 from Bargs/ingest/apiMappingChanges
Update ingest API for ES 5.0 mapping changes
2016-03-18 16:05:13 -04:00
Shelby Sturgis aae8583455 Merge branch 'master' into feature/design 2016-03-18 12:48:55 -07:00
Joe Fleming 26812c93a1 remove unused dep 2016-03-18 11:53:22 -07:00
LeeDr 91366a651a Minor updates from code review. 2016-03-18 11:30:19 -05:00
Jim Unger 91be043bc3 [ingest client] fixes invalid-set-processor simulate test 2016-03-18 08:21:10 -05:00
spalger cdcc795af8 [test/utils/kbnServer] opt-in to plugin loading 2016-03-17 18:42:35 -07:00
Matthew Bargar 017a6117f7 Update ingest API for ES 5.0 mapping changes 2016-03-16 18:01:10 -04:00
Matthew Bargar 2c32d9fc3f Update ingest POST endpoint to accept the new processor schema 2016-03-16 16:38:20 -04:00
Tyler Smalley a25f8f9f00 Resolves functional tests for K5 redesign
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Signed-off-by: Lee Drengenberg <lee.drengenberg@elastic.co>
2016-03-16 13:33:58 -07:00
LeeDr d179da5820 Removed about 5 uneccessary promise chains. 2016-03-16 14:55:48 -05:00
LeeDr 78c2d07bee use Count not count on area chart test. Remove moveMouseTo for now. 2016-03-16 12:18:38 -05:00
spalger 3c0d12a50d Merge branch 'master' of github.com:elastic/kibana into feature/designMergeSnakeCase 2016-03-16 10:08:53 -07:00
LeeDr 3eeea899f5 Merge branch 'master' into visualizeTestChange 2016-03-16 09:50:15 -05:00
Matthew Bargar 98f9f53008 Merge branch 'master' into feature/ingest 2016-03-15 19:21:16 -04:00
Matthew Bargar 41fe73e57e Support both GET and POST in the count API 2016-03-15 10:59:45 -04:00
Matthew Bargar d12e2990be Count API - count the number of documents in an index pattern 2016-03-15 10:48:58 -04:00
spalger d77de4e1ca Merge branch 'master' of github.com:elastic/kibana into renameAllFiles 2016-03-15 00:35:01 -04:00
Matthew Bargar d5ec1f8ed3 Merge branch 'master' into feature/ingest 2016-03-14 18:33:30 -04:00
LeeDr 89aff0210f Changes to methods for getting more specific chart data to cover integration testing. 2016-03-14 14:40:53 -05:00
Nicolas Bevacqua ec037de9be [test] Consolidate elasticsearch URL in configuration file. Fixes #5555 2016-03-14 14:06:25 -03:00
Shaunak Kashyap f35c7122d2 More fun with spaces :| 2016-03-11 02:13:35 -08:00
Shaunak Kashyap 55cffbd706 Now too many spaces :| 2016-03-10 17:09:08 -08:00
Shaunak Kashyap bc76ba4f8d Missed a space :/ 2016-03-10 17:00:08 -08:00
Shaunak Kashyap acf9670ed7 s/(empty)/ - / in tests after reverting commit introducing (empty) 2016-03-10 16:51:48 -08:00
Shaunak Kashyap e92a07724d Fixing expected strings in text to match changes in actual output 2016-03-10 15:41:14 -08:00
spalger 7dda3709ca Merge branch 'renameAllFiles' into feature/design 2016-03-10 12:51:39 -07:00
Tyler Smalley 9502adedc1 Merge remote-tracking branch 'origin/master' into feature/design 2016-03-09 10:08:35 -08:00
Matt Bargar 4d7b468e3e Merge pull request #6121 from BigFunger/ingest-pipeline-setup-server
[ingest] Creates the simulate api route
2016-03-09 10:11:59 -05:00
Matthew Bargar 8f5777ed22 Add pipeline to api tests for ingest DELETE endpoint 2016-03-08 17:54:23 -05:00
Matthew Bargar ab5aebd5c8 Added some tests for pipelines in the ingest POST endpoint 2016-03-08 17:48:31 -05:00
Matthew Bargar 4ce5e7f323 Merge branch 'master' into feature/ingest 2016-03-08 10:14:09 -05:00
spalger 4fe8bbaeb8 [scenarioManager] snake_case baseDirs for scenarios 2016-03-07 15:11:11 -07:00
spalger 00bf02ab29 Merge branch 'master' of github.com:elastic/kibana into renameAllFiles 2016-03-07 14:09:39 -07:00
Matthew Bargar 2faa3ee2f5 Remove outdated mapping options that were copied over from logstash template 2016-03-04 15:48:14 -05:00
Matthew Bargar 2bb23ab1f1 Merge branch 'master' into feature/ingest 2016-03-04 14:50:18 -05:00
spalger 36cdae8281 [plugins] change plugin ids to be snakecase 2016-02-26 13:40:32 -07:00
Matthew Bargar 134e371176 test the actual set processor simulation output 2016-02-25 19:20:51 -05:00
Matthew Bargar 6b3f844264 use snake case throughout the ingest simulate API 2016-02-25 19:10:16 -05:00
spalger 42f936e633 [npm] remove requirefrom package 2016-02-24 14:50:12 -08:00
spalger af9ebba958 [rename] hunt down remaining non-snake path refs 2016-02-24 14:18:21 -08:00
spalger c1c8607f27 [rename] process previously dynamic imports 2016-02-24 13:36:12 -08:00
spalger 07b32d715f Merge branch 'chore/removeRequireFrom' into renameAllFiles 2016-02-24 13:33:57 -08:00
spalger 506c9939b9 [npm] remove requirefrom package 2016-02-24 13:30:02 -08:00
spalger 2422a988e5 [rename] rename all files to snake_case 2016-02-24 12:14:05 -08:00
Jonathan Budzenski bc10322c64 [timepicker] Set scope properly, update spinner selector on tests, wait for refresh button to hide 2016-02-11 15:41:56 -06:00
Jonathan Budzenski 9c8c7f4c47 [timepicker] Update test selector 2016-02-11 15:41:56 -06:00
Khalah Jones Golden f57ed8d068 Merge pull request #6169 from stormpython/legend
Design Changes to Visualize Legend
2016-02-10 21:24:06 -04:00
Khalah Jones Golden af5f0b6a2c Merge pull request #6170 from panda01/fix/nav-details
Fix/nav details
2016-02-10 19:47:24 -04:00
Shelby Sturgis d5c082996c removing legend tests 2016-02-10 15:46:18 -08:00
Khalah Jones-Golden 180aacd470 Merge remote-tracking branch 'upstream/feature/design' into fix/nav-details 2016-02-10 19:06:26 -04:00
Shelby Sturgis 400a31cc1e removing legend from Discover page, also removing functional tests for the legend on discover 2016-02-10 14:18:42 -08:00
Shelby Sturgis da2725d6c7 Merge remote-tracking branch 'upstream/feature/design' into legend 2016-02-10 10:08:00 -08:00
Jonathan Budzenski 70f5f996a3 [tests] Remove ng-scope from visualize action selector 2016-02-10 11:09:56 -06:00
Shelby Sturgis e7126127eb fixing broken tests 2016-02-09 23:33:02 -08:00
Matthew Bargar a6bf99a58f Use Joi schemas for validation instead of manual checks, separate server concerns from frontend code, and start enforcing snake case in simulate api 2016-02-09 22:34:28 -05:00
Timothy Sullivan 16300d6607 Merge remote-tracking branch 'upstream/master' into feature/design-merge-master 2016-02-09 17:07:09 -07:00
Khalah Jones-Golden 5b1576f0fc [Tests] Updated the tests with thte proper selector 2016-02-09 17:41:28 -04:00
Matthew Bargar fb7804431d Beginning work on integration tests for new ingest simulate API 2016-02-08 19:17:53 -05:00
spalger 9a4bb32385 [scenarioManager] use index:true rather than removal from 8d0d581577 2016-02-08 15:54:23 -07:00
spalger 728fbdbc71 [scenarioManager] do not mix index:analyzed and doc_values:true 2016-02-08 14:06:50 -07:00
spalger 10e97a4d75 Merge branch 'fix/failTestOnBadBulk' into upgrade/elasticsearch/master 2016-02-08 14:05:52 -07:00
spalger d248af5702 [scenarioManager] when bulk fails, report errors 2016-02-08 14:04:10 -07:00
spalger 8d0d581577 [scenarios] number types are not analyzable 2016-02-08 12:38:03 -07:00
spalger b605b66be7 [fixtures] fix syntax error 2016-02-05 18:23:12 -07:00
spalger 410029d271 [ScenarioManager] use new multi-field syntax 2016-02-05 10:27:39 -07:00
spalger 1e507a90b3 [elasticsearch/client] use bluebird for promises for better backward compat 2016-02-05 10:24:02 -07:00
Matthew Bargar 0e707fe72d Merge branch 'feature/ingest' into ingest/pipelineIngestAPI 2016-02-04 20:25:39 -05:00
Khalah Jones-Golden f7c98cc2d4 Merge branch 'feature/design' into feature/5.0 2016-02-04 13:06:43 -04:00
Jonathan Budzenski 1345c6aafd Merge pull request #6062 from jbudz/design/base_chart_color
[visualize] Change first chart color
2016-02-04 10:14:56 -06:00
Jonathan Budzenski 540a8af53b [visualize test] Update fill color 2016-02-02 14:58:14 -06:00
Matthew Bargar 9748328309 update new tests to work with add data landing page 2016-02-02 15:08:46 -05:00
Matthew Bargar 208ccabb84 Merge branch 'master' into feature/ingest 2016-02-02 13:44:37 -05:00
Khalah Jones-Golden 9d4d38d37b Merge remote-tracking branch 'upstream/master' into feature/5.0 2016-02-02 14:11:52 -04:00
Matthew Bargar 459338e0fa Merge branch 'master' into ingest/pipelineIngestAPI 2016-02-01 18:01:54 -05:00
Spencer c54b9ca6b7 Merge pull request #5891 from spalger/implement/mochaSetup
formalize mocha setup
2016-02-01 15:31:42 -07:00
Khalah Jones-Golden 033ae847ee [Tests] Updating the tests to cover html changes 2016-01-29 15:46:54 -04:00
LeeDr c43e43153b Fix ./Common to ./common 2016-01-28 17:34:52 -06:00
LeeDr 7327c250aa Change Common to common in _collapse_expand.js. 2016-01-28 17:25:33 -06:00
LeeDr eb77030f79 snake_case merged master. 2016-01-28 17:11:47 -06:00
LeeDr bc07598ab7 Merge branch 'master' into snake_case 2016-01-28 16:25:54 -06:00
LeeDr a4088bbacc snake_case test files. 2016-01-28 16:17:23 -06:00
Matthew Bargar 468c70066a Add pipeline support to ingest API POST endpoint 2016-01-28 13:41:45 -05:00
LeeDr 763c564d67 Merge branch 'master' into expandCollapse 2016-01-28 12:31:43 -06:00
Matthew Bargar 556b0cfbf7 Add index_pattern key to ingest api payload schema to make room for the pipeline 2016-01-27 17:41:12 -05:00
LeeDr a30a70964c Improve baseUrl function. 2016-01-27 09:16:08 -06:00
LeeDr ef9833f4a3 Missing a period. 2016-01-26 17:55:58 -06:00
LeeDr 91fe72c89a Allow either old Firefox Ctrl + C or new Firefox clipboard message. 2016-01-26 17:33:26 -06:00
LeeDr dc36197b55 New tests for expand/collapse discover tab legend and sidebar. 2016-01-26 15:36:54 -06:00
LeeDr 5073aa520c Share expectedToastMessage variable between tests, and comment about Firefox version changes message. 2016-01-26 12:30:09 -06:00
LeeDr 82d993adff Add 5 tests for Discover shared links 2016-01-25 20:39:27 -06:00
Matthew Bargar d262deaba2 use data-test-subj click create button in a less fragile manner 2016-01-25 17:09:15 -05:00
Matthew Bargar 97cb64c2ac updated new functional test to work with new page layout 2016-01-22 18:56:27 -05:00
Matthew Bargar 9c27e3d52a Merge branch 'feature/ingest' into ingest/addDataStart 2016-01-22 18:39:37 -05:00
Matthew Bargar 944b78a241 Update functional tests to know about the new add data landing page 2016-01-22 13:27:11 -05:00
LeeDr 696d50c0f2 Merge pull request #5975 from LeeDr/moreDiscoverTests
8 new discover tests, _field_data
2016-01-21 17:33:11 -06:00
LeeDr aeb45136d4 8 new discover tests, _field_data 2016-01-21 15:44:33 -06:00
Court Ewing d50c48bccb Configurable shield credentials for tests
While there are still hardcoded defaults, this change allows people to
specify custom credentials via environment variables for each shield
role in our tests.
2016-01-21 13:13:17 -05:00
LeeDr c477ab40a8 Minor changes from review comments. 2016-01-20 12:14:49 -06:00
LeeDr 3da9d84fe7 Merge branch 'master' into addDiscoverIntervalTests 2016-01-20 08:27:07 -06:00
LeeDr 6a84f5cf1b Added tests that change the interval through most of the choices and check the data. 2016-01-19 18:05:14 -06:00
spalger 72ab9aa7b0 [devServer] include self-signed certificates for testing
When running the Kibana server in --dev mode the server will use the new `test/dev_certs/server.key/crt` files to provide SSL by default. These files are not secure, and should not be used in production, but are fine for local development. Directions for trusting these certs are linked from the CONTRIBUTING.md file and the new ssl config can be disabled completely by passing `--no-ssl` to the server on startup.
2016-01-19 14:19:25 -07:00
LeeDr 40f8450d61 Fix screenshots Data Table and Tile Map. Add comments.
Fixes #5932
2016-01-19 19:07:54 +00:00
LeeDr 86ab222d4d Fix screenshots Data Table and Tile Map.
Fixes #5932
2016-01-19 19:07:54 +00:00
LeeDr 667372194f Fix screenshots Data Table and Tile Map.
Fixes #5932
2016-01-19 19:07:54 +00:00
LeeDr 540ca8e267 Revert "Fix screenshots Data Table and Tile Map."
This reverts commit b6f67920aa.

Fixes #5932
2016-01-19 19:07:54 +00:00
LeeDr df6c34f4ca Fix screenshots Data Table and Tile Map.
Fixes #5932
2016-01-19 19:07:54 +00:00
LeeDr f480b9b510 Fix screenshots Data Table and Tile Map.
Fixes #5932
2016-01-19 19:07:53 +00:00
LeeDr c0d049c050 Fix screenshots with minimal sleep calls. Remove a couple unnecessary promise chains in visualizePage.
Fixes #5932
2016-01-19 19:07:53 +00:00
LeeDr 967cc0c0e3 switch from sleeps to waiting for visualize-legend.
Fixes #5932
2016-01-19 19:07:53 +00:00
LeeDr e2face2071 Trying 4 sec sleep before screenshots.
Fixes #5932
2016-01-19 19:07:53 +00:00
LeeDr d41f985f53 Trying 4 sec sleep before screenshots.
Fixes #5932
2016-01-19 19:07:53 +00:00
LeeDr 4c5f822429 Initial test to see if screenshot timing is the prob.
Fixes #5932
2016-01-19 19:07:53 +00:00
LeeDr 24b0177688 Fix screenshots Data Table and Tile Map. Add comments. 2016-01-19 12:41:17 -06:00
LeeDr 127e8e67dd Fix screenshots Data Table and Tile Map. 2016-01-19 12:20:09 -06:00
LeeDr 21e996bd88 Fix screenshots Data Table and Tile Map. 2016-01-19 10:50:30 -06:00
LeeDr 24fa2d41f9 Revert "Fix screenshots Data Table and Tile Map."
This reverts commit b6f67920aa.
2016-01-19 10:39:51 -06:00
LeeDr b6f67920aa Fix screenshots Data Table and Tile Map. 2016-01-19 10:28:05 -06:00
LeeDr b9d626aa70 Fix screenshots Data Table and Tile Map. 2016-01-19 10:08:33 -06:00
LeeDr 720faf45dd Fix screenshots with minimal sleep calls. Remove a couple unnecessary promise chains in visualizePage. 2016-01-18 20:40:54 -06:00
LeeDr 9157cf7e16 switch from sleeps to waiting for visualize-legend. 2016-01-18 16:50:40 -06:00
LeeDr 55330638c7 Trying 4 sec sleep before screenshots. 2016-01-18 13:43:40 -06:00
LeeDr a7dce5012c Trying 4 sec sleep before screenshots. 2016-01-18 13:09:30 -06:00
LeeDr 68a46618ab Initial test to see if screenshot timing is the prob. 2016-01-18 11:37:51 -06:00
Court Ewing 2ef3f19621 Merge pull request #5884 from epixa/5562-tests-with-shield
Basic support for running server tests with shield
2016-01-15 18:08:13 -05:00
LeeDr cc882ca539 Remove unused variable. 2016-01-15 12:19:56 -06:00
LeeDr 84a54618da Remove commented code. 2016-01-15 12:18:58 -06:00
LeeDr cefbb5ede4 Fix multiple problems with discover 'should show the correct bar chart'. UTC timezone, array.length, improve cssSelector. 2016-01-15 12:00:15 -06:00
Court Ewing 4b0ac79c6f Inline documentation for kbn_server test utility 2016-01-15 11:48:46 -05:00
spalger d3fd053d0a [mochaOpts] use full option name 2016-01-13 16:51:29 -07:00
spalger 7b15ee05d1 [mochaSetup] added notes to explain the purpose for the workarounds in place 2016-01-13 16:50:55 -07:00
spalger 680bf2102c [mocha] setup auto-release-sinon for server tests 2016-01-12 16:36:02 -07:00
spalger c87aec3dae [mocha] move setup work into module
with https://github.com/elastic/kibana/pull/5553 we added command line flags the told mocha it was supposed to use babel. This changes the strategy here and instead uses mocha's -r option (and it's mocha.opts file to specify it). This means that using mocha directly from the command line still works, and that we have a place where we can do other setup work.
2016-01-12 16:26:42 -07:00
Court Ewing eccb3d6f97 Basic support for running server tests with shield
These changes will make sure the kibana server in tests is using shield
credentials, as are any requests made through the kbn_server test
helper.

The current credentials are hardcoded based on our internal best
practices, but they should be made configurable in the future.

This will pass credentials to ES regardless of whether shield is
actually enabled, but that will have no negative effect if shield
happens to be disabled.
2016-01-12 17:16:10 -05:00
Court Ewing 41de597e42 Abstract kbn server setup in tests
The new kbn_server test utility allows us to setup KbnServer instances
with consistent defaults and make requests through a common test-only
interface. These abstractions allow us to configure global behaviors
such as shield authorization for all of our tests rather than
re-implementing it in every test.
2016-01-12 17:11:58 -05:00
Matthew Bargar 4f5aa95fca ingest API requires at least one field 2016-01-07 17:58:09 -05:00
Matthew Bargar e1bb5f58c4 return 204 for successful POST an use JSON for all response payloads 2016-01-06 15:59:07 -05:00
Matthew Bargar e9810328a9 Change the name of the index_pattern api to ingest and remove the JSON API payload wrapper 2016-01-06 15:48:12 -05:00
Matthew Bargar b4ef144ae0 Created more robust defaults and removed support for overriding them 2016-01-06 12:40:37 -05:00
Matthew Bargar a0ac2135d7 Remove endpoints that we don't need for the Add Data UI 2016-01-05 17:09:27 -05:00
Matthew Bargar fe296b4b36 First pass at adding support for fields that are part of an object 2016-01-05 16:45:08 -05:00
Matthew Bargar d4e85bc7da Better defaults for scripted fields and prevent scripted fields from getting in the index template 2016-01-04 17:12:58 -05:00
Matthew Bargar 1b916a34cf Added API tests for initialization of default index pattern field values and creation of index template field mappings 2016-01-04 16:44:49 -05:00
Matthew Bargar 3fae90fa0b Remove the concept of a template resource from the index pattern API 2016-01-04 15:52:57 -05:00
Matthew Bargar bc0406157d Remove PUT endpoint 2016-01-04 13:33:15 -05:00
Matthew Bargar c1a32aa8de Make pattern deletion more lenient by allowing include=template even if a template doesn't exist. Makes deleting everything easier, you can always just add the include param 2015-12-29 13:37:50 -05:00
Matthew Bargar 1568ddcb5f add test for field mapping normalization 2015-12-29 13:37:50 -05:00
Matthew Bargar 3eae7cdf54 Update GET tests for new functionality 2015-12-29 13:37:50 -05:00
Matthew Bargar 56b729ac61 updating DELETE tests for ability to optionally delete template along with pattern 2015-12-29 13:37:50 -05:00
Matthew Bargar 6b28312e69 Update DELETE to use template id included in pattern resource instead of relying on a naming convention 2015-12-29 13:37:50 -05:00
Matthew Bargar 1f6105591d cleaning up tests 2015-12-29 13:37:50 -05:00
Matthew Bargar 97cb8a0548 remove marvel index pattern example from tests to avoid conflicts 2015-12-29 13:37:50 -05:00
Matthew Bargar b9cf052bc1 update PUT endpoint for new resource schema 2015-12-29 13:37:50 -05:00
Matthew Bargar bf45998057 Update GET single pattern endpoint to use the new resource schema 2015-12-29 13:37:50 -05:00
Matthew Bargar 636b444bf5 Updated GET-all api endpoint and tests to use the new resource schema 2015-12-29 13:37:50 -05:00
Matthew Bargar 7ce3f1e790 update delete tests with new fixture name 2015-12-29 13:37:50 -05:00
Matthew Bargar 0ff6696dd2 update POST api functional tests for the new resource schema 2015-12-29 13:37:50 -05:00
Matthew Bargar 8ae714b0c2 fix key name 2015-12-29 13:37:50 -05:00
Matthew Bargar 66b3c1eb97 Beginning to update index pattern api resource schema 2015-12-29 13:37:50 -05:00
Matthew Bargar 62bbd4bd5c Use snake_case in API payloads 2015-12-29 13:37:50 -05:00
Matthew Bargar f47c4c28f6 Fix require for casesensitive systems 2015-12-29 13:37:50 -05:00
Matthew Bargar c5565d72c6 Give API tests their own intern config
Adding a 'suites' property to the existing intern configuration caused
an error to be thrown at the beginning of the functional test run. Even
if the value of 'suites' was just an empty array. The existence of the
property seemed to enabled execution of the config file in the selenium
browser because it complained about not having the node require
function. To fix this, I created a separate api test config file without
the node require and removed the 'suites' property from intern.js.
2015-12-29 13:37:50 -05:00
Matthew Bargar 00c535910c Move the API into the kibana plugin since index patterns are a core part of kibana 2015-12-29 13:37:50 -05:00
Matthew Bargar 7bf6264c09 adhear to new API naming conventions 2015-12-29 13:37:50 -05:00
Matthew Bargar dbc512e7e4 test GETting an index-pattern by ID 2015-12-29 13:37:50 -05:00
Matthew Bargar 4b60a3eda3 Test GETting all index patterns with creation of test data before suite runs 2015-12-29 13:37:50 -05:00
Matthew Bargar d8d605bf74 Test DELETE of index-patterns 2015-12-29 13:37:50 -05:00
Matthew Bargar 32768725df test 404 response when PUTting to a non-existent document 2015-12-29 13:37:50 -05:00
Matthew Bargar 53d35573ee Test 400 responds for invalid PUT payloads 2015-12-29 13:37:50 -05:00
Matthew Bargar 526e8e7e74 Don't allow updates to title when PUTting index-patterns 2015-12-29 13:37:50 -05:00
Matthew Bargar 68d3be8b8d Test PUTting index patterns 2015-12-29 13:37:50 -05:00
Matthew Bargar 118608cd95 fix function name 2015-12-29 13:37:50 -05:00
Matthew Bargar 675bb7c0c6 Ensure that field mappings are given a type 2015-12-29 13:37:50 -05:00
Matthew Bargar 2dcbbf6006 Refactor tests into modules 2015-12-29 13:37:50 -05:00
Matthew Bargar 565f261da5 adding a bunch of tests for the POST index-patterns endpoints 2015-12-29 13:37:50 -05:00
Matthew Bargar f3ee0ce361 Added Joi schema for index pattern resource and tests to make sure it works for validating payloads 2015-12-29 13:37:50 -05:00
Matthew Bargar 08d6685a41 return from handler in empty payload check to prevent error from being thrown 2015-12-29 13:37:50 -05:00
Matthew Bargar a2ba98c360 test for missing payload with POST 2015-12-29 13:37:50 -05:00
Matthew Bargar e6100c2f4e First API test 2015-12-29 13:37:50 -05:00
LeeDr 290974770d Reduce elasticsearch client timeout back down to 5 minutes. Use fieldName variable consistently in _index_pattern_popularity. 2015-12-23 11:09:07 -06:00
LeeDr 6a0966ab0a Merge branch 'master' into testVisualize 2015-12-22 15:28:07 -06:00
LeeDr b5897c2c3a Revert "Revert "Rename test:ui to test:browser so will run on Jenkins.""
This reverts commit b7935865dc.

Fixes #5750
2015-12-22 16:45:06 +00:00
LeeDr 0a67efb52b Revert "Rename test:ui to test:browser so will run on Jenkins."
This reverts commit 5d9d695268.

Fixes #5750
2015-12-22 16:45:06 +00:00
LeeDr 4f5b641580 Rename test:ui to test:browser so will run on Jenkins.
Fixes #5750
2015-12-22 16:45:06 +00:00
LeeDr 2a8c79d350 Bump Selenium version from 2.47.1 to 2.48.2 to work with latest Firefox 43. Add more debug logging around get url.
Fixes #5750
2015-12-22 16:45:05 +00:00
Rashid Khan 245ae24c4c Merge pull request #5729 from spalger/pr/5670
Resubmission of #5670
2015-12-21 16:44:10 -07:00
LeeDr 582f5fe80d Wrap the get call with debug logging so we can debug the test hanging. 2015-12-19 10:23:45 -06:00
LeeDr 723931356c Merge branch 'master' into testVisualize 2015-12-18 14:11:36 -06:00
LeeDr 854489353c Make getUrl.noAuth use getUrl. Fix elasticsearch and kibana ports in serverConfig.js. 2015-12-17 10:12:33 -06:00
LeeDr d01db9334b Initial changes (only the UI automation changes) to support running tests with Shield (works without Shield also). 2015-12-16 15:57:43 -06:00
Eric Herot 8479a38e12 Don't bother setting the number of index replicas when creating kibana-int (relates to #3877) 2015-12-14 11:06:41 -05:00
LeeDr 123caf464c Remove one used self var.
Fixes #5526
2015-12-08 21:01:13 +00:00
LeeDr 132552ce58 Fix cases.
Fixes #5526
2015-12-08 21:01:13 +00:00
LeeDr 859e115802 Fix cases.
Fixes #5526
2015-12-08 21:01:13 +00:00
LeeDr a8918278f2 Changed 3 console.logs to common.debugs. Ran with debug: false to make sure I had clean output.
Fixes #5526
2015-12-08 21:01:12 +00:00
LeeDr 8230905cd4 Not sure why Jenkins passed and Travis failed to find the timezone selection. Adding 1 second sleep to see if it's timing.
Fixes #5526
2015-12-08 21:01:12 +00:00
LeeDr f30c329b85 Add data-test-subj to advanced_row.html and advanced_row.html to enable test automation. Add a test for Advanced Settings.
Fixes #5526
2015-12-08 21:01:12 +00:00
LeeDr d8e9a684c6 Functions and test for setting advanced properties.
Fixes #5526
2015-12-08 21:01:12 +00:00
Spencer a44adcc3e8 Merge pull request #5506 from spalger/implement/testSubjSelector
Implement test subj selector
2015-12-07 13:48:53 -07:00
LeeDr 172ec0b399 Add check for UTC timezone before each visualize test with data. 2015-12-04 15:23:20 -06:00
LeeDr 41fb59c392 Merge branch 'advancedSettings' into testVisualize 2015-12-04 15:03:10 -06:00
LeeDr 562a33c781 Partial steps to check for UTC timezone before visualize tests. 2015-12-04 15:02:17 -06:00
LeeDr 8d2092c4bd Removed a pie chart test that isn't ready yet. 2015-12-03 15:34:04 -06:00
LeeDr acce83cdbc Debug log message when createIndexPattern succeeds. 2015-12-02 14:25:08 -06:00
LeeDr 895447e24c Trying setTimeout('script', 'implicit', and 'page load'). 2015-12-02 13:13:32 -06:00
LeeDr e7edd79536 Increase elasticsearch client timeout from 5 to 50 minutes! 2015-12-02 10:51:13 -06:00
LeeDr 44718237b2 Merge master 2015-12-02 10:26:58 -06:00
LeeDr 7a8e39d5da Increase ElasticSearch client timeout from 30s to 5m (probably a bit overkill). 2015-12-01 14:52:45 -06:00
LeeDr ad78770100 Similar to previous commit, add 1s sleep before entering the name of the saved visualization. 2015-12-01 11:02:54 -06:00
LeeDr 5d36e8749e Remove a console.log from scenarioManager. Add 1s delay before setting saved query name so we don't end up with concatenated name. 2015-12-01 10:20:59 -06:00
LeeDr c4b60c9c88 Increase elasticsearch client timeout from 30s to 5m. 2015-12-01 09:00:07 -06:00
LeeDr 32cf7762f2 Merge master. 2015-11-30 15:15:22 -06:00