CJ Cenizal
e7189e5349
Migrate visualize functional tests to PageObjects.
2016-06-27 15:51:29 -07:00
CJ Cenizal
4cc868c932
Migrate management functional tests to use PageObjects.
2016-06-27 15:39:40 -07:00
CJ Cenizal
0a501b3b70
Migrate all discover functional tests to use PageObjects.
2016-06-27 13:04:08 -07:00
CJ Cenizal
2c7394b033
Add PageObjects facade to support/index.js, allowing us to enable all functional tests during the refactor.
2016-06-23 10:24:17 -07:00
CJ Cenizal
31137131f3
Refactor functional tests, particularly support/index.js.
...
- Each page object exposes an init method, which accepts a reference to remote.
- Extract page objects from support/index.js into PageObjects.js.
- PageObjects.js also exposes an init method, which accepts a reference to remote. It’s responsible for passing this onto all of the page object instances.
- The functional tests index file calls PageObjects.init and provides the remote reference.
- Extract log and try method functionality from common.js into Log and Try utils.
- Remove common.js dependency from es_client.js and elastic_dump.js.
- Partially convert “discover” tests to use PageObjects, as a demonstration.
2016-06-23 10:24:17 -07:00
Tyler Smalley
14ef79717c
Resolves tests for management redirect changes
...
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2016-06-21 23:36:35 -07:00
LeeDr
e558f00c42
minor change in settings test might fix previous failure
2016-06-16 14:30:01 -05:00
LeeDr
ae56c13583
merge master
2016-06-16 13:54:01 -05:00
LeeDr
4234c9f6e3
try around some failing dashboard test steps
2016-06-16 10:23:42 -05:00
LeeDr
bfcb875c77
Merge master
2016-06-15 11:29:23 -05:00
LeeDr
d4914a3cff
getSpinnerDone in dashboard
2016-06-15 11:19:59 -05:00
Tyler Smalley
91b6d92529
Changes settings to management
...
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2016-06-14 16:43:12 -07:00
LeeDr
3e22acdaf9
Update intern version to 3.2.3, fix failing test
2016-06-14 10:41:37 -05:00
CJ Cenizal
9e353fd451
Add visual regression screenshot gallery.
...
- Add 'test:visualRegression' grunt task.
- Run 'test:visualRegression' as part of npm script 'test'.
- Add 'clean:screenshots task'.
- Clean screenshots/session when funtional tests are run.
2016-06-14 08:33:45 -07:00
CJ Cenizal
0fb84e4696
Take screenshots of UI throughout functional tests.
2016-06-13 11:44:49 -07:00
spalger
f0c370209e
[functional tests] move common.handleError to a higher level
2016-06-12 21:02:06 -07:00
spalger
ac0086341d
[functional tests] remove extra IIFE wappers
2016-06-11 17:47:29 -07:00
LeeDr
2462b49df1
Condensed common delete index and updateConfigDoc into one method.
2016-06-06 14:08:33 -05:00
LeeDr
c39217480b
Switch Discover and Settings tests to use esClient to wipe ,kibana
2016-06-03 13:49:00 -05:00
Lee Drengenberg
70cae37480
Merge pull request #7346 from LeeDr/visualizeTestsWithElasticdump
...
Use elasticdump to preload default index for visualization tests.
2016-06-03 11:32:06 -05:00
LeeDr
b614e4de35
Minor cleanup logstash return
2016-06-03 10:03:35 -05:00
Nicolás Bevacqua
b6a0b8979d
Merge pull request #6543 from bevacqua/bugfix/no-results-timepicker
...
Fix timepicker button behavior in "No Results" page for timeseries data
2016-06-02 19:22:49 -03:00
LeeDr
1c0cbe23dc
Wait for loading of logstash to finish.
2016-06-02 17:10:22 -05:00
LeeDr
07e5686169
Use elasticdump to preload default index for visualization tests.
2016-06-01 13:09:44 -05:00
LeeDr
43c7257b88
One new discover test for issue #5937 use back button.
2016-05-31 23:36:25 -05:00
Nicolás Bevacqua
496b8a998e
[test] Fix test fixtures.
2016-05-31 18:49:12 -03:00
LeeDr
f28fc89733
Correct a dashboard test sub-suite name.
2016-05-27 16:20:50 -05:00
LeeDr
4ebe29e14e
Moved elasticdump methods from common to support/elastic_dump.js
2016-05-27 15:49:57 -05:00
LeeDr
ac4a0ed748
Move updateConfigDoc method out of scenario_manager and into its own support/es_client.
2016-05-27 09:52:30 -05:00
LeeDr
1333cbe6ff
Add missing Dashboard test files.
2016-05-27 08:20:27 -05:00
LeeDr
988be91266
New dashboard tests using elasticdump
2016-05-26 16:32:53 -05:00
Nicolás Bevacqua
b3b31288e6
[test] Return all the Promises.
2016-05-26 18:00:52 -03:00
LeeDr
f2b471131d
Fix a bunch of tryForTimes.
2016-05-20 14:01:15 -05:00
Nicolás Bevacqua
17c1ce4209
Merge branch 'master' into bugfix/no-results-timepicker
2016-05-20 14:15:12 -03:00
LeeDr
a49d765efc
I think I'm back to master HEAD at this point. Still don't see the problem.
2016-05-20 09:34:06 -05:00
LeeDr
69fdfd8f99
Merge master
2016-05-17 13:23:48 -05:00
LeeDr
dda1703b5e
Try without the last test
2016-05-17 10:35:09 -05:00
LeeDr
8fca1d8bb7
Changed to return on initial getEsHostPort.
2016-05-16 18:27:42 -05:00
LeeDr
d37573d5b4
Test to see if returning from the expects resolves the tryForTime's continuing after the tests finish.
2016-05-16 18:08:45 -05:00
Shaunak Kashyap
bc0d3921de
Don't try to set the ES URL via the UI
2016-05-10 03:25:00 -07:00
LeeDr
ee3119e678
A couple of simple console tests to make sure its there and works.
2016-05-04 13:00:37 -05:00
spalger
fe260e0ec6
Merge branch 'master' of github.com:elastic/kibana into implement/babelForFunctionalTests
2016-04-27 23:26:42 -05:00
spalger
263b55360f
[test/functional/support] throw errors on invalid export usage
2016-04-22 13:03:33 -05:00
spalger
56170207bb
[functionalTests/common] add #try() method
...
There are a ton of places in the functional tests where the "default" is set explicitly. This sort of defeats the purpose of a default though, so in my spare time I'll be moving tests away from this pattern.
This change removes the timeout argument from #tryForTime() via a new method, simply called #try(). It also replaces all instances of `common.tryForTime(defaultTimeout, ...)` with calls to this method, which shouldn't have cause any functional changes.
2016-04-22 11:05:46 -05:00
Nicolas Bevacqua
912e2c825a
[merge] Merge with master
2016-04-19 16:30:05 -03:00
spalger
b63bfd2e0a
[test] setup babel for the functional tests
2016-04-17 16:58:34 -07:00
Court Ewing
de20762889
[internal] Remove all variable redeclarations
...
Redeclaring variables causes ambiguity and serves no purpose. It
actually causes a runtime error when you do it with `let`, and we can
enforce not doing it via a linter rule.
2016-04-01 14:21:55 -04:00
Nicolas Bevacqua
7ff2a358ff
Merge branch 'master' into bugfix/no-results-timepicker
2016-03-30 16:53:02 -03:00
Nicolas Bevacqua
bc0278f266
[test/functional] Add test case for expand/collapse timepicker from discover's "No Results".
2016-03-30 14:50:32 -03:00
spalger
828a4bf28f
[visualize/functionaltests] aggregating on an analyzed field is not allowed
2016-03-30 10:48:47 -07:00