laravel / browser-kit-testing

Provides backwards compatibility for BrowserKit testing in the latest Laravel release.
MIT License
508 stars 75 forks source link

[7.x] Merges develop #176

Closed nunomaduro closed 8 months ago

nunomaduro commented 8 months ago

This pull request merges the work done on the develop branch

eblount commented 8 months ago

@nunomaduro @driesvints Just wanted to let you guys know that this update caught a bug in our tests this morning. When upgrading to Laravel 10.41.0, a test started failing. Turns out we were referencing a model property ->see($model->address_1) instead of the correct ->address1. This worked for years because we were saying "see null in the page" and it was saying "sure, found null". This update helpfully started failing, requiring a string for HasSource::$source. Thanks for all the work on this!