Commit graph

9154 commits

Author SHA1 Message Date
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
77103b0a18 Merge pull request #6 from w33ble/functional-tests-settings-bdd
Functional tests switched to bdd syntax
2015-11-03 16:20:44 -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
6419590b0b fix screenshot ignore 2015-11-03 15:53:41 -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
43c91ffbc2 Ignore screenshot-*.png. 2015-11-03 13:45:51 -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
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