from __future__ import annotations

import pytest
from playwright.sync_api import Page

from e2e.tests.订单状态流转.丸友集申请撤销.test_s_flow_016_approve_revoke_after_accept_without_player import (
    test_s_flow_016_approve_revoke_after_accept_without_player,
)
from e2e.tests.订单状态流转.处罚追缴.test_s_flow_069_start_penalty_from_revoke_end import (
    test_s_flow_069_start_penalty_from_revoke_end,
)
from e2e.tests.订单状态流转.处罚追缴.test_s_flow_070_approve_penalty_from_revoke_end import (
    test_s_flow_070_approve_penalty_from_revoke_end,
)


@pytest.mark.flow_042
@pytest.mark.e2e_ledger
@pytest.mark.e2e_chain
def test_flow_042_revoke_end_penalty_approve(page: Page, settings, bug_reporter) -> None:
    test_s_flow_016_approve_revoke_after_accept_without_player(page, settings, bug_reporter)
    test_s_flow_069_start_penalty_from_revoke_end(page, settings, bug_reporter)
    test_s_flow_070_approve_penalty_from_revoke_end(page, settings, bug_reporter)
