-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed the execution of self-executing functions not wrapped in braces #114
Conversation
No such problem for Sahi/Zombie? |
The Sahi test suite is running terribly slow by the way (compared to Selenium2). Maybe we're setting some kind of |
@aik099 not yet checked. |
and regarding the Sahi speed, this is indeed terrible. However, I don't know sahi enough to know what it could be. |
Fixed the execution of self-executing functions not wrapped in braces
@aik099 Can you run the zombie suite to check it ? I cannot. Installing Zombie on Windows does not work |
|
I'm on Mac and have Linux virtual machine. So I can run Zombie in both places. Don't you have virtual machine on Windows to simulate close-to-server environment, @stof? I've tried to run Zombie tests and it freezes on some test. The output is:
|
I wonder if it would be possible to print test names before running them somehow. Then it's would be obvious which test freezes. |
run them using the |
It's |
And it's freezing because of a bug in that Current code (with error): public function executeScript($script)
{
$script = json_encode($script);
$this->server->evalJS("browser.evaluate({$script});");
} Fixed code (you can send a PR): public function executeScript($script)
{
$script = json_encode($script);
$this->server->evalJS("browser.evaluate({$script});stream.end();");
} The After fixing that locally (in ZombieDriver code) all but 2 tests pass:
|
OK, the fix is the same than for Selenium2DRiver then: it requires the wrapping braces |
and this made us discover that |
Can you open the PR fixing MinkZombieDriver ? You are the one doing the debugging after all, so it would be logical that you get the attribution for the fixing commit |
I'll do that. We should really introduce these nice badges, that Symfony community has for amount of contributions been done by a particular user, here at Behat company. :) |
PR for Zombie created. You can merge it now. |
AFAIK, SensioLabsConnect can generate the contributing page for any project once you register it. I'm not sure they have an easy way to embed it on other websites though, but it could be considered for the new Behat website which should be in progress |
No description provided.