phpunit-mink
phpunit-mink copied to clipboard
Library for using Mink in PHPUnit tests. Supports session sharing between tests in a test case.
Make `BrowserConfiguration::createSession` method to remember each created session somewhere in central place (shared between browser configurations). Then via `register_shutdown_function` ensure, that all sessions are stopped. This would save the day...
Right now `BrowserConfiguration::createSession` method allows to create a new session (no auto-start) based on browser configuration. To implement #5 it would be great to: 1. set session termination mode right...
Currently, the created session is terminated using the `stop` method which closes the browser completely and reopens it when the next session is created. This takes a lot of time....
1. find a reason why `PHPUNIT` and `SELENIUM` words are being used in `prepend.php` and `append.php` 2. replace `append.php` with a function registered via `register_shutdown_function` (as in Codeception) 3. convert...
Before recipient check it happened, that upon first test ended all tests received the "test.ended" event and stopped their sessions. To solve that problem we now check that a BrowserConfiguration...
The other Mink libraries are using the Symfony2 coding standards, which are a superset of PSR-2. The current coding standards are conflicting with PSR-2, making it harder for new contributors...
Taking a screenshot of failed test is great way to help developers in debugging what's failed. I think that we need an option to make screenshots of failing tests and...
Research what kind of effort is needed to make this project compatible with PHPUnit 10 (or even if that is possible). Resources: * https://github.com/Yoast/PHPUnit-Polyfills/releases/tag/2.0.0 * https://phpconference.com/blog/phpunit-10-all-you-need-to-know-about-the-latest-version/ * https://phpunit.de/announcements/phpunit-10.html
Currently, the API Client classes are using the PHP classes (not WebDriver itself) of the `instaclick/php-webdriver` dependency, which will cause problems when we decide to switch to another default Mink...
I've noticed, that https://github.com/giorgiosironi/phpunit-selenium/ project (which inspired me to create this project) is still pretty much alive. Also it's being used in the BrowserStack DEMO project for PHP integration (see...