mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Merge pull request #8127 from LeeDr/fixSideFieldBarExpandCollapse
Changed required field data pane width and increased window width for…
This commit is contained in:
commit
132dbdf774
4 changed files with 24 additions and 9 deletions
|
@ -41,7 +41,7 @@ bdd.describe('discover tab', function describeIndexTests() {
|
|||
return PageObjects.discover.getSidebarWidth()
|
||||
.then(function (width) {
|
||||
PageObjects.common.debug('expanded sidebar width = ' + width);
|
||||
expect(width > 180).to.be(true);
|
||||
expect(width > 20).to.be(true);
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -66,7 +66,7 @@ bdd.describe('discover tab', function describeIndexTests() {
|
|||
})
|
||||
.then(function (width) {
|
||||
PageObjects.common.debug('expanded sidebar width = ' + width);
|
||||
expect(width > 180).to.be(true);
|
||||
expect(width > 20).to.be(true);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
@ -142,7 +142,7 @@ bdd.describe('visualize app', function describeIndexTests() {
|
|||
});
|
||||
});
|
||||
|
||||
bdd.it('"Fit data bounds" should zoom to level 3', function pageHeader() {
|
||||
bdd.it('Fit data bounds should zoom to level 3', function pageHeader() {
|
||||
var expectedPrecision2ZoomCircles = [ { color: '#750000', radius: 192 },
|
||||
{ color: '#750000', radius: 191 },
|
||||
{ color: '#750000', radius: 177 },
|
||||
|
|
|
@ -17,7 +17,7 @@ bdd.describe('visualize app', function () {
|
|||
|
||||
bdd.before(function () {
|
||||
var self = this;
|
||||
remote.setWindowSize(1200,800);
|
||||
remote.setWindowSize(1280,800);
|
||||
|
||||
PageObjects.common.debug('Starting visualize before method');
|
||||
var logstash = scenarioManager.loadIfEmpty('logstashFunctional');
|
||||
|
|
|
@ -51,6 +51,9 @@ export default class DiscoverPage {
|
|||
return this.clickLoadSavedSearchButton()
|
||||
.then(() => {
|
||||
this.findTimeout.findByLinkText(searchName).click();
|
||||
})
|
||||
.then(() => {
|
||||
return PageObjects.header.getSpinnerDone();
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -79,8 +82,11 @@ export default class DiscoverPage {
|
|||
}
|
||||
|
||||
getBarChartData() {
|
||||
return this.findTimeout
|
||||
.findAllByCssSelector('rect[data-label="Count"]')
|
||||
return PageObjects.header.getSpinnerDone()
|
||||
.then(() => {
|
||||
return this.findTimeout
|
||||
.findAllByCssSelector('rect[data-label="Count"]');
|
||||
})
|
||||
.then(function (chartData) {
|
||||
|
||||
function getChartData(chart) {
|
||||
|
@ -128,13 +134,19 @@ export default class DiscoverPage {
|
|||
return this.findTimeout
|
||||
.findByCssSelector('option[label="' + interval + '"]')
|
||||
.click();
|
||||
})
|
||||
.then(() => {
|
||||
return PageObjects.header.getSpinnerDone();
|
||||
});
|
||||
}
|
||||
|
||||
getHitCount() {
|
||||
return this.findTimeout
|
||||
.findByCssSelector('strong.discover-info-hits')
|
||||
.getVisibleText();
|
||||
return PageObjects.header.getSpinnerDone()
|
||||
.then(() => {
|
||||
return this.findTimeout
|
||||
.findByCssSelector('strong.discover-info-hits')
|
||||
.getVisibleText();
|
||||
});
|
||||
}
|
||||
|
||||
query(queryString) {
|
||||
|
@ -146,6 +158,9 @@ export default class DiscoverPage {
|
|||
return this.findTimeout
|
||||
.findByCssSelector('button[aria-label="Search"]')
|
||||
.click();
|
||||
})
|
||||
.then(() => {
|
||||
return PageObjects.header.getSpinnerDone();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue