Commit graph

9297 commits

Author SHA1 Message Date
Joe Fleming
4a114188d7 set idle-timeout back to 30 2015-11-03 13:18:59 -07:00
Joe Fleming
51b1a8355c remove impropper Nonsense dep 2015-11-03 13:17:32 -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
Court Ewing
2041d9ae7a Merge pull request #5269 from epixa/5233-disallow-empty-msearch
Treat no index in msearch as empty instead of global
2015-11-03 13:40:03 -05: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
Court Ewing
36b65962a7 Comment to clarify our empty index list fetch behavior
While this code does have test coverage that'll help prevent regressions
for this implementation, it is also helpful to clarify to future
developers why the request is implemented in this way to begin with.
2015-11-03 13:25:38 -05: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
Court Ewing
65c5053b99 Use correct time range for index constraints
The existing index constraints would only work when all of the documents
in an index fell within the given time range. This change ensures that
indexes are returned if ANY document falls within the given time range.
2015-11-03 13:11:06 -05: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
Court Ewing
73804e6647 Elasticsearch 2.1 branch for esvm
Kibana 4.3 should be developed against the 2.1 branch of elasticsearch.
2015-11-03 13:01:05 -05:00
leedr
d67cd2abc4 Additional page support classes 2015-11-03 10:57:31 -07:00
Chris Cowan
dc625565ff Closes #5287 - Change the result size to 10000 2015-11-03 10:45:28 -07:00
Spencer
df0fe171b3 Merge pull request #5273 from spalger/fix/buffersInConfig
[server/config] support buffers in config
2015-11-03 10:55:49 -06:00
spalger
08bdfdd71e [server/config] added tests for new deepCloneWithBuffers fn 2015-11-03 09:16:42 -06:00
spalger
bb45291390 [server/config] break clone method into own module 2015-11-03 09:15:59 -06:00
spalger
9a8ccc7e00 [promise] fromNode helper 2015-11-02 20:34:55 -06:00
spalger
671565b421 [server/config] support buffers in config 2015-11-02 20:30:48 -06:00
Spencer
0dfe904540 Merge pull request #5254 from spalger/fix/envConfigPath
Read the config path from the environment
2015-11-02 17:48:46 -06:00
Jonathan Budzenski
b755082681 [filter bar] Move alias to a separate input field 2015-11-02 17:44:57 -06:00
Court Ewing
62a93487dd Treat no index in msearch as empty instead of global
Prior to this, if you were to pass an empty index list to the search
fetch strategy in courier, kibana would perform an msearch on all
indexes in elasticsearch. This commit implements the desired behavior
that no defined index list means there are no indexes to query, and thus
is treated like an empty response.
2015-11-02 14:51:11 -05:00