Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
T
test-bitAgent-API
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
测试组专用
test-bitAgent-API
Commits
4063ccdb
提交
4063ccdb
authored
4月 27, 2025
作者:
张孟夏
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改手动创建探索会话的用例
上级
7cbe8b58
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
1 行增加
和
2 行删除
+1
-2
01012-手动创建探索会话-explore_create.robot
01012-手动创建探索会话-explore_create.robot
+0
-1
main.py
grpc_manager/main.py
+1
-1
没有找到文件。
01012-手动创建探索会话-explore_create.robot
浏览文件 @
4063ccdb
...
...
@@ -13,7 +13,6 @@ ${path} /api/explore/create
log ${content}
Should Be Equal As Strings ${content["code"]} 200
Should Be Equal As Strings ${content["message"]} 成功
Set Global Variable ${sessionId} ${content["data"]}
反例-传入无效的token
[Tags] E
...
...
grpc_manager/main.py
浏览文件 @
4063ccdb
...
...
@@ -20,7 +20,7 @@ async def handle_message(request_path: str, request_data: str) -> ResultModel:
elif
request_path
==
"adaptable_activities"
:
# 特定指令2
return
ResultModel
(
code
=
200
,
data
=
[
{
"id"
:
"sleep_seconds"
,
"name"
:
"sleep_seconds"
,
"displayName"
:
"等待"
,
"description"
:
"此工具的用途是在目标无法达成时进行等待,最多等待2次"
,
"parametersSchema"
:
{
"description"
:
"等待"
,
"properties"
:
{
"wait_seconds"
:
{
"default"
:
5
,
"description"
:
"默认5秒,可修改为1-5秒时间"
,
"title"
:
"Wait Seconds"
,
"type"
:
"integer"
}},
"title"
:
"SleepSeconds"
,
"type"
:
"object"
,
"required"
:
[]},
"elementIdJsonPaths"
:
[],
"icon"
:
"sleep_seconds"
,
"timeout"
:
180
}])
elif
request_path
==
"get_current_tab"
:
return
ResultModel
(
code
=
200
,
data
=
[]
)
return
ResultModel
(
code
=
200
,
data
=
{
"id"
:
"test_tab"
,
"url"
:
"https://www.zhipin.com/chengdu/?seoRefer=index"
,
"title"
:
"BOSS直聘-找工作上BOSS直聘直接谈!招聘求职找工作!"
,
"screenshot"
:[]}
)
# 默认响应
return
ResultModel
(
code
=
200
,
data
=
{
"message"
:
"请求处理成功"
})
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论