minkphp / driver-testsuite

Functional testsuite for Mink drivers
MIT License
8 stars 29 forks source link

Add tests covering error handling for invalid form values #74

Closed stof closed 1 year ago

stof commented 1 year ago

Selenium2Driver and BrowserKitDriver are updated to handle those cases properly in the the PRs adding phpstan (except for the case of radio and select in BrowserKitDriver, where phpstan was not catching an issue but we were getting a non-Mink exception later), all those cases were caught by phpstan and those new test provide test coverage for the new code paths triggering exceptions.