mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-24 22:51:10 -05:00
feat: major project restructure - move Django to backend dir and fix critical imports
- Restructure project: moved Django backend to backend/ directory - Add frontend/ directory for future Next.js application - Add shared/ directory for common resources - Fix critical Django import errors: - Add missing sys.path modification for apps directory - Fix undefined CATEGORY_CHOICES imports in rides module - Fix media migration undefined references - Remove unused imports and f-strings without placeholders - Install missing django-environ dependency - Django server now runs without ModuleNotFoundError - Update .gitignore and README for new structure - Add pnpm workspace configuration for monorepo setup
This commit is contained in:
33
tests/fixtures/README.md
vendored
33
tests/fixtures/README.md
vendored
@@ -1,33 +0,0 @@
|
||||
# Test Fixtures
|
||||
|
||||
This directory contains test assets used by the e2e tests.
|
||||
|
||||
## Required Files
|
||||
|
||||
1. `test_photo.jpg`
|
||||
- Used for testing photo uploads for parks and rides
|
||||
- Recommended size: 1920x1080
|
||||
- Max size: 5MB
|
||||
|
||||
2. `test_avatar.jpg`
|
||||
- Used for testing profile avatar uploads
|
||||
- Recommended size: 500x500
|
||||
- Max size: 2MB
|
||||
|
||||
## Generating Test Images
|
||||
|
||||
You can create these test images using any image editing software, or download placeholder images from:
|
||||
- https://picsum.photos/1920/1080 (for test_photo.jpg)
|
||||
- https://picsum.photos/500/500 (for test_avatar.jpg)
|
||||
|
||||
Save the downloaded images with the correct filenames in this directory.
|
||||
|
||||
## Usage
|
||||
|
||||
The test files reference these images using relative paths:
|
||||
```python
|
||||
page.get_by_label("Photo").set_input_files("tests/fixtures/test_photo.jpg")
|
||||
page.get_by_label("Avatar").set_input_files("tests/fixtures/test_avatar.jpg")
|
||||
```
|
||||
|
||||
Make sure these files exist before running the tests.
|
||||
Reference in New Issue
Block a user