-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Description
I wrote Playwright tests for my web app that uses django-vite. Currently, I have to run manage.py collectstatic
every time I want to run my tests (if the frontend changed).
Django has a special tool for this use case - StaticLiveServerTestCase. It serves the static files right from STATICFILES_DIRS
, allowing me to just run the tests without doing manage.py collectstatic
.
When I'm running the tests, they are failing with a django-vite error:
Cannot find src/main.jsx in Vite manifest at /code/static/manifest.json
It looks like the error is originating here. I checked with a debugger, and self._manifest
was None
.
It would be cool to be able to use this Django feature with django-vite. How can I help to resolve/investigate the issue?
Metadata
Metadata
Assignees
Labels
No labels