Merge pull request #4554 from whymarrh/fix-e2e-profile-path

Fix temp Chrome profile path used for e2e tests
This commit is contained in:
Whymarrh Whitby 2018-06-12 15:14:13 -02:30 committed by GitHub
commit f08442e266
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ function delay (time) {
}
function buildChromeWebDriver (extPath) {
const tmpProfile = path.join(os.tmpdir(), fs.mkdtempSync('mm-chrome-profile'));
const tmpProfile = fs.mkdtempSync(path.join(os.tmpdir(), 'mm-chrome-profile'))
return new webdriver.Builder()
.withCapabilities({
chromeOptions: {