6f5668b7ec
Add tests/cross_end/ directory with dual-driver architecture:
- conftest.py: Playwright admin_page + Appium app_driver fixtures
- Admin Page Objects: FreightSourcePage, WaybillManagementPage, SettlementPage
- App Page Objects: DriverOrderListPage, DriverTransportPage, DriverHomePage (re-export)
- test_freight_full_flow.py: 8-step end-to-end test (publish → accept → load → unload → accounting → review → shipper pay → platform pay)
- Shared context dict for cross-step data passing
- Graceful skip when either Playwright or Appium is unavailable
- All selectors marked with ⚠️ placeholders for discovery against real environments
Add cross_end marker to pytest.ini for selective execution.
8 lines
246 B
Python
8 lines
246 B
Python
"""跨端测试 — 司机端首页 Page Object。
|
|
|
|
直接复用 tests/app/driver_android/pages/driver_home_page.py。
|
|
"""
|
|
|
|
# re-export existing page object
|
|
from tests.app.driver_android.pages.driver_home_page import DriverHomePage # noqa: F401
|