添加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 TimeoutError as PlaywrightTimeoutError
|
||||
from playwright.sync_api import expect
|
||||
@@ -117,6 +118,9 @@ def _open_first_order_detail(page):
|
||||
)
|
||||
|
||||
|
||||
@allure.feature("我的订单")
|
||||
@allure.story("订单详情")
|
||||
@allure.title("登录用户从首页进入 My Order 并查看第一笔订单详情")
|
||||
def test_home_my_order_first_order_detail_after_login(page, ensure_logged_in_user):
|
||||
logger.info("登录用户从首页进入 My Order 并查看第一笔订单详情")
|
||||
logger.info("打开链接地址: %s", settings.base_url)
|
||||
|
||||
Reference in New Issue
Block a user