Commit graph

99 commits

Author SHA1 Message Date
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
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
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
e50bb3b859 provide safe methods for app navigation
also change the way getUrl works
2015-11-05 14:41:43 -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
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
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
33372cd7ac cleanup, tweak URL wait time 2015-11-03 13:45:14 -07:00
Joe Fleming
1213afe38d clean up merge conflict message 2015-11-03 13:20:14 -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
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
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
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
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
80110414a9 Fix 24-hour time format for logging 2015-11-03 13:01:56 -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
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
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