Skip to content

Commit

Permalink
Use new time range style
Browse files Browse the repository at this point in the history
  • Loading branch information
Bargs committed Dec 5, 2019
1 parent af4e53e commit 6d3efd3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/functional/apps/discover/_filter_editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ export default function ({ getService, getPageObjects }) {
};

describe('discover filter editor', function describeIndexTests() {
const fromTime = '2015-09-19 06:31:44.000';
const toTime = '2015-09-23 18:31:44.000';

before(async function () {
log.debug('load kibana index with default index pattern');
Expand All @@ -44,7 +42,7 @@ export default function ({ getService, getPageObjects }) {
await kibanaServer.uiSettings.replace(defaultSettings);
log.debug('discover filter editor');
await PageObjects.common.navigateToApp('discover');
await PageObjects.timePicker.setAbsoluteRange(fromTime, toTime);
await PageObjects.timePicker.setDefaultAbsoluteRange();
});

describe('filter editor', function () {
Expand Down

0 comments on commit 6d3efd3

Please sign in to comment.