Files
Aislo/resources/tester/test_359_2_help_late_actions.py
T
eomsangdonandClaude Opus 5.5 4f4cc22c36 fix(가이드): 좌측 패널 [?] 늦게 붙인 단추 줄에도 자리 — E03 · E04 · E06 · E07(요구 359-2 · 360-2)
- 까닭 = 패널을 세운 뒤 단추 줄을 붙이는 화면은 쪼갬 · [?] [<] [>] 자리를 못 찾음
- 고침 = 공용 좌측 패널이 단추 줄이 붙는 때를 지켜보다 한 번 쪼갬 · 붙으면 지켜보기 끊음
- 시험 = 늦게 붙인 줄 · 먼저 붙인 줄 [?] 한 벌(새) · 280-2 헬퍼 대역에 538-3 고침 모듈 더함(낡음)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 09:46:24 +09:00

42 lines
1.2 KiB
Python

# -*- coding: utf-8 -*-
"""요구 359-2 · 360-2 — 좌측 패널 아래 [?] 는 액션 줄을 언제 붙여도 한 벌.
① 패널 세우기 전에 붙인 줄(E05 꼴) = 바로 쪼갬 · [?]
② 세운 뒤에 붙인 줄(E03 · E04 · E06 · E07 꼴) = 붙는 때 쪼갬 · [?] · 지켜보기 끊음
"""
import json
import os
import subprocess
import pytest
HERE = os.path.dirname(os.path.abspath(__file__))
@pytest.fixture(scope="module")
def results():
proc = subprocess.run(
["node", os.path.join(HERE, "helper_359_2_late_actions.cjs")],
capture_output=True,
text=True,
encoding="utf-8",
timeout=60,
)
assert proc.returncode == 0, proc.stderr
return json.loads(proc.stdout)
def test_먼저_붙인_줄은_바로_물음(results):
early = results["early"]
assert early["before"] is True
assert early["help"] == 1 and early["split"] and early["scroll"] and early["lastIsActions"]
assert early["watching"] == 0
def test_늦게_붙인_줄도_물음_한_벌(results):
late = results["late"]
assert late["before"] is False
assert late["help"] == 1 and late["split"] and late["scroll"] and late["lastIsActions"]
assert late["watching"] == 0