Skip to content
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

Failing test suite, Selenium 2.53 #239

Open
aik099 opened this issue Jun 20, 2016 · 2 comments
Open

Failing test suite, Selenium 2.53 #239

aik099 opened this issue Jun 20, 2016 · 2 comments
Labels

Comments

@aik099
Copy link
Member

aik099 commented Jun 20, 2016

Configuration:

  • OS: Yosemite 10.10.5
  • Google Chrome: 51.0.2704.84 (64-bit)
  • Selenium Server: 2.53

When running driver tests in there I have following failures:

There was 1 error:

1) Behat\Mink\Tests\Driver\Js\ChangeEventTest::testSetValueChangeEvent with data set "file" ('the-file', 'from empty', 'from existing')
WebDriver\Exception\UnknownError: unknown error: path is not absolute: from empty
  (Session info: chrome=51.0.2704.103)
  (Driver info: chromedriver=2.21.371459 (36d3d07f660ff2bc1bf28a75d1cdabed0983e7c4),platform=Mac OS X 10.10.5 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 20 milliseconds
Build info: version: '2.53.0', revision: '35ae25b', time: '2016-03-15 17:00:58'
System info: host: 'alex-mbp', ip: '192.168.1.6', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.10.5', java.version: '1.8.0_74'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, chrome={chromedriverVersion=2.21.371459 (36d3d07f660ff2bc1bf28a75d1cdabed0983e7c4), userDataDir=/var/folders/zr/z961h7s124z_qq5s4c4_j4000000gn/T/.org.chromium.Chromium.nXHJDJ}, takesHeapSnapshot=true, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=51.0.2704.103, platform=MAC, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}]
Session ID: 68f84e17342891af646e900968ac9a26

/path/to/repo-clone/vendor/instaclick/php-webdriver/lib/WebDriver/Exception.php:155
/path/to/repo-clone/vendor/instaclick/php-webdriver/lib/WebDriver/AbstractWebDriver.php:140
/path/to/repo-clone/vendor/instaclick/php-webdriver/lib/WebDriver/AbstractWebDriver.php:200
/path/to/repo-clone/vendor/instaclick/php-webdriver/lib/WebDriver/Container.php:218
/path/to/repo-clone/src/Selenium2Driver.php:669
/path/to/repo-clone/src/Selenium2Driver.php:669
/path/to/repo-clone/vendor/behat/mink/src/Element/NodeElement.php:105
/path/to/repo-clone/vendor/behat/mink/driver-testsuite/tests/Js/ChangeEventTest.php:50

--

There were 2 failures:

1) Behat\Mink\Tests\Driver\Form\GeneralTest::testAdvancedForm
Failed asserting that '<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head>
    <title>Advanced form save</title>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
</head>
<body>
array (
  'agreement' = 'on',
  'email' = 'ever.zet@gmail.com',
  'first_name' = 'Foo "item"',
  'last_name' = 'Bar',
  'notes' = 'new notes',
  'select_number' = '30',
  'sex' = 'm',
  'submit' = 'Register',
)
some_file.txt
1 uploaded file


</body></html>' contains "array (
  'agreement' = 'on',
  'email' = 'ever.zet@gmail.com',
  'first_name' = 'Foo &quot;item&quot;',
  'last_name' = 'Bar',
  'notes' = 'new notes',
  'select_number' = '30',
  'sex' = 'm',
  'submit' = 'Register',
)
some_file.txt
1 uploaded file".

/path/to/repo-clone/vendor/behat/mink/driver-testsuite/tests/Form/GeneralTest.php:220

2) Behat\Mink\Tests\Driver\Js\WindowTest::testResizeWindow
Failed asserting that false is true.

/path/to/repo-clone/vendor/behat/mink/driver-testsuite/tests/Js/WindowTest.php:82

P.S.
It crashes the Firefox 47 completely. Probably not our driver issue at all.

@aik099 aik099 added the bug label Jun 20, 2016
@stof
Copy link
Member

stof commented Jan 3, 2017

Behat\Mink\Tests\Driver\Form\GeneralTest::testAdvancedForm is also failing on PhantomJSDriver, so it may have to be changed in the driver-testsuite itself.

Behat\Mink\Tests\Driver\Js\ChangeEventTest::testSetValueChangeEvent is caused by minkphp/driver-testsuite#9

Behat\Mink\Tests\Driver\Js\WindowTest::testResizeWindow should be checked again, as I think the testsuite has changed in the meantime to fix this.

Regarding Firefox, Selenium's Firefox driver supports < 47 and 47.0.1 (47.0.0 is totally unsupported due to being buggy).

@aik099
Copy link
Member Author

aik099 commented Feb 24, 2024

I think, that it will be fixed with minkphp/driver-testsuite#88.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants