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