mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
This commit is contained in:
parent
7c52b5a32a
commit
342a494865
1 changed files with 6 additions and 5 deletions
|
@ -16,17 +16,18 @@ export function DashboardPageProvider({ getService, getPageObjects }) {
|
|||
|
||||
class DashboardPage {
|
||||
async initTests() {
|
||||
const logstash = esArchiver.loadIfNeeded('logstash_functional');
|
||||
log.debug('load kibana index with visualizations and log data');
|
||||
await Promise.all([
|
||||
esArchiver.load('dashboard'),
|
||||
esArchiver.loadIfNeeded('logstash_functional')
|
||||
]);
|
||||
|
||||
await kibanaServer.uiSettings.replace({
|
||||
'dateFormat:tz':'UTC',
|
||||
'defaultIndex':'logstash-*'
|
||||
});
|
||||
|
||||
log.debug('load kibana index with visualizations');
|
||||
await esArchiver.load('dashboard');
|
||||
|
||||
await PageObjects.common.navigateToApp('dashboard');
|
||||
return logstash;
|
||||
}
|
||||
|
||||
async clickEditVisualization() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue