use correct id in setting default index pattern in dashboard tests (#45601) (#46012)

* replace guid with logstash-* in data for default index pattern

* revert change to data archive, instead fix index pattern id
This commit is contained in:
Lee Drengenberg 2019-09-18 18:30:11 -05:00 committed by GitHub
parent 58fc22e699
commit 1136d5eac2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View file

@ -27,7 +27,7 @@ export default function ({ getService, loadTestFile, getPageObjects }) {
await PageObjects.dashboard.initTests({
kibanaIndex: 'dashboard/current/kibana',
dataIndex: 'dashboard/current/data',
defaultIndex: 'logstash-*',
defaultIndex: '0bf35f60-3dc9-11e8-8660-4d65aa086b3c',
});
await PageObjects.dashboard.preserveCrossAppState();
}

View file

@ -53,7 +53,6 @@ export function DashboardPageProvider({ getService, getPageObjects }) {
await kibanaServer.uiSettings.replace({
'defaultIndex': defaultIndex,
});
await this.selectDefaultIndex(defaultIndex);
await PageObjects.common.navigateToApp('dashboard');
}