Comments (8)
why talking about PhantomJS ? It has nothing to do with ZombieDriver. It is a Webdriver implementation
from minkzombiedriver.
Both Zombie and PhantomJS are headless and support JS. I though that for JS support they might be using same libraries. And if a bug, that causes click
event to fire 2 onchange
events is in that library, then it probably would be broken in both Zombie and PhantomJS.
It turned out that only Zombie does that and PhantomJS does all correctly.
from minkzombiedriver.
They don't use the same libraries at all. PhantomJS uses webkit (through the QTwebkit project, so an old version of webkit) while Zombie implements a browser in NodeJS (based on JSDom for the DOM implementations).
They are not even written in the same language
from minkzombiedriver.
Relevant test suite output:
7) Behat\Mink\Tests\Driver\Js\ChangeEventTest::testSetValueChangeEvent with data set "radio" ('the-radio-m', 'm')
initial value setting triggers change event
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'1'
+'2'
.../vendor/behat/mink/driver-testsuite/tests/Js/ChangeEventTest.php:150
.../vendor/behat/mink/driver-testsuite/tests/Js/ChangeEventTest.php:48
8) Behat\Mink\Tests\Driver\Js\ChangeEventTest::testSelectOptionChangeEvent with data set "radio" ('the-radio-m', 'm')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'1'
+'2'
.../vendor/behat/mink/driver-testsuite/tests/Js/ChangeEventTest.php:150
.../vendor/behat/mink/driver-testsuite/tests/Js/ChangeEventTest.php:84
9) Behat\Mink\Tests\Driver\Js\ChangeEventTest::testCheckChangeEvent with data set #0 (true)
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'1'
+'2'
.../vendor/behat/mink/driver-testsuite/tests/Js/ChangeEventTest.php:150
.../vendor/behat/mink/driver-testsuite/tests/Js/ChangeEventTest.php:113
10) Behat\Mink\Tests\Driver\Js\ChangeEventTest::testCheckChangeEvent with data set #1 (false)
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'1'
+'2'
.../vendor/behat/mink/driver-testsuite/tests/Js/ChangeEventTest.php:150
.../vendor/behat/mink/driver-testsuite/tests/Js/ChangeEventTest.php:113
11) Behat\Mink\Tests\Driver\Js\ChangeEventTest::testUncheckChangeEvent with data set #0 (true)
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'1'
+'2'
.../vendor/behat/mink/driver-testsuite/tests/Js/ChangeEventTest.php:150
.../vendor/behat/mink/driver-testsuite/tests/Js/ChangeEventTest.php:134
12) Behat\Mink\Tests\Driver\Js\ChangeEventTest::testUncheckChangeEvent with data set #1 (false)
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'1'
+'2'
.../vendor/behat/mink/driver-testsuite/tests/Js/ChangeEventTest.php:150
.../vendor/behat/mink/driver-testsuite/tests/Js/ChangeEventTest.php:134
from minkzombiedriver.
Waht we need to fix this is actually a new release of zombie. A fix has been commited months ago (2 weeks after we reported it)
from minkzombiedriver.
Wow, I never knew that was a fix at all, can you post a link to fix here?
from minkzombiedriver.
Well, it was not referenced in the issue you reported (which is not closed either). I found it when looking at the history to try to identify what was new since the release
from minkzombiedriver.
The Zombie fix has been released
from minkzombiedriver.
Related Issues (20)
- Cannot read property 'nodeType' of null HOT 12
- Throw exception, when options are changed on running server HOT 3
- Changing host or port should regenerate server code HOT 2
- The "node_modules" path not validated during server construction HOT 1
- Using "Behat\Mink\Driver\NodeJS\Server::createTemporaryServer" replaces user provided server code HOT 4
- The server should not use a temporary file HOT 2
- The "wait()" does not work, when Zombie has empty event loop HOT 6
- Warning: socket_read(): unable to read from socket [10054]: An existing connection was forcibly closed by the remote host. HOT 10
- How to change timeout? HOT 4
- Zombie Server is still active and listening to port after a Behat exception HOT 2
- Using a local Zombie installation HOT 23
- Unable to run tests for the project HOT 22
- The PHP 7 tests failing on Travis CI HOT 3
- Update README.md with example of setting options HOT 1
- Driver does not work with Symfony 4.0+ HOT 3
- Fails with latest zombie
- Can't find module HOT 7
- Handle non-ascii characters in url
- SinglePageApplication: Javascript is not executed HOT 4
- Tests failing on ppc64le architecture for master and versions v1.4.0,v1.5.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minkzombiedriver.