提交 0868b141 authored 作者: 陈泽健's avatar 陈泽健

test(frontend): 注释掉页面刷新逻辑

- 移除了前台系统功能测试中的页面刷新代码
- 移除了后台系统功能测试中的页面刷新代码
- 避免因页面刷新导致的测试不稳定问题
上级 c247de85
......@@ -29,8 +29,8 @@ class NewUnifiedPlatform:
# 刷新页面
# wd.refresh()
wd.refresh()
sleep(5)
# wd.refresh()
# sleep(5)
for step in self.para:
# 赋值页面类型page
......@@ -106,8 +106,8 @@ class NewUnifiedPlatform:
elif element_type == "refresh":
# 刷新页面
INFO("刷新页面")
wd.refresh()
sleep(5)
# wd.refresh()
# sleep(5)
elif element_type == "url_jump":
# 跳转页面
......
......@@ -9,11 +9,12 @@ sys.path.append(platform_path)
# 导入模块
from 新统一平台.Base.base import *
# 构建XLSX文件的绝对路径
# 构建XLSX文件的绝对路径,
# 1、用户点击编辑有问题;2、点击会议室添加按钮页面显示空白
xlsx_file_path = os.path.join(current_dir,'..', '测试数据', '新统一平台测试用例.xlsx')
class NewUnifiedPlatform:
#执行指令:
# 执行指令:
# cd ./统一平台/
# hytest --tag 新统一平台
tags = ['新统一平台后台系统', '新统一平台']
......@@ -110,8 +111,8 @@ class NewUnifiedPlatform:
elif element_type == "refresh":
# 刷新页面
INFO("刷新页面")
wd.refresh()
sleep(5)
# wd.refresh()
# sleep(5)
elif element_type == "url_jump":
# 跳转页面
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论