improve plugin tests and config

This commit is contained in:
Nick Sweeting
2025-12-29 00:45:23 -08:00
parent f0aa19fa7d
commit 1e4d3ffd11
126 changed files with 2286 additions and 1717 deletions

View File

@@ -0,0 +1,9 @@
<!-- Favicon thumbnail - small favicon preview -->
<div class="extractor-thumbnail favicon-thumbnail" style="width: 100%; height: 100px; display: flex; align-items: center; justify-content: center; background: #fff;">
{% if output_path %}
<img src="{{ output_path }}"
alt="Favicon"
style="max-width: 80%; max-height: 80%; object-fit: contain;"
loading="lazy">
{% endif %}
</div>

View File

@@ -23,7 +23,7 @@ import pytest
PLUGIN_DIR = Path(__file__).parent.parent
FAVICON_HOOK = PLUGIN_DIR / 'on_Snapshot__11_favicon.py'
FAVICON_HOOK = next(PLUGIN_DIR.glob('on_Snapshot__*_favicon.*'), None)
TEST_URL = 'https://example.com'