191 build - поправлены старые падения, проверены 3 матча и 6 агентов одновременных
This commit is contained in:
@@ -2,13 +2,12 @@ from pathlib import Path
|
||||
import shutil
|
||||
import subprocess
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
def test_assigned_penalty_display_with_real_runtime_functions():
|
||||
node = shutil.which("node")
|
||||
if node is None:
|
||||
pytest.skip("Install Node for the browser regression")
|
||||
assert node is not None, "Node.js is required for the browser regression"
|
||||
result = subprocess.run([node, str(Path(__file__).with_name("hotfix_penalty_visibility.cjs"))],
|
||||
capture_output=True, text=True, timeout=10)
|
||||
assert result.returncode == 0, result.stdout + result.stderr
|
||||
assert "PASS: prepared penalty display" in result.stdout, result.stdout + result.stderr
|
||||
|
||||
Reference in New Issue
Block a user