Commit graph

2114 commits

Author SHA1 Message Date
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
LeeDr
d5281075fb Minor changes and debug logging for visualize tests. 2015-11-30 14:26:24 -06:00
LeeDr
40b944d235 Not sure why Jenkins passed and Travis failed to find the timezone selection. Adding 1 second sleep to see if it's timing. 2015-11-30 12:23:47 -06:00
LeeDr
9a49fbc5c5 Add data-test-subj to advanced_row.html and advanced_row.html to enable test automation. Add a test for Advanced Settings. 2015-11-30 11:59:59 -06:00
LeeDr
6311d949a1 Functions and test for setting advanced properties. 2015-11-25 15:41:21 -06:00
spalger
f654340713 use intern require syntax 2015-11-25 14:23:28 -06:00
LeeDr
025cbb0829 Sleep before getting barChartData and remove PieChartdata test until the data is parsed into something more reliable. 2015-11-25 14:15:44 -06:00
LeeDr
d6ff27be29 Added UTC Timezone to the initial kibana data load. Change HeaderPage.setAbsoluteTime to click the Timepicker and collapse the pane when done. Update data in most visualize tests for UTC time. 2015-11-25 13:34:23 -06:00
spalger
dfd8d3e960 added util for functional tests 2015-11-25 12:51:28 -06:00
Joe Fleming
14daaf0f85 move defaultTimeout into a config file 2015-11-24 15:29:56 -07:00
Joe Fleming
3e8307f8ac increase the default timeouts 2015-11-24 15:10:34 -07:00
Joe Fleming
25e7d2976e make the tryForTime output less noisy 2015-11-24 15:10:34 -07:00
Joe Fleming
b3f2d5bfed add check for selected time field option 2015-11-24 15:10:34 -07:00
Joe Fleming
43a5e2b838 wrap getFieldsTabCount in tryForTime
give it a chance to fail up to 10 times before failing completely
2015-11-24 15:10:33 -07:00
Joe Fleming
4fdbc265c8 add catch for missing toast message 2015-11-24 15:10:33 -07:00
Joe Fleming
c9c0f34efe add a little more debugging 2015-11-24 15:10:33 -07:00
Joe Fleming
d8d8886747 speed up the waitForToastMessageGone helper 2015-11-24 15:10:33 -07:00
LeeDr
e1606db2db setWindowSize for discover and visualize tests otherwise side panels and header buttons can be hidden. Add catch to all visualize test before functions. 2015-11-24 14:26:39 -06:00
LeeDr
9e10b8c532 Merge branch 'master' into testVisualize 2015-11-24 12:31:42 -06:00
Joe Fleming
4e9b1d34de restore waitForToastMessageGone timeout 2015-11-24 11:47:25 -06:00
Joe Fleming
c940bc8497 put tryForTime in getCurrentQueryName 2015-11-24 11:47:02 -06:00
Joe Fleming
9303c57b7b update HeaderPage helper, use defaultTimeout 2015-11-24 10:30:36 -06:00
Joe Fleming
ca5ba4fe16 fix use in navigateToApp 2015-11-24 10:21:37 -06:00
Joe Fleming
8a5c94c941 pass the resolved value 2015-11-24 10:17:55 -06:00
LeeDr
90ac2c3189 Increase 5s timeout to longTimeout of 60s. 2015-11-23 16:13:34 -06:00
LeeDr
b68b644c11 Move test timeouts to top describe level. 2015-11-23 13:43:47 -06:00
LeeDr
9cdadc9de2 Adding idle-timeout back in. 2015-11-23 13:38:33 -06:00
LeeDr
8155ad799b Switch idle-timeout back to default 30 seconds. 2015-11-23 13:13:22 -06:00
LeeDr
ad9895f920 Visualize tests all passing. 2015-11-23 13:10:47 -06:00
LeeDr
e7256bde43 Bump idle-timeout from 30 to 99 seconds. 2015-11-20 16:32:07 -06:00
LeeDr
9b6994be96 Move timeout back to describe. 2015-11-20 16:21:55 -06:00
LeeDr
e5d57f42a3 Fix one recurring timing related test failure by wrapping in tryForTime loop ('makelogs data should have expected number of fields'). 2015-11-20 15:24:49 -06:00
LeeDr
8ed347967f Merge branch 'functionalDebug' into testVisualize 2015-11-20 14:10:05 -06:00
LeeDr
2488a626e2 Move timeout in settings/index.js up to describe. 2015-11-20 14:06:32 -06:00
LeeDr
5f3b0ae4a2 Variablize 2 messages. 2015-11-20 13:43:26 -06:00
LeeDr
0d0628e5bd Move timeout setting out one level from bdd.before to bdd.describe. 2015-11-20 13:34:13 -06:00
LeeDr
5f10d16f4d Adding debug log before throwing errors. 2015-11-20 12:39:05 -06:00
LeeDr
3af604d9fb WIP Visualize tests. Moving getSpinerDone from DiscoverPage to HeaderPage. 2015-11-20 11:47:35 -06:00
LeeDr
43eb32b6d6 Replace default 30 second timeout even on Settings app tests with 2 minute timeout. 2015-11-19 11:30:52 -06:00
LeeDr
7411132164 Steps to debug and/or fix functional test timeouts. 2015-11-19 11:06:01 -06:00
LeeDr
7b37689798 Reverting this file back to 326892. 2015-11-17 12:56:46 -06:00
LeeDr
60d67aab5e Moved timepicker functions from DiscoverPage to HeaderPage. Fixed several other PR review comment issues. 2015-11-13 18:46:18 -06:00
LeeDr
61d0053bb2 Replace hacky backspacing with clearValue. 2015-11-13 17:48:27 -06:00
LeeDr
745d45b770 Intermittent failures on Travis. Wrapped the getbarChartData and compareData in a tryForTime. 2015-11-13 12:51:56 -06:00
LeeDr
81d61272e7 Change log statements to debug. 2015-11-13 12:30:44 -06:00
LeeDr
1cbf6afbd2 Set a 2 minute timeout on the whole _discover test suite. Added tempoary logging for debugging purposes if it still fails with 'Error: Request Timeout after 30000ms' 2015-11-13 12:00:41 -06:00
LeeDr
7cf3645630 findByCssSelector('a[ng-click="setMode(\'absolute\')"') works locally but not on Travis, trying findByLinkText('Absolute') instead. 2015-11-13 11:42:10 -06:00
LeeDr
db95e52886 Merge remote-tracking branch 'jbudz/lint-ignore' into testDiscover 2015-11-13 10:46:33 -06:00
LeeDr
7a2a4d9498 Add /*eslint-disable*/ to one data load file which was missing it. 2015-11-13 10:02:09 -06:00
LeeDr
2464e13803 Adjust timing in tryForTime (shorter setFindTimeout, longer test timeout). 2015-11-13 09:58:41 -06:00
Jonathan Budzenski
6e48ccc443 Prevent linting fixtures 2015-11-12 17:09:46 -06:00
LeeDr
ff44fd3ee5 Merge with master. 2015-11-12 15:42:05 -06:00
LeeDr
28d7519a0c New tests for Discover App. 2015-11-12 15:24:59 -06:00
LeeDr
2694b6b933 Save error messages in tryForTime and include in timeout messages. 2015-11-12 15:09:14 -06:00
LeeDr
e4e1e66b52 Catch and ignore index_not_found_exception when deleting kibana index if not found. 2015-11-12 12:05:22 -06:00
LeeDr
fd225796f7 Add missing semicolons. 2015-11-12 12:04:20 -06:00
Joe Fleming
e86da76d86 a sea of missing semicolons 2015-11-11 15:47:02 -07:00
Joe Fleming
326892228c fix missing semi 2015-11-11 13:31:57 -07:00
Joe Fleming
7b5dd3ef9c unify timeouts, make timeout larger, remove debugging code 2015-11-11 11:44:12 -07:00
Joe Fleming
fd2d4435f1 allow custom timeout on getTimeBasedIndexPatternCheckbox 2015-11-11 11:28:04 -07:00
Joe Fleming
53eb35fae4 set all timeouts to larger, default timeout 2015-11-11 11:18:07 -07:00
LeeDr
050de6c923 Added Discover app tests. 2015-11-11 11:51:02 -06:00
LeeDr
ed244f33a6 Cleanup and remove failure message from takeScreenshot. 2015-11-11 11:49:02 -06:00
LeeDr
a2a31c22a4 Adding logstashFunctional scenario data. 2015-11-11 11:26:56 -06:00
Joe Fleming
97d24e4050 pass in runScript timeout from getApp 2015-11-10 16:22:38 -07:00
Joe Fleming
cf889cb91e bump timouts some more 2015-11-10 16:15:32 -07:00
Joe Fleming
5ff1d51648 rely on setFindTimeout for selection instead of tryForTime 2015-11-10 16:13:55 -07:00
Joe Fleming
178f53fabf longer element and url timeouts 2015-11-10 15:56:40 -07:00
Joe Fleming
5e572c8ce4 remove function names from prototype methods 2015-11-10 15:11:15 -07:00
Joe Fleming
afb6ffe7ec fix headerpage click helpers 2015-11-10 15:00:20 -07:00
Joe Fleming
fde0e1a0a0 turn off debugging output 2015-11-10 13:13:06 -07:00
Joe Fleming
5675d851d0 wait for application container, shorten url change time 2015-11-10 11:55:24 -07:00
Joe Fleming
ade13d05ec properly return promise 2015-11-09 16:51:23 -07:00
Joe Fleming
fe10e6f916 give the tests more time to find row count in tab
and remove the angular-specific class selection
2015-11-09 16:51:22 -07:00
Joe Fleming
bbf9690782 load url first, then refresh 2015-11-09 16:51:22 -07:00
Joe Fleming
4cfe3e4c78 include missing Promise deps 2015-11-09 16:51:22 -07:00
Joe Fleming
b2b1544e87 wait for application element when check for loaded app 2015-11-09 16:51:22 -07:00
Joe Fleming
62c90e7f62 change the selector used to check the loaded app
debug: wait for app scope before executing scripts

debug: drop app check, let fail and output info
2015-11-09 16:51:19 -07:00
Joe Fleming
2632c7479c debugging ci test failures
DEBUGGING; why is index creation failing on CI?

debugging

debugging

bump timeout. i'm out of ideas. ugh.
2015-11-09 16:51:14 -07:00
Joe Fleming
4f7ef774d1 check that we're on the kibana app
instead of checking that we're not on the status page
2015-11-09 16:50:40 -07:00
Joe Fleming
e1606565c7 bump the getFieldsTabCount timeout
disable debugging
2015-11-09 16:50:28 -07:00
Joe Fleming
7c2ed51050 better check for status page
use execute to run a script and get the app.id off the chrome scope
2015-11-06 13:03:39 -07:00
Joe Fleming
cd0795288c enable debugging to try to solve jenkins issue 2015-11-06 11:14:27 -07:00
Joe Fleming
83bc559c64 give the time selection field a little more time to render
slow CI fix
2015-11-06 11:00:55 -07:00
Joe Fleming
1b0db1106a move tryForTime to getFieldsTabCount, speed up test 2015-11-06 10:58:31 -07:00
Joe Fleming
89352cfc38 wait for page elements, should fix slow CI envs 2015-11-06 10:29:09 -07:00
Joe Fleming
8c0c38b66a bump index pattern creation timeouts 2015-11-05 18:03:38 -07:00
Joe Fleming
b8951da9a0 give the app time to update the url 2015-11-05 17:50:40 -07:00
Joe Fleming
e05e91bcd4 fix scenarioManager and getUrl tests 2015-11-05 17:36:15 -07:00
Joe Fleming
48550f932b clean up HeaderPage helper 2015-11-05 16:51:36 -07:00
Joe Fleming
e884cdc5ec minor tweak to tryForTime 2015-11-05 16:51:17 -07:00
Joe Fleming
7f75f65b5d add config to swollow index creation errors 2015-11-05 16:37:32 -07:00
Joe Fleming
32e9201ba5 propertly return promises, properly catch Promise.all failure 2015-11-05 16:15:20 -07:00
Joe Fleming
3faa130d67 refactor tests
use new navigation helpers, change location of some tests, clean up setup and teardown to speed things up
2015-11-05 15:39:01 -07:00
Joe Fleming
626fbe4276 simplify sleep code 2015-11-05 14:45:09 -07:00
Joe Fleming
221063e62b add indexDefinition to emptyKibana scenario
fixes potential issue where server doesn't recreate it in time
2015-11-05 14:44:49 -07:00
Joe Fleming
e50bb3b859 provide safe methods for app navigation
also change the way getUrl works
2015-11-05 14:41:43 -07:00
Joe Fleming
c9579d5da3 ScenarioManager load/unload always return promises 2015-11-05 14:36:45 -07:00
Joe Fleming
2d04ec4afa change serverConfig servers path 2015-11-04 16:08:00 -07:00
Joe Fleming
59c6b68383 remove now redundant timer in test 2015-11-04 15:23:49 -07:00
Joe Fleming
9cb5245b42 tighten up the create/remove index pattern helpers 2015-11-04 15:23:09 -07:00
Joe Fleming
4cbfecf963 place failure screenshots in test/output 2015-11-04 15:18:57 -07:00
Joe Fleming
e3ac7f6dc0 always pass error from Common.handleError 2015-11-04 14:44:47 -07:00
Joe Fleming
33c6cf5980 fix binding issue 2015-11-04 14:34:08 -07:00
Joe Fleming
b17c80fbad rename create/removeIndex to create/removeIndexPattern 2015-11-04 14:33:23 -07:00
Joe Fleming
87510bc439 move the automation notes to contributing 2015-11-03 16:42:01 -07:00
Joe Fleming
d42f54b5d3 add debug method to common
add debug setting to intern config, don't output debug messages by default
2015-11-03 16:19:53 -07:00
Joe Fleming
cbcc34ee80 clean up stray common.logs, unused deps 2015-11-03 16:19:04 -07:00
Joe Fleming
ea54f19932 rename entry file for settings tests 2015-11-03 16:01:49 -07:00
Joe Fleming
f6c442ba70 add back the status tests
in bdd form this time
2015-11-03 15:53:57 -07:00
Joe Fleming
1ee196f292 only reset kibana index before each test
no need to reset the makelogs data
2015-11-03 15:37:21 -07:00
Joe Fleming
a5748f27af break down the popularity tests a little 2015-11-03 15:35:33 -07:00
Joe Fleming
33d2484d93 remove delay after createing makelogs data 2015-11-03 13:55:18 -07:00
LeeDr
93501a4590 Added _index_pattern_popularity tests. 2015-11-03 13:45:54 -07:00
LeeDr
47da19d9c0 Added _index_pattern_results_sort. 2015-11-03 13:45:47 -07:00
LeeDr
5176ce0819 Changed more testSettings tests to BDD. 2015-11-03 13:45:41 -07:00
Joe Fleming
22671d7a41 change how screenshot are captured 2015-11-03 13:45:29 -07:00
Joe Fleming
45bce9db2b use bluebird delay for sleep method 2015-11-03 13:45:24 -07:00
Joe Fleming
db5e279f5f move scenarios config under its own property 2015-11-03 13:45:19 -07:00
Joe Fleming
33372cd7ac cleanup, tweak URL wait time 2015-11-03 13:45:14 -07:00
Joe Fleming
6a18a112b5 make the bdd style tests run 2015-11-03 13:45:07 -07:00
LeeDr
33d053c9f5 Trying BDD testing. 2015-11-03 13:44:56 -07:00
Joe Fleming
1213afe38d clean up merge conflict message 2015-11-03 13:20:14 -07:00
Joe Fleming
4a114188d7 set idle-timeout back to 30 2015-11-03 13:18:59 -07:00
LeeDr
e826eb1b58 css selector change in SettingsPage.getPopularity to try to fix Travis test run. 2015-11-03 13:11:40 -07:00
LeeDr
8f45136853 Add sleep time between reloading empty kibana index and trying to access in browser. It works locally but need to see if this resolves the failures on Travis. 2015-11-03 13:11:36 -07:00
Joe Fleming
180c4b7088 show absolute path for screenshot 2015-11-03 13:10:21 -07:00
LeeDr
a07ced84a2 Corrected indentation. No code changes. 2015-11-03 13:10:14 -07:00
LeeDr
cb7ae4f738 Switched back to using reload in testSettings setup. Removed unneded quotes on test names. 2015-11-03 13:10:09 -07:00
LeeDr
47054f9199 No code changes, only style change to unwrap a lot of superfluous line breaks on chained calls. 2015-11-03 13:10:02 -07:00
LeeDr
8f06870f74 Removed comment with link to manual tests. 2015-11-03 13:07:57 -07:00
LeeDr
eaaf01d1d2 Update AutomationNotes.MD 2015-11-03 13:07:53 -07:00
LeeDr
2fb2e4bcbd refactor 'var remote = this.remote' to setup in testSettings. Remove checking code on clickVisualize. I don't think it's needed (and not used in tests in this PR). 2015-11-03 13:07:47 -07:00
LeeDr
e40c7fa7a5 Added 3 tests for ScenarioManager.loadIfEmpty function. Refactored loadIfEmpty function to enable testing. 2015-11-03 13:07:43 -07:00
LeeDr
e9d349bf24 Created Common.screenshotError function and changed testSettings to call it.
Improved logging in screenshotError to get the timestamp and use it in the log message instead of logging Date.now().
2015-11-03 13:07:20 -07:00
LeeDr
85397c754f I tried using tryForTime to wait until the settings URL is present instead of status, but very briefly getting discover URL. So I ended up adding a sleep anyway to wait for that redirect to settings.. 2015-11-03 13:05:47 -07:00
LeeDr
d1e73bcff1 Fixed console.log, and moved remote variable assignement from beforeEach to setup. 2015-11-03 13:05:43 -07:00
LeeDr
fb5fcca5b6 Fixed sleep function to use setTimeout instead of setFindTimeout on something that doesn't exist. 2015-11-03 13:05:26 -07:00
LeeDr
25c78e6a0d Removed a bunch of commented-out debugging code. 2015-11-03 13:04:09 -07:00
LeeDr
4fc2facef1 Change findByCssSelector for index delete to not use tooltip css (and default index button just to be consistent). 2015-11-03 13:04:04 -07:00
LeeDr
a25f4d3780 Wrap the settingsPage.clickDeletePattern in a tryForTime loop to see if it fixes Travis failures. 2015-11-03 13:04:00 -07:00
LeeDr
667f17c893 Tweak setup method to try to get Travis tests to pass. 2015-11-03 13:02:04 -07:00
LeeDr
80110414a9 Fix 24-hour time format for logging 2015-11-03 13:01:56 -07:00
LeeDr
34768c83b1 Added screenshot catch block on testSettings tests. 2015-11-03 12:08:32 -07:00
LeeDr
3726d3d5f9 Added a tryForTime on the initial loading of Settings tab to make sure we're not on the status page. 2015-11-03 12:05:09 -07:00
LeeDr
80f2ed76cb TryForTime to get to kibana settings tab. 2015-11-03 12:05:02 -07:00
LeeDr
167fdcd716 Use moment.js for timestamps on common.log.
Also add loaderOptions.paths to intern config

Conflicts:
	test/intern.js
2015-11-03 11:50:10 -07:00
LeeDr
68424f32ec testSettings was requiring DiscoverPage which isn't required and isn't in this PR. Removed it. 2015-11-03 11:45:16 -07:00
Joe Fleming
bb05070002 remove logstash data not used in this PR 2015-11-03 11:44:52 -07:00
LeeDr
1e853f0d15 Set intern.js to run status and testSettings suites. 2015-11-03 11:42:03 -07:00
LeeDr
05684c6326 Was having intermittent problems with errors just before or after clicking Visualize tab and started some work towards verifying the URL after the click. 2015-11-03 11:37:10 -07:00
LeeDr
06ec901764 Capture screenshots when any test fails. Formatting and minor refactoring. 2015-11-03 11:36:56 -07:00
LeeDr
40ec0ba38d Create AutomationNotes.MD 2015-11-03 11:26:23 -07:00
leedr
fef9468b60 Added logstashFunctional bulk load files.
These are not working yet.
2015-11-03 11:24:52 -07:00
leedr
b6eecc6ba7 Added timeouts to most of the tests
(seemed to only be needed on Firefox).
All (13) tests are passing on Chrome and Firefox.
These tests currently depend on starting testSettings without
a Kibana index (I use CURL to manually delete before starting).
2015-11-03 11:21:37 -07:00
leedr
d6b82bc4be Many new tests, updates to tests, and refactoring. 2015-11-03 11:18:37 -07:00
leedr
d11cc86973 Many new tests for settings tab. Asserts changed to expect library. 2015-11-03 11:10:00 -07:00
leedr
ab165af459 clean up header and settings pages 2015-11-03 11:01:51 -07:00
leedr
d67cd2abc4 Additional page support classes 2015-11-03 10:57:31 -07:00
Jonathan Budzenski
8af41458ae [functional testing] Centralize server configs 2015-10-26 13:11:28 -05:00
Jonathan Budzenski
94996e8442 [functional testing] Rename getPage util to getUrl 2015-10-21 14:31:37 -05:00
Jonathan Budzenski
90969d9308 [functional testing] Add url configs and util to get pages 2015-10-21 14:26:42 -05:00
Jonathan Budzenski
e30c555434 [functional testing] Return promise from tests instead of using done callback 2015-10-20 07:24:21 -05:00
Jonathan Budzenski
7cef3240d8 [functional testing] Add explicit index names to config, rename mapping to indexDefinition 2015-10-15 14:50:58 -05:00
Jonathan Budzenski
db8f7cdf22 [functional testing] Load scenarios 2015-10-14 15:33:25 -05:00
Jonathan Budzenski
251bf525eb [functional testing] Test for kibana ready on status page 2015-09-17 16:38:04 -05:00
Jonathan Budzenski
4ae294937d [functional testing] Use CommonJS style syntax in test 2015-09-17 15:29:24 -05:00
Jonathan Budzenski
c064533ee8 [functional testing] Simplify, starting with one test 2015-09-11 09:54:42 -05:00
Jonathan Budzenski
32d199efce [functional testing] Add fixture 2015-09-08 13:26:19 -05:00
Jonathan Budzenski
d7db845b58 [functional testing] Add minimal smoke test, clean up config 2015-09-08 11:45:53 -05:00
Jonathan Budzenski
76d60aec9e [functional testing] Start new instance of kibana 2015-09-02 14:56:07 -05:00
Jonathan Budzenski
7b8374b7c8 Add intern task to grunt and associated npm script 2015-09-02 14:07:20 -05:00
leedr
9980741406 Intial functional test automation files 2015-09-02 10:39:34 -05:00
spalger
15864363d5 It has been a while.. sorry 2015-07-20 15:29:48 -07:00
spalger
844f2d602c moved tests next to related source files 2015-07-16 01:27:52 -07:00
spalger
ffc4f3d7e5 flatten the ui directory a bit, shorten module ids 2015-07-15 23:25:46 -07:00
spalger
bb77b8a711 Merge branch 'master' of github.com:elastic/kibana into apps/home 2015-07-15 16:29:54 -07:00
Spencer
9d69b97ff0 Merge pull request #4406 from BigFunger/install-plugin
Install plugin
2015-07-15 15:33:33 -07:00
spalger
93c8ab9d97 Merge branch 'master' of github.com:elastic/kibana into apps/home 2015-07-15 14:48:55 -07:00
Jim Unger
49d1e5a176 Added a quiet cli option to the plugin installer, reworked settingParser to clean up scope 2015-07-15 16:17:27 -05:00
Jonathan Budzenski
c3358005d9 Update the raw property when removing items from an indexed array. Closes #4381 2015-07-14 13:59:56 -05:00
Joe Fleming
163dd14056 Merge pull request #4376 from jbudz/issues/4358
Base64 decoding
2015-07-13 12:15:56 -07:00
Jim Unger
7a37dcf71d Applied changes requested in pull review 2015-07-13 12:25:04 -05:00
Joe Fleming
998681e8a0 add tests for multiple event args 2015-07-10 14:59:58 -07:00
Jim Unger
6a5978145d Fixed bug in npmInstall so that it returns on error. 2015-07-10 13:13:02 -05:00
Jim Unger
49e67dd444 commented out more unit tests. 2015-07-09 15:53:21 -05:00
Jim Unger
550c1c36b0 commented out some unit tests. 2015-07-09 15:40:56 -05:00
Jim Unger
cad5aa26ca sorts directory results in unit tests 2015-07-09 15:04:55 -05:00
Jim Unger
c0a6572c15 Changes mkdir to sync in tests. Wrapped exception from request.get 2015-07-09 14:57:05 -05:00
Jim Unger
4a021a2496 Refactored a few files to tighten scope 2015-07-09 11:44:50 -05:00
Jonathan Budzenski
c701b9b81f Change decode id to base64 2015-07-09 11:24:07 -05:00
Jim Unger
ca224a4b3b fixed reference to renamed file, set default ENV variable for npm 2015-07-09 10:01:04 -05:00
Spencer Alger
3d82d404cb Merge branch 'master' of github.com:elastic/kibana into apps/home 2015-07-08 18:05:09 -07:00
Jim Unger
56d3eba858 Initial version of plugin installer 2015-07-08 17:24:49 -05:00
Joe Fleming
6417bd2e79 fix black marker color issue, with tests
also remove unsed min/max from the data bounds method
2015-07-01 16:00:03 -07:00
Jonathan Budzenski
90e4fb82c8 Add transform for decoding base64 strings. Closes #4358 2015-07-01 16:31:36 -05:00
Joe Fleming
3c9c54d97d update GeoJson Agg Response tests
break apart object validation, fix props.center and geometry.coordinates equality check
2015-06-26 12:12:18 -07:00
Joe Fleming
3738b55ec4 update tests to handle lngLat to latLng change 2015-06-26 11:41:08 -07:00
Joe Fleming
d3f6028e1b add getDataRectangles tests 2015-06-25 21:38:27 -07:00
Joe Fleming
0e770506c4 add some tests around marker creation 2015-06-25 21:28:21 -07:00
Joe Fleming
ebeedf1a47 add tests for attaching events to map 2015-06-25 21:10:07 -07:00
Joe Fleming
b12e0800c2 ensure map zoom controls are being included
this completes test parity with old tilemap tests
2015-06-25 20:29:57 -07:00
Joe Fleming
9c700f248e add test for adding map data controls 2015-06-25 20:17:58 -07:00
Joe Fleming
60a4ea3a40 add tilemap map tests
tests around creating new maps
2015-06-25 20:08:41 -07:00
Joe Fleming
40fdc44bd6 replace tilemap tests
remove Vis dep, mock tilemap map, test tilemap methods directly with basic data
2015-06-25 18:58:59 -07:00
Joe Fleming
29616381cb minor tilemap test data refactor 2015-06-25 17:11:13 -07:00
Joe Fleming
fbd882faf6 properly clean up the vis charts 2015-06-25 17:10:41 -07:00
Spencer Alger
40e2bd562f updated 'always included' list 2015-06-25 03:07:05 -07:00
Spencer Alger
8d2e8816dc [server] work out plugin organization, and app declaration 2015-06-24 23:47:19 -07:00
Joe Fleming
a42d1530ae clean up the tilemap method tests 2015-06-24 20:02:46 -07:00
Joe Fleming
54f3125616 add tests for getLatLng 2015-06-24 20:00:25 -07:00
Joe Fleming
d7460c3536 add tests for tooltipProximity and nearestFeature 2015-06-24 19:51:44 -07:00
Joe Fleming
d56a015e34 Merge branch 'master' into map-refactor 2015-06-24 18:29:22 -07:00
Joe Fleming
214e1af00c rename dataToHeatArray, add tests 2015-06-24 11:01:33 -07:00
Joe Fleming
885087f87e add tests for scaled circle markers 2015-06-24 10:40:14 -07:00
Joe Fleming
943418039d add simple geohashMinDistance test
just a smoke test - recreating what was originally there
2015-06-23 16:18:08 -07:00
Joe Fleming
adcd7ac841 finish recreating all the base marker tests 2015-06-23 16:01:04 -07:00
Joe Fleming
59e1527694 add base marker tests 2015-06-22 18:02:31 -07:00
Joe Fleming
0212a7c173 add test for getVisData and getGeoExtents 2015-06-22 16:59:08 -07:00
Joe Fleming
5d03edd90e move TileMap.getMinMax to Data.getGeoExtents 2015-06-22 16:58:29 -07:00
Joe Fleming
89f12e3ad9 move tilemap test location 2015-06-22 14:17:43 -07:00
Joe Fleming
861b7a3d32 remove tests for methods that don't exist in tilemap 2015-06-22 12:21:42 -07:00
Spencer Alger
ec6d04b4a2 Merge branch 'master' of github.com:elastic/kibana into chore/reorganizeVisClasses 2015-06-22 07:38:47 -07:00
Spencer Alger
dddfb802c2 Merge branch 'master' of github.com:elastic/kibana into update/lodash 2015-06-19 10:54:22 -07:00
Spencer Alger
96ce21a236 Merge branch 'master' of github.com:elastic/kibana into chore/reorganizeVisClasses 2015-06-18 14:20:05 -07:00
Joe Fleming
a0d95f9de6 add test for param removal via null 2015-06-17 10:30:17 -07:00
Joe Fleming
f79aa84726 move initAggParam to beforeEach 2015-06-17 10:29:53 -07:00
Spencer Alger
701d2dedfb Merge branch 'master' of github.com:elastic/kibana into update/lodash 2015-06-16 18:02:30 -07:00
Spencer Alger
8da87d75f0 Merge branch 'master' of github.com:elastic/kibana into testing/seeds 2015-06-16 17:32:04 -07:00
Spencer Alger
41c789f33c [vis] reorganize vis classes into more logical groups 2015-06-15 21:31:11 -07:00
Spencer Alger
2fa6c11454 [sequencer] _.chunk splits by number, not chunk count 2015-06-15 17:38:02 -07:00
Spencer Alger
c214eb486d [aggResponse/tabify/tests] _.pluck doesn't _.map andymore 2015-06-15 17:37:35 -07:00
Spencer Alger
4579019ec1 grunt-mocha integration 2015-06-15 16:05:30 -07:00
Spencer Alger
1b308bf86b Merge branch 'master' of github.com:elastic/kibana into update/lodash 2015-06-15 15:12:00 -07:00
Spencer Alger
3d1f1d2c44 Merge branch 'master' of github.com:elastic/kibana into pr/3714 2015-06-15 14:21:23 -07:00
Spencer Alger
048cd0e293 switch default status to undefined 2015-06-15 12:34:33 -07:00
Spencer Alger
58c8e15db8 [tests/harness] require lodash before using it 2015-06-15 11:08:59 -07:00
Spencer Alger
ebb705cd89 [lodash] _.rest, _.last, and _.first audit 2015-06-15 10:10:59 -07:00
Spencer Alger
a6f938866c [lodash] switch flatten() and flattenDeep() 2015-06-15 10:10:59 -07:00
Spencer Alger
8f6165a15c [lodash] switch to bonafide _.wrap 2015-06-15 10:10:49 -07:00
Rashid Khan
825bf875d5 Merge pull request #3890 from dgrabows/fix-3877
Removed hardcoded value of 1 for number_of_replicas when creating the kibana index.
2015-06-15 08:36:33 -07:00
Chris Cowan
90d4f862a7 Merge branch 'master' of github.com:elastic/kibana into feature/hapi-server 2015-06-15 08:09:34 -07:00
Spencer Alger
a5ffd91277 [lodash] audit _() usage to ensure compatibility with lodash 3.0
Starting in lodash 3.0 _() chains are lazily evaluated and therefor usage of the pattern had to be checked for side effects. Where it made more sense to just use Array methods, the code was updated. In other places the code was already calling .value() on the chain, so no changes were needed. Finally, there were places where the chain was not designed to produce a value, but to modify a value that was already in scope (like this/self), in those senarios .commit() was added to force evaluation of the chain.
2015-06-11 18:27:18 -07:00
Spencer Alger
6331a24a70 [lodash-mixins] switch _(Class).inherits(Super) to new _.class mixin 2015-06-11 18:26:43 -07:00
Spencer Alger
ec102108da [mocha] bump default timeout to prevent false positives 2015-06-11 15:21:56 -07:00
Spencer
4c3d06fdf0 Merge pull request #3571 from w33ble/sort-by-scripted
Allow sorting by scripted fields
2015-06-11 14:03:34 -07:00
Joe Fleming
9326729174 add long-form order syntax on scripted fields
also check that it works as both an array and an object
2015-06-10 16:11:19 -07:00
Joe Fleming
3859616705 add checks for sort object mutation 2015-06-10 16:07:37 -07:00
Joe Fleming
13a4f58f61 update tests for scripted fields 2015-06-10 15:16:15 -07:00
Joe Fleming
b4c4d7ee20 revert changes to get_sort
and also remove the scripted sorting tests
2015-06-10 14:41:53 -07:00
Joe Fleming
48b139ec6b add tests around getSort.array
also include test using the new 3rd asDefaultSort param
2015-06-10 14:12:46 -07:00
Shelby Sturgis
14f84b2e5d fixing tests 2015-06-10 16:55:31 -04:00
Joe Fleming
7d3ffc18a0 Merge branch 'master' into sort-by-scripted
Conflicts:
	src/kibana/components/index_patterns/_index_pattern.js
	test/unit/fixtures/logstash_fields.js
2015-06-10 12:12:47 -07:00
Chris Cowan
cf8bfd0f10 Merge branch 'master' of github.com:elastic/kibana into feature/hapi-server 2015-06-05 17:06:48 -07:00
Shelby Sturgis
8dc2a97033 Merge branch 'master' into fix/3959 2015-06-05 14:40:18 -04:00
Joe Fleming
1a7f04a38b use tuple for the data types
to make data isolation a lot easier
2015-06-04 18:34:46 -07:00
Joe Fleming
3794bf1dd9 undoing the test changes from c451224cc
these failures are important, and verification that data is being mutated
2015-06-04 17:31:34 -07:00
Joe Fleming
d84bd86191 add negative values to the tests
also make var naming more consistent
2015-06-04 17:31:34 -07:00
Joe Fleming
c8dfb38378 refactor data class test suite
remove unused data sets
only one beforeEach for to inject the Data class
don't inject d3 (not used)
shuffle a little bit of code
2015-06-04 17:31:34 -07:00
Spencer Alger
ec9ddb7232 [testing] remove saucelabs runner and utils 2015-06-04 16:22:30 -07:00
Shelby Sturgis
db33d63dbe Merge branch 'master' into fix/3959 2015-06-04 17:54:30 -04:00
Shelby Sturgis
c451224ccd fixing tests 2015-06-04 14:52:34 -04:00
Chris Cowan
ff5b369d42 Merge branch 'master' of github.com:elastic/kibana into feature/hapi-server 2015-06-03 16:53:14 -07:00
Khalah Jones Golden
e2cf13dfd3 Merge pull request #4101 from spalger/fix/4097
[inputFocus/tests] fix test compatibility in IE
2015-06-03 18:15:52 -04:00
Spencer Alger
2c5fae89c8 [inputFocus/tests] fix test compatibility in IE 2015-06-03 14:17:55 -07:00
Chris Cowan
9ccfa1c3aa Closes #4096 - Swap this.innerText to $(this).text() 2015-06-03 14:05:18 -07:00
Khalah Jones Golden
e3f0479d76 Merge pull request #4083 from w33ble/fix/resize-test
Use document.documentElement.clientWidth to get width
2015-06-03 15:25:11 -04:00
Jim Unger
006e6507e5 Merge pull request #4044 from w33ble/tilemap-options-reset
Tilemap - Prevent reset zoom/center on option changes
2015-06-03 13:47:58 -05:00
Spencer
d2945b67fa Merge pull request #4032 from spalger/testing/updateMocha
[testing] update mocha
2015-06-02 19:49:14 -07:00
Spencer
d2a7138fb5 Merge pull request #4081 from w33ble/fix/d3-axis-errors
Fix d3 y-axis errors in tests
2015-06-02 17:30:27 -07:00
Joe Fleming
b66834c071 use document.documentElement.clientWidth to get width 2015-06-02 17:02:01 -07:00
Lukas Olson
ef8554b2f6 Merge pull request #4002 from spalger/fix/fixedScroll
Refactor Fixed Scrolling
2015-06-02 16:21:44 -07:00
Chris Cowan
dbbed300c0 Merge pull request #4034 from spalger/testing/fixDescribeOnly
[testing] simplify wrapping of mocha#ui and fix describe.only
2015-06-02 16:01:08 -07:00
Joe Fleming
7f33034f83 define VisLib Line Chart suite, wrap all other suites
makes it a little easier to grep and isolate line chart tests
2015-06-02 15:55:46 -07:00
Joe Fleming
012e114330 move visLibParams into the beforeEach scope 2015-06-02 15:55:46 -07:00
Joe Fleming
e5ae2db9ee define data types as tuples 2015-06-02 15:55:46 -07:00
Chris Cowan
233d45b6d1 Fixing tests 2015-06-02 15:52:34 -07:00
Chris Cowan
92147fe269 Fixed a test that was actually invalid. 2015-06-02 13:57:13 -07:00
Rashid Khan
09a54eb9fd Add unmapped_type to sort, remove unused function 2015-06-02 09:23:42 -07:00
Joe Fleming
a9b8cd8ddd fix geo_json props test 2015-06-01 09:46:31 -07:00
Spencer Alger
446ee5b410 [testing] prevent sync method from timing out. 2015-05-30 11:06:31 -07:00
Spencer Alger
1f86d53566 [testing] simplify wrapping of mocha#ui and fix describe.only 2015-05-30 11:01:09 -07:00
Spencer Alger
971ca6ef3e [testing] add reusable test seed option to tests 2015-05-29 21:33:43 -07:00
Joe Fleming
8a543a5789 update geoJson mock data for tests 2015-05-29 17:19:12 -07:00
Lukas Olson
c657b4f93d Merge pull request #3949 from spalger/fix/3944
[aggTypes/dateHistogram] on field changes clear the interval if needed
2015-05-28 09:24:52 -07:00
Joe Fleming
881ab58718 Merge pull request #3982 from panda01/fix/2986/useNativeWidthToStopReflow
Use native width and height to stop Reflows
2015-05-27 15:15:15 -07:00
Khalah Jones-Golden
1a11fb0270 [Tests] updated tests to reflect changes 2015-05-27 17:56:11 -04:00
Spencer Alger
a7d8cdbb15 [tilemap/tests] fix test that randomly failed 2015-05-27 13:20:37 -07:00
Spencer Alger
a7a4b7d2a5 [fixedScroll] added tests 2015-05-27 12:27:01 -07:00
Joe Fleming
1c36dd55e5 move stray test into the first suite 2015-05-26 16:00:46 -07:00
Joe Fleming
c111977e38 revert some of the refactoring
stuff that ended up not being used - originally planned to create another ResizeChecker instance, but there was no need
2015-05-26 15:57:16 -07:00
Joe Fleming
8e881e5f14 make destroy reflow test more strict
validate that the listener is not being properly removed
2015-05-26 15:52:57 -07:00
Joe Fleming
42f404a8a9 reorganize tests 2015-05-26 15:49:43 -07:00
Spencer Alger
7f875cef9e remove reference to specs/components/agg_types/buckets/_date_histogram 2015-05-26 13:57:34 -07:00
Spencer Alger
f71f3a1cbb Merge branch 'master' of github.com:elastic/kibana into fix/3944 2015-05-26 13:46:44 -07:00
Spencer Alger
6d81b345ae [testing] make 5e58d8723a work in phantom 2015-05-22 17:08:24 -07:00
Spencer Alger
657cf0dfdd fix module link 2015-05-22 16:27:24 -07:00
Spencer Alger
b333d9a6c0 [aggTypes/dateHistogram] added tests to prove e88179f15a 2015-05-22 14:35:29 -07:00
Spencer Alger
5e58d8723a [testing] wrap mocha's describe function to accept an array 2015-05-22 11:07:36 -07:00
Spencer
57b39b7030 Merge pull request #3925 from w33ble/bulk-filter-actions
Fix bulk filter actions
2015-05-22 09:15:50 -07:00
Spencer Alger
aa2be30c81 fix tests 2015-05-21 16:47:13 -07:00