-
-
Notifications
You must be signed in to change notification settings - Fork 437
Open
Labels
Description
What Happened
When browser testing a form in Vue that uses Laravel Precognition, it looks like the precognitive responses are being treated differently than in a non-testing environment, causing the response to be interpreted as a page to be shown:
The same test without Precognition (the error is expected):
How to Reproduce
Download the sample repository, check out the initial commit, run composer install, npm install and vendor/bin/pest. The second commit showcases that the problem is isolated to precognition, as the test passes without it.
Sample Repository
https://github.com/pindab0ter/pest-4-precognition
Pest Version
4.1.4
PHP Version
8.4.14
Operation System
macOS
Notes
No response
asbjornhansen and Evenerik