diff --git a/docs/RELEASE.md b/docs/RELEASE.md index 6c5154e..285854b 100644 --- a/docs/RELEASE.md +++ b/docs/RELEASE.md @@ -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) diff --git a/mkdocs.yml b/mkdocs.yml index df265e1..007d1a8 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -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 diff --git a/public/__init__.py b/public/__init__.py index dd6b1df..97bd853 100644 --- a/public/__init__.py +++ b/public/__init__.py @@ -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.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 -from public.open_mode_public_widget.open_mode_public_widget import OpenModePublicWidget \ No newline at end of file diff --git a/public/dde_launcher_public_widget/dde_launcher_public_widget.py b/public/dde_launcher_public_widget/dde_launcher_public_widget.py index 7550255..258bc7d 100644 --- a/public/dde_launcher_public_widget/dde_launcher_public_widget.py +++ b/public/dde_launcher_public_widget/dde_launcher_public_widget.py @@ -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: diff --git a/src/assert_common.py b/src/assert_common.py index af022dd..7b9e9cb 100644 --- a/src/assert_common.py +++ b/src/assert_common.py @@ -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( (