This commit is contained in:
@@ -157,6 +157,8 @@ def check_render() -> None:
|
||||
for marker in ("resource-qr-repository", "resource-qr-page"):
|
||||
if marker not in html:
|
||||
raise AssertionError(f"HTML nie zawiera komórki {marker!r}")
|
||||
if html.count('target="_blank" rel="noopener noreferrer"') < 2:
|
||||
raise AssertionError("oba kody QR HTML muszą otwierać bezpieczną nową kartę")
|
||||
if "PROJECT" not in html:
|
||||
raise AssertionError("HTML nie zawiera nowej tabliczki projektu")
|
||||
if "resource-qr-label" in html:
|
||||
|
||||
Reference in New Issue
Block a user