webdriverio-boneyard / wdio-selenium-standalone-service

WebdriverIO v4 service to start & stop Selenium Standalone http://webdriver.io
MIT License
54 stars 28 forks source link

Incorrect paths in config #13

Closed christian-bromann closed 6 years ago

christian-bromann commented 8 years ago

From @monolithed on October 19, 2016 17:53

Config

{
   seleniumLogs: '/Users/a.abashkin/workspace/mail.ru/e.mail.ru/tests/cache/logs'
}

Result

/Users/a.abashkin/workspace/mail.ru/e.mail.ru/Users/a.abashkin/workspace/mail.ru/e.mail.ru/tests/cache/logs

Expected

/Users/a.abashkin/workspace/mail.ru/e.mail.ru/tests/cache/logs

img-2016-10-19-20-52-17

Copied from original issue: webdriverio/webdriverio#1656

christian-bromann commented 8 years ago

Are you using the selenium-standalone service? If yes I think we should file the issue there.

christian-bromann commented 8 years ago

From @monolithed on October 19, 2016 18:19

Yep, selenium-standalone

robfarr commented 6 years ago

Should be as simple as changing:

let absolutePath = path.join(process.cwd(), filePath)

to

let absolutePath = path.resolve(filePath)

in getFilePath.js.