@@ -209,14 +209,20 @@ def test_query() -> None:
209209 assert excluded_control is not None
210210 assert "checked" not in excluded_control .group ("attributes" )
211211 assert 'data-fully-covered="true"' in html
212- assert 'data-status="excluded"' in html
212+ assert all (
213+ marker in html
214+ for marker in (
215+ 'data-status="excluded"' ,
216+ "--excluded-soft: #f5f5ed;" ,
217+ '.field-row[data-status="excluded"] {' ,
218+ )
219+ )
213220 assert '<div class="type-columns" aria-hidden="true">' in html
214221 assert "<details" not in html
215222 assert 'class="type-header-row"' in html
216223 assert '<table class="field-table">' in html
217224 assert 'class="field-resolution"' not in html
218- assert "Python type" not in html
219- assert "Python field" not in html
225+ assert not any (label in html for label in ("Python type" , "Python field" ))
220226 assert ">Covered<" not in html
221227 assert ">Missing<" not in html
222228 assert 'aria-label="viewer, covered"' in html
@@ -226,6 +232,7 @@ def test_query() -> None:
226232 assert '<td class="field-status-cell">missing</td>' in html
227233 assert '<td class="field-status-cell">not counted</td>' in html
228234 assert html .count ('<td class="field-status-cell"></td>' ) == _COVERED_FIELD_COUNT
235+ assert "--high-soft: #dcfce7;" in html
229236 assert 'class="summary-score" data-tone="medium"' in html
230237 assert "2/3 fields covered" in html
231238 assert 'class="schema-identity"' not in html
0 commit comments