Skip to content

Commit

Permalink
[6.8] [Discover] Unskip Discover histogram time range test (elastic#7…
Browse files Browse the repository at this point in the history
…1056) (elastic#73771)

- Adaption of expected the time range when the histogram was brushed
  • Loading branch information
kertal authored Jul 30, 2020
1 parent 14bfd45 commit 114c96c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/functional/apps/discover/_discover.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,14 +138,13 @@ export default function ({ getService, getPageObjects }) {
expect(actualTimeString).to.be('September 20th 2015, 00:00:00.000 to September 20th 2015, 03:00:00.000');
});

// FAILING: https://github.com/elastic/kibana/issues/38361
it.skip('should modify the time range when the histogram is brushed', async function () {
it('should modify the time range when the histogram is brushed', async function () {
await PageObjects.header.setAbsoluteRange(fromTime, toTime);
await PageObjects.visualize.waitForVisualization();
await PageObjects.discover.brushHistogram(0, 1);
await PageObjects.visualize.waitForVisualization();
const actualTimeString = await PageObjects.header.getPrettyDuration();
expect(actualTimeString).to.be('September 19th 2015, 23:52:17.080 to September 20th 2015, 02:59:51.112');
expect(actualTimeString).to.be('September 19th 2015, 23:53:43.254 to September 20th 2015, 02:52:36.173');
});

it('should show correct initial chart interval of Auto', async function () {
Expand Down

0 comments on commit 114c96c

Please sign in to comment.