mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-10-31 10:12:21 +01:00
test(email): align document identity guards with picker cache
This commit is contained in:
@@ -55,7 +55,7 @@ def test_all_runtime_document_imports_share_one_module_url():
|
||||
for path in runtime_files
|
||||
for match in re.findall(r"document\.js\?v=([A-Za-z0-9_-]+)", path.read_text(encoding="utf-8"))
|
||||
}
|
||||
assert versions == {"20260916docctx2"}
|
||||
assert versions == {"20261028emailpickerfiles2"}
|
||||
|
||||
|
||||
def test_server_fallback_is_legacy_only_when_ui_state_is_absent():
|
||||
|
||||
@@ -42,8 +42,8 @@ def test_document_reference_looks_clickable_and_has_keyboard_focus_feedback():
|
||||
|
||||
def test_document_module_has_one_browser_identity_for_restore_and_chat_send():
|
||||
"""Different query strings create separate JS module selection stores."""
|
||||
assert "/static/js/document.js?v=20260916docctx2" in INDEX
|
||||
assert "./js/document.js?v=20260916docctx2" in APP
|
||||
assert "/static/js/document.js?v=20261028emailpickerfiles2" in INDEX
|
||||
assert "./js/document.js?v=20261028emailpickerfiles2" in APP
|
||||
assert "document.js?v=20260913dirtysaveicon1" not in INDEX
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user