Skip to content

Commit 114c96c

Browse files
authored
[6.8] [Discover] Unskip Discover histogram time range test (#71056) (#73771)
- Adaption of expected the time range when the histogram was brushed
1 parent 14bfd45 commit 114c96c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/functional/apps/discover/_discover.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,14 +138,13 @@ export default function ({ getService, getPageObjects }) {
138138
expect(actualTimeString).to.be('September 20th 2015, 00:00:00.000 to September 20th 2015, 03:00:00.000');
139139
});
140140

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

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

0 commit comments

Comments
 (0)