Webception icon indicating copy to clipboard operation
Webception copied to clipboard

WAMP webception hangs in helper.php

Open cjhille opened this issue 9 years ago • 0 comments

I'm running the current Webception trunk on a WAMP stack and I can't get it to run webdriver tests. So far I've tried several php versions.

I temporarily fixed the windows php.exe path problem by adding PATH=%PATH%;"D:\xampp\php" to the codecept.bat, so Webception is able to execute php.

However the run_terminal_command() in helper.php seems to infinitely loop at while ($line = fgets($pipes[1])) { ... } and php throws an execution time error after some time.

Running the excat same project on OS X works just fine, so it's unlikely to be a misconfiguration

Another strange thing I noticed was, that on WAMP webceptions can't seem to get testpath right. Here is a debug trace of the $command (helper.php) variable. Note that the first few chars of the filepath are missing. Both issues could be related.

D:\xampp\htdocs\webception\App\Config/../../vendor/bin/codecept run --no-colors --config="D:\xampp\htdocs\webception/codeception.yml" acceptance ocs\webception\tests/acceptance\test\TestCept.php 2>&1

Has anybody been able to get webception running on WAMP?

cjhille avatar Mar 17 '15 22:03 cjhille