mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-24 15:31:09 -05:00
Add secret management guide, client-side performance monitoring, and search accessibility enhancements
- Introduced a comprehensive Secret Management Guide detailing best practices, secret classification, development setup, production management, rotation procedures, and emergency protocols. - Implemented a client-side performance monitoring script to track various metrics including page load performance, paint metrics, layout shifts, and memory usage. - Enhanced search accessibility with keyboard navigation support for search results, ensuring compliance with WCAG standards and improving user experience.
This commit is contained in:
@@ -113,7 +113,7 @@ def test_add_ride_review(page: Page):
|
||||
expect(page.get_by_text("Such a thrilling experience in the dark!")).to_be_visible()
|
||||
|
||||
|
||||
def test_add_ride_photo(page: Page):
|
||||
def test_add_ride_photo(page: Page, test_images):
|
||||
# First login
|
||||
page.goto("http://localhost:8000/accounts/login/")
|
||||
page.get_by_label("Username").fill("testuser")
|
||||
@@ -130,7 +130,7 @@ def test_add_ride_photo(page: Page):
|
||||
page.get_by_role("button", name="Add Photo").click()
|
||||
|
||||
# Upload photo
|
||||
page.get_by_label("Photo").set_input_files("tests/fixtures/test_photo.jpg")
|
||||
page.get_by_label("Photo").set_input_files(test_images["test_photo"])
|
||||
page.get_by_label("Caption").fill("Awesome ride entrance")
|
||||
|
||||
# Submit photo
|
||||
|
||||
Reference in New Issue
Block a user