File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 </ head >
1717 < body class ="n3-runtime ">
1818 < div class ="runtime-shell ">
19- < header class ="runtime-bar " role ="banner ">
20- < div class ="runtime-brand ">
21- < span class ="runtime-badge "> preview</ span >
22- < span id ="appLabel "> namel3ss</ span >
23- </ div >
24- < div class ="runtime-controls ">
25- < label for ="pageSelect "> Page</ label >
26- < select id ="pageSelect " aria-label ="Page selection "> </ select >
27- </ div >
28- </ header >
2919 < main class ="runtime-canvas " role ="main ">
3020 < div id ="ui " class ="ui-body " data-testid ="runtime-ui "> </ div >
3121 </ main >
Original file line number Diff line number Diff line change 1616 </ head >
1717 < body class ="n3-runtime ">
1818 < div class ="runtime-shell ">
19- < header class ="runtime-bar " role ="banner ">
20- < div class ="runtime-brand ">
21- < span id ="appLabel "> namel3ss</ span >
22- </ div >
23- < div class ="runtime-controls ">
24- < label for ="pageSelect "> Page</ label >
25- < select id ="pageSelect " aria-label ="Page selection "> </ select >
26- </ div >
27- </ header >
2819 < main class ="runtime-canvas " role ="main ">
2920 < div id ="ui " class ="ui-body " data-testid ="runtime-ui "> </ div >
3021 </ main >
Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ def test_preview_html_excludes_overlay_and_status() -> None:
1313 html = Path ("src/namel3ss/runtime/web/preview.html" ).read_text (encoding = "utf-8" )
1414 assert 'id="devOverlay"' not in html
1515 assert "runtimeStatus" not in html
16+ assert "runtime-bar" not in html
17+ assert "pageSelect" not in html
18+ assert "appLabel" not in html
1619 assert 'mode: "preview"' in html
1720
1821
@@ -21,4 +24,7 @@ def test_prod_html_excludes_overlay_status_and_badge() -> None:
2124 assert 'id="devOverlay"' not in html
2225 assert "runtimeStatus" not in html
2326 assert "runtime-badge" not in html
27+ assert "runtime-bar" not in html
28+ assert "pageSelect" not in html
29+ assert "appLabel" not in html
2430 assert 'mode: "preview"' in html
You can’t perform that action at this time.
0 commit comments