diff --git a/README.md b/README.md index d7586e7..1e1723d 100644 --- a/README.md +++ b/README.md @@ -21,14 +21,12 @@ **深度社区:linuxdeepin | deepin-community** -**欧拉社区: src-openeuler** +**欧拉社区:src-openeuler** -**官方文档: https://youqu.uniontech.com** +**官方文档:https://youqu.uniontech.com** **欢迎加入 [YouQu官方兴趣小组](https://youqu.uniontech.com/SIG.html)** - - --- YouQu(有趣)是统信公司(Deepin/UOS)开源的一个 Linux 操作系统的自动化测试框架,支持多元化元素定位和断言、用例标签化管理和执行、强大的日志和报告输出等特色功能,同时完美兼容 X11、Wayland 显示协议,环境部署简单,操作易上手。🔥 @@ -99,6 +97,9 @@ $ youqu-startproject my_project ```shell $ cd my_project $ bash env.sh +# 使用的默认密码是 1; +# 您可以使用 -p 选项传入密码:bash env.sh -p ${my_password}; +# 也可以修改配置文件 setting/globalconfig.ini 里面的 PASSWORD 配置项; ``` ## [创建 APP 工程]() @@ -120,7 +121,7 @@ my_project ...    ├── ... ``` -在你的远程 Git 仓库中,只需要保存 APP 工程这部分代码即可。 +**在你的远程 Git 仓库中,只需要保存 APP 工程这部分代码即可。** `autotest_deepin_some` 是你的 APP 工程名称,在此基础上,你可以快速的开始你的 AT 项目,更重要的是确保创建工程的规范性。 diff --git a/docs/指南/简介/快速开始.md b/docs/指南/简介/快速开始.md index 96abc0c..bcae59b 100644 --- a/docs/指南/简介/快速开始.md +++ b/docs/指南/简介/快速开始.md @@ -128,7 +128,7 @@ my_project    └── ui.ini # 相对位移元素定位方案的配置文件 ``` -在你的远程 Git 仓库中,只需要保存 APP 工程这部分代码即可。 +**在你的远程 Git 仓库中,只需要保存 APP 工程这部分代码即可。** `autotest_deepin_some` 是你的 APP 工程名称,在此基础上,你可以快速的开始你的 AT 项目,更重要的是确保创建工程的规范性。 diff --git a/setting/globalconfig.py b/setting/globalconfig.py index ecc9a25..4bc0fe1 100644 --- a/setting/globalconfig.py +++ b/setting/globalconfig.py @@ -257,7 +257,7 @@ class _GlobalConfig: top_cmd = "top -b -d 3 -w 512" GITHUB_URL = "https://github.com/linuxdeepin/youqu" - DOCS_URL = "https://linuxdeepin.github.io/youqu" + DOCS_URL = "https://youqu.uniontech.com/" PyPI_URL = "https://pypi.org/project/youqu" LETMEGO_DEBUG = True diff --git a/src/button_center.py b/src/button_center.py index 31dcd7c..989ff65 100644 --- a/src/button_center.py +++ b/src/button_center.py @@ -647,7 +647,7 @@ class ButtonCenter: except Exception as exc: raise ApplicationStartError(f"{app_name, exc}") from exc else: - info = self.wwininfo.window_info().get(self.app_name) + info = WaylandWindowInfo().window_info().get(self.app_name) if isinstance(info, dict): return info.get("window_id") elif isinstance(info, list):