from scheduler import _missing_whitepage_markers


def test_whitepage_markers_accept_current_ewoooc_shell():
    html = """
    <html>
      <body>
        <aside class="momo-sidebar"></aside>
        <main class="momo-layout">
          <section class="momo-card">EwoooC 商品看板</section>
        </main>
      </body>
    </html>
    """

    assert _missing_whitepage_markers(html) == []


def test_whitepage_markers_keep_blank_page_failing():
    html = "<html><body><main></main></body></html>"

    assert _missing_whitepage_markers(html) == ["導航佈局", "系統識別", "內容容器"]
