fix: update docs

Description:

Log:
This commit is contained in:
mikigo 2024-05-21 10:39:09 +08:00
parent 16769fc532
commit 405065dd66
4 changed files with 9 additions and 8 deletions

View File

@ -21,14 +21,12 @@
**深度社区:<a href="https://github.com/linuxdeepin/youqu" target="_blank">linuxdeepin</a> | <a href="https://gitee.com/deepin-community/youqu" target="_blank">deepin-community</a>**
**欧拉社区: <a href="https://gitee.com/src-openeuler/youqu" target="_blank">src-openeuler</a>**
**欧拉社区:<a href="https://gitee.com/src-openeuler/youqu" target="_blank">src-openeuler</a>**
**官方文档: <a href="https://youqu.uniontech.com" target="_blank">https://youqu.uniontech.com</a>**
**官方文档:<a href="https://youqu.uniontech.com" target="_blank">https://youqu.uniontech.com</a>**
**欢迎加入 [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 项目,更重要的是确保创建工程的规范性。

View File

@ -128,7 +128,7 @@ my_project
   └── ui.ini # 相对位移元素定位方案的配置文件
```
在你的远程 Git 仓库中,只需要保存 APP 工程这部分代码即可。
**在你的远程 Git 仓库中,只需要保存 APP 工程这部分代码即可。**
`autotest_deepin_some` 是你的 APP 工程名称,在此基础上,你可以快速的开始你的 AT 项目,更重要的是确保创建工程的规范性。

View File

@ -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

View File

@ -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):