Coder Social home page Coder Social logo

Comments (8)

stof avatar stof commented on July 30, 2024

why talking about PhantomJS ? It has nothing to do with ZombieDriver. It is a Webdriver implementation

from minkzombiedriver.

aik099 avatar aik099 commented on July 30, 2024

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.

stof avatar stof commented on July 30, 2024

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.

aik099 avatar aik099 commented on July 30, 2024

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.

stof avatar stof commented on July 30, 2024

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.

aik099 avatar aik099 commented on July 30, 2024

Wow, I never knew that was a fix at all, can you post a link to fix here?

from minkzombiedriver.

stof avatar stof commented on July 30, 2024

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.

stof avatar stof commented on July 30, 2024

The Zombie fix has been released

from minkzombiedriver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.