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

Error while running tests #13861

Closed
ankitjain28may opened this Issue Dec 11, 2017 · 6 comments

Comments

Projects
None yet
2 participants
@ankitjain28may
Contributor

ankitjain28may commented Dec 11, 2017

Steps to reproduce

  1. open terminal in the phpmyadmin directory and run this command
    ./vendor/bin/phpunit --filter testChangePassword test/selenium/PmaSeleniumChangePasswordTest.php --configuration phpunit.xml.nocoverage --group selenium --debug
  2. It will show this error

Expected behaviour

It should have to run the tests according to the given tests in testChangePassword.php file

Actual behaviour

Throwing this error -

  1. PMA_SeleniumChangePasswordTest::testChangePassword
    PHPUnit_Extensions_Selenium2TestCase_WebDriverException: POST /session/2ce79221-6083-4dfb-9d65-d9270ec3f438/timeouts/implicit_wait did not match a known command

image

Server configuration

Operating system: Linux (Ubuntu 16.04)

Web server: Apache

Database: MySQL

PHP version: 7.1

phpMyAdmin version: 4.8

Client configuration

Browser: Firefox

Operating system:

@nijel nijel self-assigned this Dec 15, 2017

@nijel nijel added the question label Dec 15, 2017

@nijel

This comment has been minimized.

Show comment
Hide comment
@nijel

nijel Dec 15, 2017

Member

How did you setup Selenium? Most likely it's old selenium driver, see giorgiosironi/phpunit-selenium#414 and SeleniumHQ/selenium#4944

Member

nijel commented Dec 15, 2017

How did you setup Selenium? Most likely it's old selenium driver, see giorgiosironi/phpunit-selenium#414 and SeleniumHQ/selenium#4944

@nijel

This comment has been minimized.

Show comment
Hide comment
@nijel

nijel Dec 15, 2017

Member

Anyway giorgiosironi/phpunit-selenium#414 is probably better place to discuss this issue as it doesn't seem to be related to way we use Selenium, but rather is a generic issue.

Member

nijel commented Dec 15, 2017

Anyway giorgiosironi/phpunit-selenium#414 is probably better place to discuss this issue as it doesn't seem to be related to way we use Selenium, but rather is a generic issue.

@nijel nijel closed this Dec 15, 2017

@ankitjain28may

This comment has been minimized.

Show comment
Hide comment
@ankitjain28may

ankitjain28may Dec 15, 2017

Contributor

@nijel I have already discussed there but didn't get any solution that fixes this issue.

Contributor

ankitjain28may commented Dec 15, 2017

@nijel I have already discussed there but didn't get any solution that fixes this issue.

@nijel

This comment has been minimized.

Show comment
Hide comment
@nijel

nijel Dec 15, 2017

Member

I know, but this is certainly something not related to our code - we're just invoking the phpunit-selenium method there and the server doesn't understand that. It really looks like the server is guilty, but I have no deeper knowledge of all this.

Member

nijel commented Dec 15, 2017

I know, but this is certainly something not related to our code - we're just invoking the phpunit-selenium method there and the server doesn't understand that. It really looks like the server is guilty, but I have no deeper knowledge of all this.

@ankitjain28may

This comment has been minimized.

Show comment
Hide comment
@ankitjain28may

ankitjain28may Dec 15, 2017

Contributor

ok it would be great if you tell me your configuration so i will make changes to overcome this problem.

Contributor

ankitjain28may commented Dec 15, 2017

ok it would be great if you tell me your configuration so i will make changes to overcome this problem.

@nijel

This comment has been minimized.

Show comment
Hide comment
@nijel

nijel Dec 15, 2017

Member

I'm not running Selenium locally, I'm using BrowserStack. The setup is described here: https://github.com/phpmyadmin/phpmyadmin/blob/master/test/README.rst#using-browserstack

Member

nijel commented Dec 15, 2017

I'm not running Selenium locally, I'm using BrowserStack. The setup is described here: https://github.com/phpmyadmin/phpmyadmin/blob/master/test/README.rst#using-browserstack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment