提交 0e8aca28 编写于 作者: J Joao Moreno

smoketest: fix logs

上级 0a7e6164
......@@ -159,10 +159,11 @@ export class SpectronApplication {
};
if (LOGS_DIR) {
opts.chromeDriverLogPath = path.join(LOGS_DIR, id, 'chromedriver');
mkdirp.sync(opts.chromeDriverLogPath);
const dir = path.join(LOGS_DIR, id);
opts.chromeDriverLogPath = path.join(dir, 'chromedriver.log');
mkdirp.sync(dir);
opts.webdriverLogPath = path.join(LOGS_DIR, id, 'webdriver');
opts.webdriverLogPath = path.join(dir, 'webdriver');
mkdirp.sync(opts.webdriverLogPath);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册