添加allure标注

This commit is contained in:
2026-05-13 18:07:36 +08:00
parent 9b8c187344
commit 9c77f0f9f5
14 changed files with 86 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ from pathlib import Path
import re
import sys
import allure
import pytest
from playwright.sync_api import expect
@@ -15,6 +16,9 @@ from utils.logger import get_logger
logger = get_logger(__name__)
@allure.feature("App下载")
@allure.story("Google Play 跳转")
@allure.title("点击 Download the App 后校验 Google Play 链接并返回 App 页面")
def test_click_download_the_app_then_google_play_return_app_wait_and_close_browser(page, ensure_guest_user):
logger.info("使用 pytest-playwright 统一无头浏览器配置")