新增和更新用例

This commit is contained in:
floraachy
2024-04-09 11:44:17 +08:00
parent a4197a06c1
commit f5fbe11446
74 changed files with 1485 additions and 411 deletions
+119 -51
View File
@@ -17,33 +17,91 @@ ENV_VARS = {
},
"test": {
# 环境相关域名
"host": "****host-test****",
"wiki_host": "****wiki_host-test****",
"pms_host": "****pm_host-test****",
"host": "https://******",
"wiki_host": "https://******",
"pms_host": "https://******",
# 获取oauth_token需要的参数
"client_id": "****client_id****",
"client_secret": "****client_secret****",
# 万能验证码
"green_code": "****green_code-test****",
# 测试账号 - 普通用户
"env_login": "autotest",
"env_password": "****autotest_password_test****", # 运行时需要手动更改密码
"env_nickname": "autotest",
"green_code": "******",
# 测试账号 - 普通用户(测试仓库开发者), 默认登录账号
"env_login": "******",
"env_password": "******", # 运行时需要手动更改密码
"env_nickname": "******",
"env_user_id": 106,
# 测试账号 - 超级管理员
"env_super_login": "floraachy",
"env_super_password": "****floraachy_password_test****", # 运行时需要手动更改密码
# 测试账号 - 普通用户(测试仓库报告者)
"t_login": "******",
"t_password": "******",
"t_nickname": "******",
"t_user_id": 290,
# 测试账号 - 超级管理员(测试仓库管理员)
"env_super_login": "******",
"env_super_password": "******", # 运行时需要手动更改密码
# 测试仓库 env_repo_owner/env_repo_identifier
"env_repo_owner": "",
"env_repo_identifier": "",
"env_project_id": "",
# pms相关环境变量
"env_pms_product_id": "",
"env_pms_product_identifier": "",
"env_pms_project_id": "",
"env_enterprise_identifier": "",
"env_enterprise_id": "",
"env_organization_id": 105,
"env_repo_owner": "******",
"env_repo_identifier": "******",
"env_project_id": "******",
# pms相关环境变量 - 产品
"env_pms_product_id": "******",
"env_pms_product_identifier": "******",
# pms相关环境变量 - 项目
"env_pms_project_id": "******",
# pms相关环境变量 - 企业
"env_enterprise_identifier": "******",
"env_enterprise_id": "******",
"env_organization_id": 249,
"env_dept_id": 349,
# 数据库配置
"db_info": {
"db_host": "xx.xx.xx.xx",
"db_port": 3306,
"db_user": "root",
"db_pwd": "**********",
"db_database": "test**********",
"ssh": False,
"ssh_host": "xx.xx.xx.xx",
"ssh_port": 3306,
"ssh_user": "root",
"ssh_pwd": "**********"
}
},
"dev": {
# 环境相关域名
"host": "http://******",
"wiki_host": "",
"pms_host": "http://******",
# 获取oauth_token需要的参数
"client_id": "****client_id****",
"client_secret": "****client_secret****",
# 万能验证码
"green_code": "******",
# 测试账号 - 普通用户(测试仓库开发者), 默认登录账号
"env_login": "******",
"env_password": "******", # 运行时需要手动更改密码
"env_nickname": "******",
"env_user_id": 36669,
# 测试账号 - 超级管理员(测试仓库管理员)
"env_super_login": "******",
"env_super_password": "******",
"env_super_nickname": "******",
"env_super_user_id": 36661,
# 测试仓库 env_repo_owner/env_repo_identifier
"env_repo_owner": "****",
"env_repo_identifier": "****",
"env_project_id": "****",
# pms相关环境变量 - 产品
"env_pms_product_id": "******",
"env_pms_product_identifier": "******",
# pms相关环境变量 - 项目
"env_pms_project_id": "******",
# pms相关环境变量 - 企业
"env_enterprise_identifier": "******",
"env_enterprise_id": "******",
"env_organization_id": 36663,
"env_dept_id": 331,
# 数据库配置
"db_info": {
"db_host": "xx.xx.xx.xx",
@@ -62,32 +120,37 @@ ENV_VARS = {
},
"pre": {
# 环境相关域名
"host": "****host-pre****",
"wiki_host": "****wiki_host-pre****",
"pms_host": "****pm_host-pre****",
"host": "http://******",
"wiki_host": "http://******",
"pms_host": "https://******",
# 获取oauth_token需要的参数
"client_id": "****client_id-pre****",
"client_secret": "****client_secret-pre****",
# 万能验证码
"green_code": "****green_code-pre****",
# 测试账号 - 普通用户
"env_login": "autotest",
"env_password": "****autotest-pre****", # 运行时需要手动更改密码
"env_nickname": "autotest",
"green_code": "******",
# 测试账号 - 普通用户(测试仓库开发者), 默认登录账号
"env_login": "******",
"env_password": "******", # 运行时需要手动更改密码
"env_nickname": "******",
"env_user_id": 115,
# 测试账号 - 超级管理员
"env_super_login": "floraachy",
"env_super_password": "****floraachy-pre****", # 运行时需要手动更改密码
# 测试账号 - 普通用户(测试仓库报告者)
"t_login": "******",
"t_password": "******",
"t_nickname": "******",
"t_user_id": 36546,
# 测试账号 - 超级管理员(测试仓库管理员)
"env_super_login": "******",
"env_super_password": "******", # 运行时需要手动更改密码
"env_super_user_id": 110,
# 测试仓库 env_repo_owner/env_repo_identifier
"env_repo_owner": "",
"env_repo_identifier": "",
"env_project_id": "",
"env_repo_owner": "******",
"env_repo_identifier": "******",
"env_project_id": "******",
# pms相关环境变量
"env_pms_product_id": "",
"env_pms_product_identifier": "",
"env_pms_project_id": "",
"env_enterprise_id": "",
"env_organization_id": "",
"env_dept_id": "",
# 数据库配置
"db_info": {
"db_host": "xx.xx.xx.xx",
@@ -106,32 +169,37 @@ ENV_VARS = {
},
"live": {
# 环境相关域名
"host": "https://www.gitlink.org.cn",
"wiki_host": "https://wiki.gitlink.org.cn",
"host": "https://******",
"wiki_host": "https://******",
"pms_host": "https://*****",
# 获取oauth_token需要的参数
"client_id": "****client_id-live****",
"client_secret": "****client_secret-live****",
# 万能验证码
"green_code": "****green_code-live****",
# 测试账号 - 普通用户
"env_login": "floraachy",
"env_password": "****floraachy-live****", # 运行时需要手动更改密码
"env_nickname": "🌼陈银花",
# 测试账号 - (测试仓库开发者), 默认登录账号
"env_login": "******",
"env_password": "******",
"env_nickname": "******",
"env_user_id": 87611,
# 测试账号 - 超级管理员
"env_super_login": "chenyh",
"env_super_password": "****chenyh-live****", # 运行时需要手动更改密码
# 测试账号 - 普通用户(测试仓库报告者)
"t_login": "******",
"t_password": "******",
"t_nickname": "******",
"t_user_id": 87691,
# 测试账号 - 超级管理员 (测试仓库管理员)
"env_super_login": "******",
"env_super_password": "******",
"env_super_user_id": 88473,
# 测试仓库 env_repo_owner/env_repo_identifier
"env_repo_owner": "floraachy",
"env_repo_identifier": "autotest",
"env_project_id": "1445676",
"env_repo_owner": "******",
"env_repo_identifier": "******",
"env_project_id": "******",
# pms相关环境变量
"env_pms_product_id": "",
"env_pms_product_identifier": "",
"env_pms_project_id": "",
"env_enterprise_id": "",
"env_organization_id": "",
"env_dept_id": "",
# 数据库配置
"db_info": {
"db_host": "xx.xx.xx.xx",