添加allure标注
This commit is contained in:
@@ -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("下载页内容")
|
||||
@allure.title("校验 App 下载页核心内容和下载入口可见")
|
||||
def test_app_page_key_content_and_download_links_visible(page):
|
||||
logger.info("使用 pytest-playwright 统一无头浏览器配置")
|
||||
|
||||
@@ -39,6 +43,9 @@ def test_app_page_key_content_and_download_links_visible(page):
|
||||
assert href is not None
|
||||
|
||||
|
||||
@allure.feature("App下载")
|
||||
@allure.story("下载说明")
|
||||
@allure.title("校验 App 下载页 How to Download APK 按钮可见")
|
||||
def test_app_page_how_to_download_apk_button_visible(page):
|
||||
logger.info("使用 pytest-playwright 统一无头浏览器配置")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user