Closed fterrani closed 5 years ago
Hello @fterrani I have fixed it on new release 1.0.4. https://github.com/silviolleite/laravel-pwa/releases/tag/1.0.4. Can you update and try it again.
Hello @silviolleite ,
Looks like it's working for me. Thanks for the fix :)
The Laravel method
TestResponse::assertSeeText()
fails when turning on laravel-pwa.It is because this method uses
strip_tags()
to remove HTML tags before checking if a given text is found in the page.The bug is simply caused by a this JavaScript comment in views/modules/laravelpwa/meta.blade.php:
// <--- THIS BIT IS REQUIRED
Strangely,
<--
apparently confusesstrip_tags()
. Like this: