Skip to content

Commit

Permalink
add back old test
Browse files Browse the repository at this point in the history
  • Loading branch information
flash1293 committed Jul 15, 2020
1 parent 730432a commit cca3418
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/functional/apps/visualize/_vertical_bar_chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ export default function ({ getService, getPageObjects }) {
await PageObjects.visEditor.clickBucket('X-axis');
await PageObjects.visEditor.selectAggregation('Date Range');
await PageObjects.visEditor.selectField('@timestamp');
await PageObjects.visEditor.clickGo();

await PageObjects.visEditor.clickGo();
const bottomLabels = await PageObjects.visChart.getXAxisLabels();
expect(bottomLabels.length).to.be(1);

await PageObjects.visEditor.clickMetricsAndAxes();
await PageObjects.visEditor.selectXAxisPosition('left');
await PageObjects.visEditor.clickGo();
Expand Down

0 comments on commit cca3418

Please sign in to comment.