Skip to content

Commit

Permalink
path config value directly
Browse files Browse the repository at this point in the history
  • Loading branch information
dmlemeshko committed Jun 4, 2020
1 parent ddc5617 commit a19828f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions x-pack/test/page_load_metrics/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ export async function PuppeteerTestRunner({ getService }: FtrProviderContext) {
const config = getService('config');
const esArchiver = getService('esArchiver');

const screenshotsDir = config.get('screenshots.directory');

await esArchiver.load('default');
const metrics = await capturePageLoadMetrics(log, {
headless: true,
Expand All @@ -26,7 +24,7 @@ export async function PuppeteerTestRunner({ getService }: FtrProviderContext) {
username: config.get('servers.kibana.username'),
password: config.get('servers.kibana.password'),
},
screenshotsDir,
screenshotsDir: config.get('screenshots.directory'),
});
const reporter = CiStatsReporter.fromEnv(log);

Expand Down

0 comments on commit a19828f

Please sign in to comment.