Commit 0354aff0 authored by 龚小红's avatar 龚小红

Merge branch 'feafture/20220509-gxh' into 'master'

增加OTO销售工作台移动端1.1的测试用例

See merge request test-group/kejiji!255
parents 50106314 c0c3421c
......@@ -19,6 +19,8 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
import static com.kjj.utils.ThreadSleepUtils.sleep;
public class WinningRules implements Authorization {
public Integer taskId;
public long Id;
......@@ -99,6 +101,7 @@ public class WinningRules implements Authorization {
Params.put("taskId", taskId);
Response response = null;
for (int i=0; i<10; i++) {
sleep(1000);
response = network.getResponse(Params, BasicConfig.MANAGER_result);
boolean hasFinish= response.jsonPath().getBoolean("data.hasFinish");
System.out.println(hasFinish);
......@@ -299,7 +302,7 @@ public class WinningRules implements Authorization {
@Test(description = "查询团队份数配置列表", priority = 18)
public void 查询团队份数配置列表() {
ThreadSleepUtils.sleep(500);
sleep(500);
Map<String, Object> Params = new HashMap<>();
Params.put("liveId", LiveConstants.getValue(LiveConstants.StringKeyEnum.LIVE_ID.getKey()));
Params.put("confId",confIdList.get(3).getConfId());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment