StaticLiveServerTestCase can not load static files
See original GitHub issueI use selenium
for the functional test. I also use django-pipeline
for loading static fils.
Problem is that selenium with StaticLiveServerTestCase
(from django.contrib.staticfiles.testing import StaticLiveServerTestCase
) could not load static files.
ref : http://stackoverflow.com/questions/39762920/django-functional-test-selenium-live-server-url-doesnt-load-static-files
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:7 (2 by maintainers)
Top Results From Across the Web
django - StaticLiveServerTestCase not serving static files that ...
I am trying to run some selenium tests on my django app using the StaticLiveServerTestCase . I can see when the page shows...
Read more >How to manage static files (e.g. images, JavaScript, CSS)
staticfiles in INSTALLED_APPS , you can still manually serve static files using the django.views.static.serve() view. This is not suitable for production use!
Read more >StaticLiveServerTestCase can not load static files -
StaticLiveServerTestCase can not load static files ... I use selenium for the functional test. I also use django-pipeline for loading static fils.
Read more >Django | Home Page with TDD, Staticfiles & Template settings
We will configure both static files and templates, implement HTML5 Boilerplate and Twitter Bootstrap, ... That's because the static files are not loading....
Read more >Fillable Online StaticLiveServerTestCase can not load static files ...
Get the free StaticLiveServerTestCase can not load static files Issue #593 ... Fill Online. Quickly fill your document. Save, download, print and share....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I fixed this with:
LiveServerTestCase
insead ofStaticLiveServerTestCase
This is still broken