Skip to content

Commit

Permalink
Navigate back to discover app during test, because the saved search f…
Browse files Browse the repository at this point in the history
…rom the preceding test has major performance problems when used with this test (elastic#59571)
  • Loading branch information
brianseeders committed Mar 6, 2020
1 parent 061dc37 commit b9095a0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/functional/apps/discover/_discover.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export default function({ getService, getPageObjects }) {
const log = getService('log');
const retry = getService('retry');
const esArchiver = getService('esArchiver');
const browser = getService('browser');
const kibanaServer = getService('kibanaServer');
const queryBar = getService('queryBar');
const PageObjects = getPageObjects(['common', 'discover', 'header', 'timePicker']);
Expand Down Expand Up @@ -213,7 +212,7 @@ export default function({ getService, getPageObjects }) {
});
it('should show bars in the correct time zone after switching', async function() {
await kibanaServer.uiSettings.replace({ 'dateFormat:tz': 'America/Phoenix' });
await browser.refresh();
await PageObjects.common.navigateToApp('discover');
await PageObjects.header.awaitKibanaChrome();
await PageObjects.timePicker.setDefaultAbsoluteRange();

Expand Down

0 comments on commit b9095a0

Please sign in to comment.