ObsiGate 2.82.6 : barre v0.1.10 — rouge Spark, marque logo, avatar flottant, Alertes icône (tests/test_draco_barre.py)
This commit is contained in:
@@ -34,13 +34,16 @@ def test_palier_mobile_resserre_v012():
|
|||||||
|
|
||||||
|
|
||||||
def test_menu_des_applications_par_la_marque():
|
def test_menu_des_applications_par_la_marque():
|
||||||
# v0.1.3 : la marque ✦ ouvre le menu des 4 applications
|
# v0.1.3 : la marque ouvre le menu des applications
|
||||||
# (changement d'app en mobile), logo à 24 px.
|
# (changement d'app en mobile). v0.1.10 : la marque n'est plus
|
||||||
|
# le glyphe ✦ à 24 px mais le logo Spark en img 26 px.
|
||||||
html = _index()
|
html = _index()
|
||||||
assert 'data-act="apps"' in html
|
assert 'data-act="apps"' in html
|
||||||
js = (FRONTEND / "draco-barre.js").read_text(encoding="utf-8")
|
js = (FRONTEND / "draco-barre.js").read_text(encoding="utf-8")
|
||||||
assert "draco-apps-menu" in js
|
assert "draco-apps-menu" in js
|
||||||
assert "font-size: 24px" in _css()
|
assert '<span class="draco-brand-mark"><img src="/static/img/logos/spark.png"' in html
|
||||||
|
assert ".draco-brand-mark img" in _css()
|
||||||
|
assert "width: 26px" in _css()
|
||||||
|
|
||||||
|
|
||||||
def test_panneau_spark_integre_218():
|
def test_panneau_spark_integre_218():
|
||||||
|
|||||||
Reference in New Issue
Block a user