spalger
5916354144
[functionalTests/console] fix test subject selector by focusing on help-specific button
2016-09-21 16:35:49 -07:00
spalger
52dbb264d2
[functionalTests] prevent test failure by retrying find call
2016-09-20 15:40:51 -07:00
spalger
6b220cfc2b
[functionalTests] implement common.findAllTestSubjects() helper
2016-09-19 18:44:48 -07:00
spalger
69fb068d55
[functionalTests] implement common.tryMethod() helper
2016-09-19 18:43:59 -07:00
CJ Cenizal
2fb22ed124
Fix functional tests for Share UI.
2016-09-14 12:58:00 -07:00
spalger
a2d37fca98
[pageObjects/console] update selectors to use test subjects
2016-09-12 17:15:21 -07:00
LeeDr
fb526944ff
Added missing selectOrderBy in visualize_page, and try loop around getting line chart data
2016-09-02 11:20:34 -05:00
LeeDr
a66fc9d52d
return promise from updateConfigDoc
2016-08-30 15:11:04 -05:00
LeeDr
4cad856136
Work-around #7496 and/or #7055 by re-setting default index pattern
2016-08-30 15:11:03 -05:00
LeeDr
4bc86f4327
Changed required field data pane width and increased window width for changes in side bar.
2016-08-30 14:19:15 -05:00
LeeDr
168167bfee
Removed getZoomLevel functionality and replaced with more data checks.
2016-08-11 11:30:43 -05:00
LeeDr
069f335c0b
Several new TileMap tests for 10 zoom levels, Fit Data Bounds, and save zoom level
2016-08-04 12:15:23 -05:00
Stéphane Campinas
48e7c94934
corrected CSS selection
2016-07-21 11:47:25 +01:00
LeeDr
2953d84c6f
change other headerPage to header
2016-07-06 17:14:12 -05:00
LeeDr
2945d75df6
Fix a headerPage typo, un-nest some promises.
2016-07-06 16:44:44 -05:00
LeeDr
7f5590aa5b
Changes to fix settings page failure
2016-07-06 15:46:00 -05:00
LeeDr
a8c1b4e804
Try to fix another staleElementReference in data table test
2016-07-01 17:40:01 -05:00
LeeDr
583c89012c
Add a debug log so we can tell what page we're going to if we fail
2016-06-30 15:13:56 -05:00
LeeDr
cfe85639fc
Add getSpinnerDone after clicking a new page in index pattern field list
2016-06-30 14:44:57 -05:00
CJ Cenizal
733a52d00a
Remove page object references from support/index.
2016-06-29 06:02:00 -07:00
CJ Cenizal
499e659adb
Remove empty constructors from Page Object classes.
2016-06-28 09:12:22 -07:00
CJ Cenizal
91e919d1c5
Convert all page objects to be ES6 classes and rely on PageObjects module instead of support.
2016-06-27 17:22:47 -07:00
CJ Cenizal
64828f12ec
Create packages for util and page object files in functional tests.
...
- Rename page_objects.js to page_objects/index.js.
- Create support/utils folder to contain bdd_wrapper, elastic_dump, es_client, log, and try, all exported by an index.js.
2016-06-23 10:26:45 -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
b4c3991588
Merge pull request #7516 from tylersmalley/7481-require-index-pattern
...
Adds route option for requireDefaultIndex
2016-06-22 15:06:40 -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
CJ Cenizal
37f82f146f
Create visual_regression test suite.
...
- Add test:visualRegression npm script.
- Split up test:visualRegression grunt task into takeScreenshots and buildGallery subtasks.
- Add intern_visual_regression.js test file.
- Rename api_itern.js -> intern_api.js for consistency.
- Refactor delayed exports logic for readability.
- Refactor common.js page object to use ES2015 Class.
2016-06-21 20:50:55 -07:00
LeeDr
b7e18730a7
Remove a couple unneeded calls to getSpinnerDone
2016-06-17 10:26:37 -05:00
LeeDr
570f54c737
remove some out of date comments
2016-06-16 15:40:25 -05:00
LeeDr
ae56c13583
merge master
2016-06-16 13:54:01 -05:00
LeeDr
bb042f767b
Documenting magic number
2016-06-16 12:55:33 -05:00
LeeDr
65f74e08b9
Limit length of currentUrl when navigating. Too long indicates it didn't change from TileMap to New Vis
2016-06-16 09:02:53 -05:00
LeeDr
475220a129
getSpinnerDone at the end of loadSavedDashboard
2016-06-15 18:06:01 -05:00
LeeDr
e037140866
getSpinnerDone after setting absolute time range and clicking Go
2016-06-15 16:50:26 -05:00
LeeDr
14b7d3a9e2
Additional stability improvements
2016-06-15 15:03:09 -05:00
LeeDr
739b00581e
Add a sleep back into saveDashboard
2016-06-15 13:29:51 -05:00
LeeDr
8531d9bf01
Remove auth from URL
2016-06-15 12:59:44 -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
057ec2db81
Testing a sleep between get and refresh
2016-06-14 11:23:10 -05:00
LeeDr
5d02617830
Change browser from firefox to chrome. Add try in saveDashboard.
2016-06-13 16:51:40 -05: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
CJ Cenizal
8b08d1ac0b
Fix bug in test common.js handleError method when saving a screenshot.
2016-06-10 12:44:59 -07:00
CJ Cenizal
9fa2e82b31
Add screenshot-comparison utility, to protect against visual regressions during CSS refactors.
...
- Remove test/output and added test/screenshots (requires a Jenkins change).
- Add test/screenshots/baseline images. These document the expected state of the UI.
- Add dependency on image-diff package.
- Add utilities/compareScreenshots.js, which can be run via 'npm run compareScreenshots'.
2016-06-08 15:52:23 -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
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