Closed namumakwembo closed 2 days ago
I don't see anything here that would specifically indicate the issue. We does tests with Pest via https://github.com/orchestral/pest-plugin-testbench/blob/3.x/tests/Browser/BrowserTest.php
Also, it's odd that you changed the view path at runtime and tests without vite. The whole point of Dusk tests it to test your application on the actual Browser with CSS and JS.
Also, in-memory database doesn't work with Dusk since web server and test are 2 separate php instance. You need persistent database here.
I don't see anything here that would specifically indicate the issue. We does tests with Pest via https://github.com/orchestral/pest-plugin-testbench/blob/3.x/tests/Browser/BrowserTest.php
Also, it's odd that you changed the view path at runtime and tests without vite. The whole point of Dusk tests it to test your application on the actual Browser with CSS and JS.
I don't see anything here that would specifically indicate the issue. We does tests with Pest via https://github.com/orchestral/pest-plugin-testbench/blob/3.x/tests/Browser/BrowserTest.php
Also, it's odd that you changed the view path at runtime and tests without vite. The whole point of Dusk tests it to test your application on the actual Browser with CSS and JS.
Thank you for your response.
To clarify, I modified the view path and disabled Vite as part of troubleshooting to isolate the issue, but even after reverting those changes and using a minimal configuration in my DuskTestCase, I am still encountering the same error.
I am following the installation steps outlined in the documentation here: Testbench Dusk Installation. However, I suspect I may have missed something during the setup. As my next step, I’ll try reinstalling the package from scratch to ensure everything is correctly configured
The error : screeen shot
There's nothing in your description that could indicate an issue.
I'm still facing issues running my tests, and I’m having trouble understanding what’s causing the error as shown in the screenshot . I’ve followed the installation guide closely and simplified my setup, but the problem persists. I would appreciate any help in understanding the error more clearly
Description:
i get the following error (from error screenshot)when i try to run the test ,Please assist. Note: i am using pest
Fatal error: Uncaught Error: Class "P\Tests\Browser\ExampleOneTest" not found in /Users/yodah/Desktop/Workspace/packages/wirechat/wirechat/vendor/orchestra/testbench-dusk/src/server.php:37 Stack trace: #0 {main} thrown in /Users/yodah/Desktop/Workspace/packages/wirechat/wirechat/vendor/orchestra/testbench-dusk/src/server.php on line 37
Steps To Reproduce:
My DuskTestCase
My testbench.yaml