git-subtree-dir: vendor/dumas_h3_continuum git-subtree-split: d07ed31b442d283d6a1740f875a843b9feda4c91
15 lines
635 B
Python
15 lines
635 B
Python
from pathlib import Path
|
|
import shutil
|
|
import subprocess
|
|
|
|
|
|
def test_storage_settings_frontend_lifecycle():
|
|
node = shutil.which("node")
|
|
assert node, "Node.js is required for frontend regression checks"
|
|
script = Path(__file__).with_name("frontend_storage_settings.mjs")
|
|
result = subprocess.run([node, str(script)], text=True, encoding="utf-8",
|
|
capture_output=True, timeout=30)
|
|
assert result.returncode == 0, result.stdout + result.stderr
|
|
assert "100 reopen cycles passed" in result.stdout
|
|
assert "Empty/invalid HTTP responses, recovery, and no POST replay passed" in result.stdout
|