fix: resolve rides API test failures and improve code quality

- Fix E2E live_server fixture (remove broken custom fixture)
- Fix Rides API factory mismatch (parks.Company → rides.Company)
- Fix duplicate block title in base.html template comment
- Fix test URLs for filter-metadata and search-ride-models endpoints
- Add fallback labels in SmartRideLoader to prevent ValueError
- Update test assertions to match actual API response structure

Rides API tests: 38/67 → 67/67 passing
This commit is contained in:
pacnpal
2026-01-10 09:15:58 -05:00
parent d9a6b4a085
commit fa570334fc
4 changed files with 39 additions and 38 deletions

View File

@@ -36,12 +36,13 @@
- main_class: Additional classes for <main> tag
Usage Example:
{% extends "base/base.html" %}
{% block title %}My Page - ThrillWiki{% endblock %}
{% block content %}
<h1>My Page Content</h1>
{% endblock %}
{% templatetag openblock %} extends "base/base.html" {% templatetag closeblock %}
{% templatetag openblock %} block title {% templatetag closeblock %}My Page - ThrillWiki{% templatetag openblock %} endblock {% templatetag closeblock %}
{% templatetag openblock %} block content {% templatetag closeblock %}
<h1>My Page Content</h1>
{% templatetag openblock %} endblock {% templatetag closeblock %}
============================================================================= #}
<!DOCTYPE html>
<html lang="en" class="h-full">
<head>