mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-10-09 08:22:19 +02:00
fix(ui): restore rich text controls and accessible research map
This commit is contained in:
@@ -200,7 +200,7 @@ def test_compare_panes_surface_compact_result_summary():
|
||||
assert "font-variant-numeric: tabular-nums;" in styles
|
||||
|
||||
|
||||
def test_compare_selector_surfaces_endpoint_metadata_and_blocks_duplicates():
|
||||
def test_compare_selector_surfaces_duplicate_warning_without_blocking_start():
|
||||
root = Path(__file__).resolve().parents[1]
|
||||
selector = (root / "static/js/compare/selector.js").read_text(encoding="utf-8")
|
||||
styles = (root / "static/style.css").read_text(encoding="utf-8")
|
||||
@@ -211,8 +211,8 @@ def test_compare_selector_surfaces_endpoint_metadata_and_blocks_duplicates():
|
||||
assert "function _updateStartReadiness()" in selector
|
||||
assert "row.classList.add('cmp-model-row-duplicate');" in selector
|
||||
assert "Duplicate selection" in selector
|
||||
assert "startBtn.disabled = blocked;" in selector
|
||||
assert "Remove duplicate selections before starting compare" in selector
|
||||
assert "startBtn.disabled = false;" in selector
|
||||
assert "Duplicate selections will run as separate panes" in selector
|
||||
assert "if (selections.length > 1)" in selector
|
||||
assert selector.count("renderModelRows();") >= 12
|
||||
|
||||
@@ -227,7 +227,7 @@ def test_compare_selector_surfaces_endpoint_metadata_and_blocks_duplicates():
|
||||
assert "order: 2;" in rm_block
|
||||
assert "margin-left: auto;" in rm_block
|
||||
assert "align-self: center;" in rm_block
|
||||
assert "top: -3px;" in rm_block
|
||||
assert "top: -2px;" in rm_block
|
||||
|
||||
|
||||
def test_unsaved_compare_helper_sessions_do_not_render_in_sidebar():
|
||||
|
||||
Reference in New Issue
Block a user