Acquisizione: zoom +/-, Adatta e pan sui tre riquadri immagine, lato anteprima che segue lo zoom
Barra in sovrimpressione fuori dal palco che scorre, Ctrl+rotella, pan col puntatore. Refs #111 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -59,3 +59,15 @@ def test_specchiatura_per_sorgente(): # #110
|
||||
assert {"specchiaO", "specchiaV", "msgSpecchia"} <= ids
|
||||
assert '"/camera/orientamento' in PAGINA
|
||||
assert "Specchia orizzontale" in PAGINA and "Specchia verticale" in PAGINA
|
||||
|
||||
|
||||
def test_zoom_visori(): # #111
|
||||
ids = set(re.findall(r'id="([^"]+)"', PAGINA))
|
||||
for suf in ("", "Cal", "CalTab"): # tre riquadri: grezza, calibrata, tab Calibrazione
|
||||
for base in ("zoomMeno", "zoomAdatta", "zoomPiu", "zoomPct"):
|
||||
assert base + suf in ids, base + suf
|
||||
assert "zoomata" in PAGINA
|
||||
assert "latoAnteprima()" in PAGINA and "unaAnteprima(1280)" not in PAGINA # lato_max segue lo zoom
|
||||
# la barra e' sorella del palco che scorre (non dentro): resta ferma durante lo scorrimento
|
||||
assert PAGINA.count('<div class="visore"') == 3
|
||||
assert PAGINA.count('<div class="barraZoom">') == 3
|
||||
|
||||
Reference in New Issue
Block a user