fix: 1.修复了自定义断言中OCR反向断言的部分逻辑问题;2.添加了一些版本更新记录,并优化了文档内容;
Description: Log:
This commit is contained in:
parent
398bb50799
commit
1478e25dce
|
@ -4,6 +4,8 @@
|
|||
|
||||
new
|
||||
|
||||
- `OCR` 检测模型升级到 `V4` ,中英文场景检测模型准确率提升 4.9%,识别模型准确率提升 2%;
|
||||
|
||||
- 支持标签反向同步:将 `csv` 中的标签同步到 `pms` ;
|
||||
|
||||
- 解除子项目的工程名称以 `autotest_` 开头的限制,子项目工程名称可以为任意名称;
|
||||
|
@ -45,7 +47,8 @@ fix
|
|||
- 修复从 `pms` 标签【设备类型】为 `null` 时,同步到 `csv` 文件写入为 `null`;
|
||||
- 修复无法导出 `csv` 文件的问题;
|
||||
- 修复了键盘 `printscreen` 按钮无效的问题;
|
||||
- 修复了 `sniff` 命令报错无法找到src模块的问题;
|
||||
- 修复了 `sniff` 命令报错无法找到 `src` 模块的问题;
|
||||
- 修复 `assert_ocr_not_exist` 传入多个识别目标逻辑判断错误的问题;
|
||||
|
||||
## 2.2.3(2023/9/15)
|
||||
|
||||
|
|
|
@ -82,10 +82,15 @@ extra:
|
|||
version:
|
||||
provider: mike
|
||||
social:
|
||||
- icon: fontawesome/brands/slack
|
||||
link: https://mikigo.github.io/funny-docs
|
||||
name: funny-docs
|
||||
- icon: fontawesome/brands/github
|
||||
link: https://github.com/linuxdeepin
|
||||
name: linuxdeepin
|
||||
- icon: fontawesome/brands/python
|
||||
link: https://pypi.org/project/youqu
|
||||
name: pypi
|
||||
homepage: https://linuxdeepin.github.io/deepin-autotest-framework
|
||||
|
||||
extra_javascript:
|
||||
|
@ -136,5 +141,4 @@ nav:
|
|||
- 智能化功能测试.md
|
||||
- 智能化性能测试.md
|
||||
- 定级工具: http://youqu-dev.uniontech.com/tool
|
||||
- 博客文章: https://mikigo.github.io/funny-docs
|
||||
- 常见问题: 常见问题.md
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
from public.dde_desktop_public_widget.dde_desktop_public_widget import DdeDesktopPublicWidget
|
||||
from public.dde_dock_public_widget.dde_dock_public_widget import DdeDockPublicWidget
|
||||
from public.dde_launcher_public_widget.dde_launcher_public_widget import DdeLauncherPublicWidget
|
||||
from public.right_menu_public_widget.right_menu_public_widget import RightMenuPublicWidget
|
||||
from public.open_mode_public_widget.open_mode_public_widget import OpenModePublicWidget
|
||||
from public.other_public_widget.deepin_compress_public_widget import DeepinCompressPublicWidget
|
||||
from public.other_public_widget.deepin_manual_public_widget import DeepinManualPublicWidget
|
||||
from public.right_menu_public_widget.right_menu_public_widget import RightMenuPublicWidget
|
||||
|
|
|
@ -96,7 +96,7 @@ class DdeLauncherPublicWidget(Src):
|
|||
"""
|
||||
self.click_app_in_lancher_by_attr("音乐")
|
||||
|
||||
def click_open_file_manager_in_launcher_by_image(self):
|
||||
def click_open_file_manager_in_launcher_by_attr(self):
|
||||
"""
|
||||
在启动器中点击文管
|
||||
:return:
|
||||
|
@ -112,7 +112,7 @@ class DdeLauncherPublicWidget(Src):
|
|||
self.click_and_input_search_edit_in_launcher_by_attr("截图录屏")
|
||||
self.click_app_in_lancher_by_attr("截图录屏")
|
||||
|
||||
def send_file_manager_to_desktop_in_launcher_by_image(self):
|
||||
def send_file_manager_to_desktop_in_launcher_by_attr(self):
|
||||
"""
|
||||
在launcher中发送到桌面
|
||||
:return:
|
||||
|
|
|
@ -437,7 +437,7 @@ class AssertCommon:
|
|||
f"{pic if pic else GlobalConfig.SCREEN_CACHE}",
|
||||
)
|
||||
)
|
||||
elif isinstance(res, dict) and False in res.values():
|
||||
elif isinstance(res, dict) and True in res.values():
|
||||
res = filter(lambda x: x[1] is not False, res.items())
|
||||
raise AssertionError(
|
||||
(
|
||||
|
|
Loading…
Reference in New Issue