Open Shashikant86 opened 9 years ago
'node_modules_path' => '/Users/path to/node_modules/',
You can override this from browser configuration array.
Questions/Ideas:
@aik099 npm only shows a warning when the engine does not match, but it does not prevent installing it (yeah, I also consider it as WTF)
@aik099 Given up with this one 'MinkBundle' did good job with phpunit. It didn't count WebAssert assertions but writing another proxy did the job. Works great with GhostDriver + MinkBundle + PHUUnit combination.
@Shashikant86 , I don't understand you.
If you have a computer where Zombie + MinkBundle + PHPUnit-Mink are installed and Zombie works in MinkBundle, but doesn't in PHPUnit-Mink, then surely there is something wrong with set of options used to connect to Zombie.
I just wanted for you to print ones used at MinkBundle (at low level where ZombieServer class is created) and do the same for PHPUnit-Mink.
I am working on a legacy project, introduced functional testing and ran into this issue. There is a SessionProxy
used that starts the session on the visit
method call. A call like $this->getSession()->executeScript('alert("Hello");')
will result on an error that the server didn't start. Either have a static session that stores the visit
method result call to use in your tests or always call visit
in each test.
@rbrisita , That is an expected Mink behavior, where session is auto-started upon page is visited via Session->visit
method call. You can't execute any JS on a page until you have actually opened it.
Just trying to run my phpunit tests through Mink and Zombie driver. Here is my config
I have installed zombie locally with npm and exported NODE_PATH in my .zshrc
When I run my test I get following
I am not sure if I am missing any config ?
Have someone tried that ?