mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-10-30 01:32:25 +01:00
feat(editor): harden photo editor security and interactions
This commit is contained in:
@@ -40,7 +40,10 @@ def test_flyout_triangle_css_is_visible():
|
||||
def test_brush_preset_rows_have_a_tip_icon():
|
||||
assert "const soft = typeof preset.softness === 'number' ? preset.softness : 100;" in TOOLBAR
|
||||
assert "const presetIcon = preset.pixel" in TOOLBAR
|
||||
assert '<span class="ge-tool-icon">${presetIcon}</span><span class="ge-tool-flyout-label">${preset.name}</span>' in TOOLBAR
|
||||
assert "icon.className = 'ge-tool-icon';" in TOOLBAR
|
||||
assert 'icon.innerHTML = presetIcon;' in TOOLBAR
|
||||
assert "label.className = 'ge-tool-flyout-label';" in TOOLBAR
|
||||
assert 'label.textContent = preset.name;' in TOOLBAR
|
||||
|
||||
|
||||
def test_flyout_is_clamped_inside_the_viewport():
|
||||
|
||||
Reference in New Issue
Block a user