提交 a168ae0b 编写于 作者: aaronchen2k2k's avatar aaronchen2k2k

update layout

上级 0b76e8f7
......@@ -167,6 +167,7 @@ func ExeScript(scriptFile, workspacePath string, conf commDomain.WorkspaceConf,
startMsg := i118Utils.Sprintf("start_execution", scriptFile, dateUtils.DateTimeStr(startTime))
if commConsts.ExecFrom != commConsts.FromCmd {
websocketHelper.SendExecMsg("", "", commConsts.Run, wsMsg)
websocketHelper.SendExecMsg(startMsg, "", commConsts.Run, wsMsg)
logUtils.ExecConsolef(-1, startMsg)
}
......@@ -205,6 +206,7 @@ func ExeScript(scriptFile, workspacePath string, conf commDomain.WorkspaceConf,
//}
CheckCaseResult(scriptFile, logs, report, scriptIdx, total, secs, pathMaxWidth, numbMaxWidth, wsMsg)
websocketHelper.SendExecMsg("", "", commConsts.Run, wsMsg)
}
func RunScript(filePath, workspacePath string, conf commDomain.WorkspaceConf,
......
......@@ -148,7 +148,7 @@ export default {
'wrong_url': 'Please input right ZenTao URL.',
'delete_success': 'Delete successfully.',
'ws_conn_success': 'Connect to WebSocket successfully.',
'ws_conn_fail': 'Connect to WebSocket failed.',
'ws_conn_fail': 'Connect to WebSocket failed, please refresh the page to retry.',
'no_script_for_unittest': 'No scriptS for Unit Test.',
'zentao_request_failed_title': 'Zentao Site Request Failed',
......
......@@ -147,7 +147,7 @@ export default {
'wrong_url': '请输入正确的的URL地址,以http或https开头。',
'delete_success': '删除成功',
'ws_conn_success': 'WebSocket连接成功。',
'ws_conn_fail': 'WebSocket连接失败。',
'ws_conn_fail': 'WebSocket连接失败,请刷新页面重试',
'no_script_for_unittest': '此为单元测试工作目录,无ZTF脚本。',
'zentao_request_failed_title': '禅道请求错误',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册