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 (#59571)
  • Loading branch information
brianseeders authored Mar 6, 2020
1 parent dd9999b commit ac9c192
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 @@ -188,7 +187,7 @@ export default function({ getService, getPageObjects }) {
describe('time zone switch', () => {
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 ac9c192

Please sign in to comment.