diff --git a/tests/test_ui.py b/tests/test_ui.py index ee2ff68..f595b7a 100644 --- a/tests/test_ui.py +++ b/tests/test_ui.py @@ -41,7 +41,11 @@ def test_index_contains_import_modal_controls(tmp_path) -> None: assert 'id="item-preview-popover"' in html assert 'const ABSTRACT_PREVIEW_DELAY_MS = 3000;' in html assert 'isImportModalOpen: false' in html + assert "currentProjectName: null" in html + assert "collectionItemsLoaded: false" in html + assert "nextCollectionItemsRequestToken: 0" in html assert "function openImportModal()" in html assert "function closeImportModal()" in html assert "function updateImportActionState()" in html + assert "function normalizeSelectedCollectionKey()" in html assert 'document.body.classList.toggle("modal-open"' in html