Commit graph

2011 commits

Author SHA1 Message Date
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 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 2464e13803 Adjust timing in tryForTime (shorter setFindTimeout, longer test timeout). 2015-11-13 09:58:41 -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 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 fd2d4435f1 allow custom timeout on getTimeBasedIndexPatternCheckbox 2015-11-11 11:28:04 -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
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 1b0db1106a move tryForTime to getFieldsTabCount, speed up test 2015-11-06 10:58:31 -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 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 e50bb3b859 provide safe methods for app navigation
also change the way getUrl works
2015-11-05 14:41:43 -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 b17c80fbad rename create/removeIndex to create/removeIndexPattern 2015-11-04 14:33:23 -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 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
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
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 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 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 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 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 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
LeeDr 06ec901764 Capture screenshots when any test fails. Formatting and minor refactoring. 2015-11-03 11:36:56 -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
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 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 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
leedr 9980741406 Intial functional test automation files 2015-09-02 10:39:34 -05:00