orchidsoftware / platform

Orchid is a @laravel package that allows for rapid application development of back-office applications, admin/user panels, and dashboards.
https://orchid.software
MIT License
4.39k stars 646 forks source link

Tests using views from v14.16.0 are marked as risky #2763

Closed DocLM closed 9 months ago

DocLM commented 9 months ago

Describe the bug After v14.16.0 screens that use blade views cause tests that call them to be marked as risky with the following warning: Test code or tested code did not close its own output buffers

To Reproduce Steps to reproduce the behavior:

  1. Create a screen without name or description
  2. Create a test that execute a request to the screen
  3. Test should be marked as risky

Expected behavior Tests not marked as risky

Server (please complete the following information):