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