This PR makes a small code change to improve waiting behavior during the test.
Change Test Browser file src/Features/SupportFileUploads/BrowserTest.php,
function test_can_upload_preview_and_save_a_file
I replaced the line ->wait(250), which ensures that the test waits until the element with the selector @preview is available before proceeding. This should enhance test reliability and ensure proper loading of the preview.
This PR makes a small code change to improve waiting behavior during the test.
Change Test Browser file
src/Features/SupportFileUploads/BrowserTest.php
, functiontest_can_upload_preview_and_save_a_file
I replaced the line
->wait(250)
, which ensures that the test waits until the element with the selector@preview
is available before proceeding. This should enhance test reliability and ensure proper loading of the preview.Please review and approve if you agree! 😊👍