Closed raulgomezc closed 7 years ago
This adds an argument to a constructor, but it seems there are some calls that are not passing it:
Warning: Missing argument 2 for PHPUnit_Extensions_Selenium2TestCase_SessionStrategy_Shared::__construct(), called in /home/travis/build/giorgiosironi/phpunit-selenium/PHPUnit/Extensions/Selenium2TestCase.php on line 290 and defined in /home/travis/build/giorgiosironi/phpunit-selenium/PHPUnit/Extensions/Selenium2TestCase/SessionStrategy/Shared.php on line 65
Could the argument be made optional? Could these calls be updated?
Fixed the issue, what was causing it was that I didn't keep in mind the calls made by the browser's function. @giorgiosironi
After https://github.com/giorgiosironi/phpunit-selenium/pull/403 will be merged, this will go into 4.x
versions, that only support PHPUnit 6. Is that appropriate for you or would you like to backport this to previous versions? (e.g. because you use a older PHPUnit)
Good for me
So you can keep using the same browser session when an assert fails or there's an error.