重新调整gitlink接口用例,所有登录后的操作均通过用户名及密码方式登录

This commit is contained in:
floraachy
2024-01-08 15:20:11 +08:00
parent 9af16d3466
commit 966bb88dfb
41 changed files with 115 additions and 98 deletions
+19 -3
View File
@@ -22,7 +22,7 @@ ENV_VARS = {
"pms_host": "https://testpm.trustie.net",
"client_id": "****client_id****", # 获取oauth_token需要的参数
"client_secret": "****client_secret****", # 获取oauth_token需要的参数
"green_code": "****green_code****", # 万能验证码
"green_code": "****green_code-test****", # 万能验证码
"env_login": "autotest",
"env_password": "****autotest_password_test****", # 运行时需要手动更改密码
"env_nickname": "autotest",
@@ -31,9 +31,11 @@ ENV_VARS = {
"env_super_password": "****floraachy_password_test****", # 运行时需要手动更改密码
"env_project_url": "/autotest/auotest",
"env_project_id": "59",
# pms相关环境变量
"env_pms_product_id": "215",
"env_pms_product_identifier": "6E0453",
"env_pms_project_id": "135",
# 数据库配置
"db_info": {
"db_host": "xx.xx.xx.xx",
"db_port": 3306,
@@ -52,7 +54,8 @@ ENV_VARS = {
"pre": {
# 示例测试环境及示例测试账号
"host": "http://172.20.32.202:4000",
"wiki_host": "",
"wiki_host": "http://172.20.32.202:8093",
"pms_host": "https://testpm.trustie.net",
"client_id": "****client_id-pre****", # 获取oauth_token需要的参数
"client_secret": "****client_secret-pre****", # 获取oauth_token需要的参数
"green_code": "****green_code-pre****", # 万能验证码
@@ -63,6 +66,12 @@ ENV_VARS = {
"env_super_login": "floraachy",
"env_super_password": "****floraachy-pre****", # 运行时需要手动更改密码
"env_project_url": "/floraachy/autotest",
"env_project_id": "161",
# pms相关环境变量
"env_pms_product_id": "",
"env_pms_product_identifier": "",
"env_pms_project_id": "",
# 数据库配置
"db_info": {
"db_host": "xx.xx.xx.xx",
"db_port": 3306,
@@ -80,7 +89,8 @@ ENV_VARS = {
},
"live": {
"host": "https://www.gitlink.org.cn",
"wiki_host": "",
"wiki_host": "https://wiki.gitlink.org.cn",
"pms_host": "https://*****",
"client_id": "****client_id-live****", # 获取oauth_token需要的参数
"client_secret": "****client_secret-live****", # 获取oauth_token需要的参数
"green_code": "****green_code-live****", # 万能验证码
@@ -91,6 +101,12 @@ ENV_VARS = {
"env_super_login": "chenyh",
"env_super_password": "****chenyh-live****", # 运行时需要手动更改密码
"env_project_url": "/floraachy/auotest",
"env_project_id": "1445676",
# pms相关环境变量
"env_pms_product_id": "",
"env_pms_product_identifier": "",
"env_pms_project_id": "",
# 数据库配置
"db_info": {
"db_host": "xx.xx.xx.xx",
"db_port": 3306,