mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-24 13: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:
@@ -19,7 +19,7 @@ def test_profile_page(page: Page):
|
||||
expect(page.get_by_role("tab", name="Settings")).to_be_visible()
|
||||
|
||||
|
||||
def test_edit_profile(page: Page):
|
||||
def test_edit_profile(page: Page, test_images):
|
||||
# First login
|
||||
page.goto("http://localhost:8000/accounts/login/")
|
||||
page.get_by_label("Username").fill("testuser")
|
||||
@@ -36,7 +36,7 @@ def test_edit_profile(page: Page):
|
||||
page.get_by_label("Location").fill("Orlando, FL")
|
||||
|
||||
# Upload avatar
|
||||
page.get_by_label("Avatar").set_input_files("tests/fixtures/test_avatar.jpg")
|
||||
page.get_by_label("Avatar").set_input_files(test_images["test_avatar"])
|
||||
|
||||
# Save changes
|
||||
page.get_by_role("button", name="Save Changes").click()
|
||||
|
||||
Reference in New Issue
Block a user