๋๋ ๋น์ ํ์๋์์ง๋ง aztack ์ ์ํด ๋ค์ ๋ณด๊ณ ๋ #1568 ๊ณผ ๋๊ฐ์ ๋ฌธ์ ๋ฅผ ๊ฒฝํํ์ต๋๋ค.
Webdriver IO๋ฅผ ์ค์นํ ํ ๊ตฌ์ฑํ๋ ค๊ณ ํ๋ฉด ์ง๋ฌธ ์ธํฐํ์ด์ค๋ฅผ ํต๊ณผํ ์งํ ์ค๋ฅ๊ฐ ๋ฐ์ํฉ๋๋ค.
=========================
WDIO Configuration Helper
=========================
? Where do you want to execute your tests? On my local machine
? Which framework do you want to use? mocha
? Shall I install the framework adapter for you? Yes
? Where are your test specs located? ./test/*.js
? Which reporter do you want to use? spec - https://github.com/webdriverio/wdio-spec-reporter
? Shall I install the reporter library for you? Yes
? Do you want to add a service to your test setup? selenium-standalone - https://github.com/webdriverio/wdio-selenium-standalone
-service
? Shall I install the services for you? Yes
? Level of logging verbosity command
? In which directory should screenshots gets saved if a command fails? ./errorShots/
? What is the base url? http://localhost
Installing wdio packages:
Packages installed successfully, creating configuration file...
fs.js:651
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: ENOENT: no such file or directory, open '/Users/sarahdayan/Projets/communitytalk.com/node_modules/webdriverio/build/lib/helpers/wdio.conf.ejs'
at Object.fs.openSync (fs.js:651:18)
at Object.fs.readFileSync (fs.js:553:33)
at renderConfigurationFile (/Users/sarahdayan/Projets/communitytalk.com/node_modules/webdriverio/build/lib/cli.js:292:28)
at /Users/sarahdayan/Projets/communitytalk.com/node_modules/webdriverio/build/lib/cli.js:282:17
at /Users/sarahdayan/Projets/communitytalk.com/node_modules/npm-install-package/index.js:31:5
at ChildProcess.exithandler (child_process.js:262:7)
at emitTwo (events.js:125:13)
at ChildProcess.emit (events.js:213:7)
at maybeClose (internal/child_process.js:897:16)
at Socket.stream.socket.on (internal/child_process.js:340:11)
npm ERR! Test failed. See above for more details.
ํ๋ ์์ํฌ ์ค์น๋ฅผ ๊ฑฐ๋ถํ๊ณ ๋ฆฌํฌํฐ ์ ํ์ ๊ฑด๋๋ฐ๊ณ ํ ์คํธ ์ค์ ์ ์๋น์ค๋ฅผ ์ถ๊ฐํ์ฌ ๋ฌธ์ ๋ฅผ ํผํ ์ ์์์ต๋๋ค.
? Shall I install the framework adapter for you? No
? Which reporter do you want to use?
? Do you want to add a service to your test setup?
๊ทธ๋ฐ ๋ค์ ์ค์นํ๊ณ wdio.conf.js
๋ฅผ ์๋์ผ๋ก ํธ์งํ์ง๋ง ์ด์์ ์ด์ง ์์ต๋๋ค.
๋ฏธ๋ฆฌ ๊ฐ์ฌ๋๋ฆฝ๋๋ค!
Node v7.x๋ก ์๋ํด ๋ณผ ์ ์์ต๋๊น?
@christian-bromann ๋ฐฉ๊ธ ์ฌ๋ฌ ๋ฒ์ ์ Node(v6.11.1, v7.0.0, v8.1.3, v8.2.1)๋ก ์๋ํ๋๋ฐ ์ด์ํ๊ฒ๋ ๋ชจ๋ ํต๊ณผํ์ต๋๋ค. ์๊ฐ.
๊ฐ์ ๋ฌธ์ ๊ฐ ์๋ ์ฌ๋์ Node๋ฅผ ๋ค์ ์ค์นํ๊ฑฐ๋ ์ ๊ทธ๋ ์ด๋ํ๊ธฐ๋ง ํ๋ฉด ๋ฉ๋๋ค. ๊ทธ๋ ๊ฒ ํ๋ฉด ๋ฉ๋๋ค.
๋์ผํ ๋ฌธ์ ๊ฐ ๋ฐ์ํฉ๋๋ค - ๋ ธ๋ v8.1.2 ์ฌ์ฉ
๋์ผํ ๋ฌธ์ ์ ๋ถ๋ช์ณค์ต๋๋ค. ๋ ธ๋ 8.2.1+yarn์ด v0.27.5์์ ์๋ํ์ง ์๊ณ , ๋ ธ๋ 8.2.1 + npm 5.3.0์ด ์๋ํ๊ณ , ๋ ธ๋ 7.10.1 + yarn์ด ์๋ํฉ๋๋ค. ๋ฌธ์ ๊ฐ ๋ ์์๋ ์์ด๋์ด๊ฐ ์์ต๋๊น?
=========================
WDIO Configuration Helper
=========================
? Where do you want to execute your tests? On my local machine
? Which framework do you want to use? cucumber
? Shall I install the framework adapter for you? Yes
? Where are your feature files located? ./features/**/*.feature
? Where are your step definitions located? ./features/step-definitions
? Which reporter do you want to use? spec - https://github.com/webdriverio/wdio-spec-reporter
? Shall I install the reporter library for you? Yes
? Do you want to add a service to your test setup? selenium-standalone - https://github.com/webdriverio/wdio-selenium-standalone-service, phantomjs - https://github.com/cognitom/wdio-phantomjs-serv
ice
? Shall I install the services for you? Yes
? Level of logging verbosity silent
? In which directory should screenshots gets saved if a command fails? ./errorShots/
? What is the base url? http://localhost
์ค๋ฅ๋ ๋์ผํฉ๋๋ค
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
๋์ผํ ๋ฌธ์ ์ ๋ถ๋ช์ณค์ต๋๋ค. ๋ ธ๋ 8.2.1+yarn์ด v0.27.5์์ ์๋ํ์ง ์๊ณ , ๋ ธ๋ 8.2.1 + npm 5.3.0์ด ์๋ํ๊ณ , ๋ ธ๋ 7.10.1 + yarn์ด ์๋ํฉ๋๋ค. ๋ฌธ์ ๊ฐ ๋ ์์๋ ์์ด๋์ด๊ฐ ์์ต๋๊น?
์ค๋ฅ๋ ๋์ผํฉ๋๋ค