feat(UI 自动化): 失败重试

--story=1009575 --user=张大海 【UI测试】失败重试 https://www.tapd.cn/55049933/s/1241455
This commit is contained in:
zhangdahai112 2022-09-13 01:45:01 +08:00 committed by zhangdahai112
parent f635896b10
commit 7d30d0d536
4 changed files with 12 additions and 3 deletions

View File

@ -97,6 +97,15 @@ public class ParameterConfig extends MsParameter {
private List<String> csvFilePaths = new ArrayList<>();
/**
* 是否开始重试
*/
private Boolean retryEnable;
/**
* 重试次数
*/
private Long retryNumber;
public boolean isEffective(String projectId) {
if (this.config != null && this.config.get(projectId) != null) {

View File

@ -2331,7 +2331,7 @@ export default {
report_name: "Report name",
run_with_resource_pool: "Run Within Resource pool",
retry_on_failure: "retry on failure",
retry_message: "Retry the interface use case, if it still fails after retries n times, the use case failed",
retry_message: "Retry the interface / UI use case, if it still fails after retries n times, the use case failed",
retry: "Retry",
retry_frequency: "Frequency"
},

View File

@ -2339,7 +2339,7 @@ export default {
report_name: "报告名称",
run_with_resource_pool: "资源池运行",
retry_on_failure: "失败重试",
retry_message: "重试接口用例重试n次后仍然失败则用例失败",
retry_message: "重试接口/UI用例重试n次后仍然失败则用例失败",
retry: "重试",
retry_frequency: "次"
},

View File

@ -2336,7 +2336,7 @@ export default {
report_name: "報告名稱",
run_with_resource_pool: "資源池運行",
retry_on_failure: "失敗重試",
retry_message: "重試接口用例重試n次後仍然失敗則用例失敗",
retry_message: "重試接口/UI用例重試n次後仍然失敗則用例失敗",
retry: "重試",
retry_frequency: "次"
},