mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Fix screenshots Data Table and Tile Map. Add comments.
This commit is contained in:
parent
127e8e67dd
commit
24b0177688
4 changed files with 6 additions and 0 deletions
|
@ -115,6 +115,9 @@ define(function (require) {
|
|||
.then(function () {
|
||||
return visualizePage.waitForVisualization();
|
||||
})
|
||||
// We have to sleep sometime between loading the saved visTitle
|
||||
// and trying to access the chart below with getXAxisLabels
|
||||
// otherwise it hangs.
|
||||
.then(function sleep() {
|
||||
return common.sleep(2000);
|
||||
})
|
||||
|
|
|
@ -119,6 +119,7 @@ define(function (require) {
|
|||
// it could also check the legend to verify the extensions
|
||||
var expectedChartData = ['jpg 9,109', 'css 2,159', 'png 1,373', 'gif 918', 'php 445'];
|
||||
|
||||
// sleep a bit before trying to get the chart data
|
||||
return common.sleep(3000)
|
||||
.then(function () {
|
||||
return visualizePage.getLineChartData()
|
||||
|
|
|
@ -114,6 +114,7 @@ define(function (require) {
|
|||
.then(function waitForVisualization() {
|
||||
return visualizePage.waitForVisualization();
|
||||
})
|
||||
// sleep a bit before trying to get the pie chart data below
|
||||
.then(function sleep() {
|
||||
return common.sleep(2000);
|
||||
})
|
||||
|
|
|
@ -107,6 +107,7 @@ define(function (require) {
|
|||
.then(function waitForVisualization() {
|
||||
return visualizePage.waitForVisualization();
|
||||
})
|
||||
// sleep a bit before taking the screenshot or it won't show data
|
||||
.then(function sleep() {
|
||||
return common.sleep(4000);
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue