Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oto
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
龚小红
oto
Commits
e67c0126
Commit
e67c0126
authored
Sep 13, 2021
by
xiamengchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
直播中测试完善
parent
a8b48fde
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
272 additions
and
228 deletions
+272
-228
ResourceForm.java
src/test/java/com/kjj/bean/resources/ResourceForm.java
+1
-0
ResourceFree.java
src/test/java/com/kjj/bean/resources/ResourceFree.java
+1
-0
LiveLater.java
src/test/java/com/kjj/cases/live/agent/LiveLater.java
+5
-0
LiveVisitors.java
src/test/java/com/kjj/cases/live/anchor/LiveVisitors.java
+53
-25
PersonalPage.java
src/test/java/com/kjj/cases/live/customer/PersonalPage.java
+10
-0
EvaluationConf.java
...st/java/com/kjj/cases/live/liveConfig/EvaluationConf.java
+17
-17
Lottery.java
src/test/java/com/kjj/cases/live/lottery/Lottery.java
+2
-2
LotteryCode.java
...test/java/com/kjj/cases/live/lotteryCode/LotteryCode.java
+1
-2
liveTestNG.xml
src/test/liveTestNG.xml
+182
-182
No files found.
src/test/java/com/kjj/bean/resources/ResourceForm.java
View file @
e67c0126
...
@@ -12,6 +12,7 @@ public class ResourceForm {
...
@@ -12,6 +12,7 @@ public class ResourceForm {
private
List
<
FieldList
>
fieldList
;
private
List
<
FieldList
>
fieldList
;
private
String
received
;
private
String
received
;
private
String
evaluationId
;
private
String
evaluationId
;
private
boolean
hasSubmitEvaluation
;
@Data
@Data
public
static
class
FieldList
public
static
class
FieldList
...
...
src/test/java/com/kjj/bean/resources/ResourceFree.java
View file @
e67c0126
...
@@ -24,4 +24,5 @@ public class ResourceFree {
...
@@ -24,4 +24,5 @@ public class ResourceFree {
private
String
outLinkAppId
;
private
String
outLinkAppId
;
private
String
formBanner
;
private
String
formBanner
;
private
String
evaluationId
;
private
String
evaluationId
;
private
boolean
hasSubmitEvaluation
;
}
}
src/test/java/com/kjj/cases/live/agent/LiveLater.java
View file @
e67c0126
...
@@ -238,6 +238,11 @@ public class LiveLater implements Authorization {
...
@@ -238,6 +238,11 @@ public class LiveLater implements Authorization {
List
<
GrabWelfares
>
list
=
JsonUtil
.
parseResponseToListBean
(
response
,
GrabWelfares
.
class
,
"grabWelfares"
);
List
<
GrabWelfares
>
list
=
JsonUtil
.
parseResponseToListBean
(
response
,
GrabWelfares
.
class
,
"grabWelfares"
);
Boolean
specifyAward
=
list
.
get
(
0
).
getSpecifyAward
();
Boolean
specifyAward
=
list
.
get
(
0
).
getSpecifyAward
();
Assert
.
assertTrue
(
specifyAward
,
network
.
message
(
params
,
BasicConfig
.
MOBILE_getClueDetail
,
"指定中奖为null"
,
response
.
body
().
asString
()));
Assert
.
assertTrue
(
specifyAward
,
network
.
message
(
params
,
BasicConfig
.
MOBILE_getClueDetail
,
"指定中奖为null"
,
response
.
body
().
asString
()));
List
<
Map
<
String
,
Object
>>
evaLists
=
response
.
jsonPath
().
getList
(
"evaluationResources"
);
System
.
out
.
println
(
"evaLists: "
+
evaLists
);
Assert
.
assertEquals
(
evaLists
.
size
(),
1
,
network
.
message
(
params
,
BasicConfig
.
MOBILE_getClueDetail
,
"用户参与测试数量错误"
,
response
.
body
().
asString
()));
String
evaTitle
=
(
String
)
evaLists
.
get
(
0
).
get
(
"resourceTitle"
);
Assert
.
assertEquals
(
evaTitle
,
"编辑后修改标题"
,
network
.
message
(
params
,
BasicConfig
.
MOBILE_getClueDetail
,
"用户参与测试标题错误"
,
response
.
body
().
asString
()));
}
}
...
...
src/test/java/com/kjj/cases/live/anchor/LiveVisitors.java
View file @
e67c0126
...
@@ -33,6 +33,7 @@ public class LiveVisitors implements Authorization
...
@@ -33,6 +33,7 @@ public class LiveVisitors implements Authorization
public
String
id
;
public
String
id
;
public
List
<
ResourcePushList
>
PushList
;
public
List
<
ResourcePushList
>
PushList
;
public
static
String
resourceReceiveRecordId
;
public
static
String
resourceReceiveRecordId
;
public
static
String
freeForEvaReceiveRecordId
;
/*助播端端权益列表*/
/*助播端端权益列表*/
@Test
(
description
=
"助播端权益列表"
,
priority
=
1
)
@Test
(
description
=
"助播端权益列表"
,
priority
=
1
)
...
@@ -192,17 +193,27 @@ public class LiveVisitors implements Authorization
...
@@ -192,17 +193,27 @@ public class LiveVisitors implements Authorization
resourceReceiveRecordId
=
response
.
jsonPath
().
getString
(
"data"
);
resourceReceiveRecordId
=
response
.
jsonPath
().
getString
(
"data"
);
}
}
// @Test(description = "代理人参与测试", priority = 9)
@Test
(
description
=
"代理人参与测试"
,
priority
=
9
)
// public void 代理人参与测试() {
public
void
代理人参与测试
()
{
// agentAuth();
agentAuth
();
//
Map
<
String
,
Object
>
submitPar
=
getEvaSubmitPar
(
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()),
confId_eva
,
LiveMaterial
.
evaluationId
,
LiveMaterial
.
getEvaDetails
(
LiveMaterial
.
evaluationId
).
getQuestions
().
size
(),
1
,
false
,
true
);
// System.out.println(evaDetailRes.body().asString());
Response
submitRes
=
network
.
postResponse
(
submitPar
,
BasicConfig
.
MOBILE_evaluationSubmit
);
// }
try
{
boolean
success
=
submitRes
.
jsonPath
().
getBoolean
(
"success"
);
Assert
.
assertFalse
(
success
,
network
.
message
(
submitPar
,
BasicConfig
.
MOBILE_evaluationSubmit
,
"代理人成功参与测试成功"
,
submitRes
.
body
().
asString
()));
String
desc
=
submitRes
.
jsonPath
().
getString
(
"desc"
);
Assert
.
assertEquals
(
desc
,
"公司员工无法参与"
,
network
.
message
(
submitPar
,
BasicConfig
.
MOBILE_evaluationSubmit
,
"参与失败原因错误"
,
submitRes
.
body
().
asString
()));
}
catch
(
NullPointerException
e
){
e
.
printStackTrace
();
Assert
.
fail
(
network
.
message
(
submitPar
,
BasicConfig
.
MOBILE_evaluationSubmit
,
"获取数据失败"
,
submitRes
.
body
().
asString
()));
}
}
/*访客端参与测试权益*/
/*访客端参与测试权益*/
@Test
(
description
=
"访客端获取测试权益详情"
,
priority
=
10
)
@Test
(
description
=
"访客端获取测试权益详情"
,
priority
=
10
)
public
void
访客端获取测试权益详情
()
{
public
void
访客端获取测试权益详情
()
{
visitorAuth
();
visitorAuth
();
ThreadSleepUtils
.
sleep
(
3000
);
Map
<
String
,
Object
>
evaDetailPar
=
new
HashMap
<>();
Map
<
String
,
Object
>
evaDetailPar
=
new
HashMap
<>();
evaDetailPar
.
put
(
"confId"
,
confId_eva
);
evaDetailPar
.
put
(
"confId"
,
confId_eva
);
evaDetailPar
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()));
evaDetailPar
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()));
...
@@ -276,7 +287,6 @@ public class LiveVisitors implements Authorization
...
@@ -276,7 +287,6 @@ public class LiveVisitors implements Authorization
boolean
success
=
submitRes
.
jsonPath
().
getBoolean
(
"success"
);
boolean
success
=
submitRes
.
jsonPath
().
getBoolean
(
"success"
);
System
.
out
.
println
(
submitRes
.
body
().
asString
());
System
.
out
.
println
(
submitRes
.
body
().
asString
());
Assert
.
assertFalse
(
success
,
network
.
message
(
submitPar
,
BasicConfig
.
MOBILE_evaluationSubmit
,
"提交错误答案成功"
,
submitRes
.
body
().
asString
()));
Assert
.
assertFalse
(
success
,
network
.
message
(
submitPar
,
BasicConfig
.
MOBILE_evaluationSubmit
,
"提交错误答案成功"
,
submitRes
.
body
().
asString
()));
Assert
.
assertEquals
(
submitRes
.
jsonPath
().
getString
(
"desc"
),
"提交参数异常"
,
network
.
message
(
submitPar
,
BasicConfig
.
MOBILE_evaluationSubmit
,
"错误原因不符"
,
submitRes
.
body
().
asString
()));
}
catch
(
Exception
e
){
}
catch
(
Exception
e
){
e
.
printStackTrace
();
e
.
printStackTrace
();
Assert
.
fail
(
network
.
message
(
submitPar
,
BasicConfig
.
MOBILE_evaluationSubmit
,
"获取数据异常"
,
submitRes
.
body
().
asString
()));
Assert
.
fail
(
network
.
message
(
submitPar
,
BasicConfig
.
MOBILE_evaluationSubmit
,
"获取数据异常"
,
submitRes
.
body
().
asString
()));
...
@@ -299,8 +309,9 @@ public class LiveVisitors implements Authorization
...
@@ -299,8 +309,9 @@ public class LiveVisitors implements Authorization
}
}
}
}
@Test
(
description
=
"访客端获取关联测试表单权益详情"
,
priority
=
1
4
)
@Test
(
description
=
"访客端获取关联测试表单权益详情"
,
priority
=
1
6
)
public
void
访客端获取关联测试表单权益详情
()
{
public
void
访客端获取关联测试表单权益详情
()
{
ThreadSleepUtils
.
sleep
(
2000
);
visitorAuth
();
visitorAuth
();
Map
<
String
,
Object
>
params
=
new
HashMap
<>();
Map
<
String
,
Object
>
params
=
new
HashMap
<>();
params
.
put
(
"confId"
,
confId_formWithEva
);
params
.
put
(
"confId"
,
confId_formWithEva
);
...
@@ -310,17 +321,19 @@ public class LiveVisitors implements Authorization
...
@@ -310,17 +321,19 @@ public class LiveVisitors implements Authorization
ResourceForm
agentBeans
=
JsonUtil
.
parseResponseToBean
(
response
,
ResourceForm
.
class
);
ResourceForm
agentBeans
=
JsonUtil
.
parseResponseToBean
(
response
,
ResourceForm
.
class
);
String
evaId
=
agentBeans
.
getEvaluationId
();
String
evaId
=
agentBeans
.
getEvaluationId
();
Assert
.
assertEquals
(
evaId
,
encodeEvaluationId
,
network
.
message
(
params
,
BasicConfig
.
MOBILE_Form
,
"表单权益关联测试ID错误"
,
response
.
body
().
asString
()));
Assert
.
assertEquals
(
evaId
,
encodeEvaluationId
,
network
.
message
(
params
,
BasicConfig
.
MOBILE_Form
,
"表单权益关联测试ID错误"
,
response
.
body
().
asString
()));
boolean
hasSubmit
=
agentBeans
.
isHasSubmitEvaluation
();
Assert
.
assertTrue
(
hasSubmit
,
network
.
message
(
params
,
BasicConfig
.
MOBILE_Form
,
"表单关联测试提交状态错误"
,
response
.
body
().
asString
()));
}
catch
(
Exception
e
){
}
catch
(
Exception
e
){
e
.
printStackTrace
();
e
.
printStackTrace
();
Assert
.
fail
(
network
.
message
(
params
,
BasicConfig
.
MOBILE_Form
,
"获取数据失败"
,
response
.
body
().
asString
()));
Assert
.
fail
(
network
.
message
(
params
,
BasicConfig
.
MOBILE_Form
,
"获取数据失败"
,
response
.
body
().
asString
()));
}
}
}
}
@Test
(
description
=
"访客端获取关联测试免费领权益详情"
,
priority
=
1
5
)
@Test
(
description
=
"访客端获取关联测试免费领权益详情"
,
priority
=
1
7
)
public
void
访客端获取关联测试免费领权益详情
()
{
public
void
访客端获取关联测试免费领权益详情
()
{
visitorAuth
();
visitorAuth
();
Map
<
String
,
Object
>
params
=
new
HashMap
<>();
Map
<
String
,
Object
>
params
=
new
HashMap
<>();
params
.
put
(
"confId"
,
confId_free
);
params
.
put
(
"confId"
,
confId_free
WithEva
);
params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()));
params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()));
Response
response
=
network
.
getResponse
(
params
,
BasicConfig
.
MOBILE_ResourceFindDetailByConfid
);
Response
response
=
network
.
getResponse
(
params
,
BasicConfig
.
MOBILE_ResourceFindDetailByConfid
);
System
.
out
.
println
(
response
.
body
().
asString
());
System
.
out
.
println
(
response
.
body
().
asString
());
...
@@ -328,6 +341,8 @@ public class LiveVisitors implements Authorization
...
@@ -328,6 +341,8 @@ public class LiveVisitors implements Authorization
ResourceFree
agentBeans
=
JsonUtil
.
parseResponseToBean
(
response
,
ResourceFree
.
class
);
ResourceFree
agentBeans
=
JsonUtil
.
parseResponseToBean
(
response
,
ResourceFree
.
class
);
String
evaId
=
agentBeans
.
getEvaluationId
();
String
evaId
=
agentBeans
.
getEvaluationId
();
Assert
.
assertEquals
(
evaId
,
encodeEvaluationId
,
network
.
message
(
params
,
BasicConfig
.
MOBILE_ResourceFindDetailByConfid
,
"免费领权益关联测试ID错误"
,
response
.
body
().
asString
()));
Assert
.
assertEquals
(
evaId
,
encodeEvaluationId
,
network
.
message
(
params
,
BasicConfig
.
MOBILE_ResourceFindDetailByConfid
,
"免费领权益关联测试ID错误"
,
response
.
body
().
asString
()));
boolean
hasSubmit
=
agentBeans
.
isHasSubmitEvaluation
();
Assert
.
assertTrue
(
hasSubmit
,
network
.
message
(
params
,
BasicConfig
.
MOBILE_ResourceFindDetailByConfid
,
"免费领权益关联测试提交状态错误"
,
response
.
body
().
asString
()));
}
catch
(
Exception
e
){
}
catch
(
Exception
e
){
e
.
printStackTrace
();
e
.
printStackTrace
();
Assert
.
fail
(
network
.
message
(
params
,
BasicConfig
.
MOBILE_ResourceFindDetailByConfid
,
"获取数据失败"
,
response
.
body
().
asString
()));
Assert
.
fail
(
network
.
message
(
params
,
BasicConfig
.
MOBILE_ResourceFindDetailByConfid
,
"获取数据失败"
,
response
.
body
().
asString
()));
...
@@ -335,8 +350,21 @@ public class LiveVisitors implements Authorization
...
@@ -335,8 +350,21 @@ public class LiveVisitors implements Authorization
}
}
@Test
(
description
=
"领取关联测试免费领"
,
priority
=
18
)
public
void
领取关联测试免费领
()
{
visitorAuth
();
Map
<
String
,
Object
>
params
=
new
HashMap
<>();
params
.
put
(
"confId"
,
confId_freeWithEva
);
params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()));
Response
response
=
network
.
getResponse
(
params
,
BasicConfig
.
MOBILE_Link
);
boolean
invite
=
response
.
jsonPath
().
getBoolean
(
"success"
);
Assert
.
assertTrue
(
invite
,
network
.
message
(
params
,
BasicConfig
.
MOBILE_Link
,
"领取免费领资料失败"
,
response
.
body
().
asString
()));
freeForEvaReceiveRecordId
=
response
.
jsonPath
().
getString
(
"data"
);
}
/*访客端链接小程序资料-查询*/
/*访客端链接小程序资料-查询*/
@Test
(
description
=
"访客端链接资料查询"
,
priority
=
1
6
)
@Test
(
description
=
"访客端链接资料查询"
,
priority
=
1
9
)
public
void
访客端链接小程序资料查询
()
public
void
访客端链接小程序资料查询
()
{
{
visitorAuth
();
visitorAuth
();
...
@@ -350,7 +378,7 @@ public class LiveVisitors implements Authorization
...
@@ -350,7 +378,7 @@ public class LiveVisitors implements Authorization
}
}
/*访客端链接资料资料-领取*/
/*访客端链接资料资料-领取*/
@Test
(
description
=
"访客端链接资料领取"
,
priority
=
17
)
@Test
(
description
=
"访客端链接资料领取"
,
priority
=
20
)
public
void
访客端链接小程序资料领取
()
public
void
访客端链接小程序资料领取
()
{
{
visitorAuth
();
visitorAuth
();
...
@@ -363,7 +391,7 @@ public class LiveVisitors implements Authorization
...
@@ -363,7 +391,7 @@ public class LiveVisitors implements Authorization
}
}
/*代理人端权益列表查询*/
/*代理人端权益列表查询*/
@Test
(
description
=
"代理人端权益列表查询"
,
priority
=
18
)
@Test
(
description
=
"代理人端权益列表查询"
,
priority
=
21
)
public
void
代理人端权益列表查询
()
public
void
代理人端权益列表查询
()
{
{
agentAuth
();
agentAuth
();
...
@@ -377,7 +405,7 @@ public class LiveVisitors implements Authorization
...
@@ -377,7 +405,7 @@ public class LiveVisitors implements Authorization
}
}
//代理人端图文资料查询
//代理人端图文资料查询
@Test
(
description
=
"代理人端图文资料查询"
,
priority
=
19
)
@Test
(
description
=
"代理人端图文资料查询"
,
priority
=
22
)
public
void
代理人端图文资料查询
()
public
void
代理人端图文资料查询
()
{
{
agentAuth
();
agentAuth
();
...
@@ -391,7 +419,7 @@ public class LiveVisitors implements Authorization
...
@@ -391,7 +419,7 @@ public class LiveVisitors implements Authorization
}
}
//代理人端表单资料查询
//代理人端表单资料查询
@Test
(
description
=
"代理人端表单资料查询"
,
priority
=
2
0
)
@Test
(
description
=
"代理人端表单资料查询"
,
priority
=
2
3
)
public
ResourceForm
代理人端表单资料查询
()
public
ResourceForm
代理人端表单资料查询
()
{
{
agentAuth
();
agentAuth
();
...
@@ -405,7 +433,7 @@ public class LiveVisitors implements Authorization
...
@@ -405,7 +433,7 @@ public class LiveVisitors implements Authorization
}
}
/*代理人端免费领资料-查询*/
/*代理人端免费领资料-查询*/
@Test
(
description
=
"代理人端免费领资料查询"
,
priority
=
2
1
)
@Test
(
description
=
"代理人端免费领资料查询"
,
priority
=
2
4
)
public
void
代理人端免费领资料查询
()
public
void
代理人端免费领资料查询
()
{
{
agentAuth
();
agentAuth
();
...
@@ -419,7 +447,7 @@ public class LiveVisitors implements Authorization
...
@@ -419,7 +447,7 @@ public class LiveVisitors implements Authorization
}
}
//代理人端小程序链接资料查询
//代理人端小程序链接资料查询
@Test
(
description
=
"代理人端小程序链接资料查询"
,
priority
=
2
2
)
@Test
(
description
=
"代理人端小程序链接资料查询"
,
priority
=
2
5
)
public
void
代理人端小程序链接资料查询
()
public
void
代理人端小程序链接资料查询
()
{
{
agentAuth
();
agentAuth
();
...
@@ -433,7 +461,7 @@ public class LiveVisitors implements Authorization
...
@@ -433,7 +461,7 @@ public class LiveVisitors implements Authorization
}
}
//助播端编辑权益
//助播端编辑权益
@Test
(
description
=
"助播端编辑权益"
,
priority
=
2
3
)
@Test
(
description
=
"助播端编辑权益"
,
priority
=
2
6
)
public
void
助播端编辑权益
()
public
void
助播端编辑权益
()
{
{
adminAuth
();
adminAuth
();
...
@@ -446,7 +474,7 @@ public class LiveVisitors implements Authorization
...
@@ -446,7 +474,7 @@ public class LiveVisitors implements Authorization
Assert
.
assertNotNull
(
list
,
network
.
message
(
params
,
BasicConfig
.
MOBILE_ResourceEdit
,
"编辑主播端权益列表失败"
,
response
.
body
().
asString
()));
Assert
.
assertNotNull
(
list
,
network
.
message
(
params
,
BasicConfig
.
MOBILE_ResourceEdit
,
"编辑主播端权益列表失败"
,
response
.
body
().
asString
()));
}
}
@Test
(
description
=
"上架贴片"
,
priority
=
2
4
)
@Test
(
description
=
"上架贴片"
,
priority
=
2
7
)
public
void
上架贴片
()
public
void
上架贴片
()
{
{
adminAuth
();
adminAuth
();
...
@@ -459,7 +487,7 @@ public class LiveVisitors implements Authorization
...
@@ -459,7 +487,7 @@ public class LiveVisitors implements Authorization
Assert
.
assertTrue
(
data
,
network
.
message
(
params
,
BasicConfig
.
MOBILE_pasterOn
,
"贴片上架失败"
,
response
.
body
().
asString
()));
Assert
.
assertTrue
(
data
,
network
.
message
(
params
,
BasicConfig
.
MOBILE_pasterOn
,
"贴片上架失败"
,
response
.
body
().
asString
()));
}
}
@Test
(
description
=
"获取推送列表"
,
priority
=
2
5
)
@Test
(
description
=
"获取推送列表"
,
priority
=
2
8
)
public
void
获取推送列表
()
public
void
获取推送列表
()
{
{
adminAuth
();
adminAuth
();
...
@@ -476,7 +504,7 @@ public class LiveVisitors implements Authorization
...
@@ -476,7 +504,7 @@ public class LiveVisitors implements Authorization
Assert
.
assertTrue
(
isHasConfPaster
,
network
.
message
(
params
,
BasicConfig
.
MOBILE_ResourceList
,
"获取列表失败"
,
response
.
body
().
asString
()));
Assert
.
assertTrue
(
isHasConfPaster
,
network
.
message
(
params
,
BasicConfig
.
MOBILE_ResourceList
,
"获取列表失败"
,
response
.
body
().
asString
()));
}
}
@Test
(
description
=
"访客获取贴片信息"
,
priority
=
2
6
)
@Test
(
description
=
"访客获取贴片信息"
,
priority
=
2
9
)
public
void
访客获取贴片信息
()
public
void
访客获取贴片信息
()
{
{
ThreadSleepUtils
.
sleep
(
1000
);
ThreadSleepUtils
.
sleep
(
1000
);
...
@@ -488,7 +516,7 @@ public class LiveVisitors implements Authorization
...
@@ -488,7 +516,7 @@ public class LiveVisitors implements Authorization
Assert
.
assertNotNull
(
data
,
network
.
message
(
params
,
BasicConfig
.
MOBILE_pasterInfo
,
"访客未获取到贴片信息"
,
response
.
body
().
asString
()));
Assert
.
assertNotNull
(
data
,
network
.
message
(
params
,
BasicConfig
.
MOBILE_pasterInfo
,
"访客未获取到贴片信息"
,
response
.
body
().
asString
()));
}
}
@Test
(
description
=
"贴片下架"
,
priority
=
27
)
@Test
(
description
=
"贴片下架"
,
priority
=
30
)
public
void
贴片下架
()
public
void
贴片下架
()
{
{
adminAuth
();
adminAuth
();
...
@@ -505,7 +533,7 @@ public class LiveVisitors implements Authorization
...
@@ -505,7 +533,7 @@ public class LiveVisitors implements Authorization
* 资料-我要咨询
* 资料-我要咨询
*/
*/
@Test
(
description
=
"资料咨询时客户标记同意"
,
priority
=
28
)
@Test
(
description
=
"资料咨询时客户标记同意"
,
priority
=
31
)
public
void
资料咨询时客户标记同意
()
{
public
void
资料咨询时客户标记同意
()
{
Map
<
String
,
Object
>
Params
=
new
HashMap
<>();
Map
<
String
,
Object
>
Params
=
new
HashMap
<>();
Params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()));
Params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()));
...
@@ -520,7 +548,7 @@ public class LiveVisitors implements Authorization
...
@@ -520,7 +548,7 @@ public class LiveVisitors implements Authorization
}
}
@Test
(
description
=
"获取访客跟进机会同意状态"
,
priority
=
29
)
@Test
(
description
=
"获取访客跟进机会同意状态"
,
priority
=
32
)
public
void
获取访客跟进机会同意状态
()
{
public
void
获取访客跟进机会同意状态
()
{
Map
<
String
,
Object
>
Params
=
new
HashMap
<>();
Map
<
String
,
Object
>
Params
=
new
HashMap
<>();
Params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()));
Params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()));
...
@@ -533,7 +561,7 @@ public class LiveVisitors implements Authorization
...
@@ -533,7 +561,7 @@ public class LiveVisitors implements Authorization
}
}
@Test
(
description
=
"访客端获取直播间实时数据"
,
priority
=
3
0
)
@Test
(
description
=
"访客端获取直播间实时数据"
,
priority
=
3
3
)
public
void
访客端获取直播间实时数据
(){
public
void
访客端获取直播间实时数据
(){
Map
<
String
,
Object
>
clueInfoDataPar
=
new
HashMap
<>();
Map
<
String
,
Object
>
clueInfoDataPar
=
new
HashMap
<>();
clueInfoDataPar
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()));
clueInfoDataPar
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()));
...
...
src/test/java/com/kjj/cases/live/customer/PersonalPage.java
View file @
e67c0126
...
@@ -73,6 +73,16 @@ public class PersonalPage implements Authorization {
...
@@ -73,6 +73,16 @@ public class PersonalPage implements Authorization {
Assert
.
assertEquals
(
sourceRecordId
,
LiveVisitors
.
resourceReceiveRecordId
,
network
.
message
(
params
,
BasicConfig
.
USER_resourceList
,
"资料领取记录id不正确"
,
response
.
body
().
asString
()));
Assert
.
assertEquals
(
sourceRecordId
,
LiveVisitors
.
resourceReceiveRecordId
,
network
.
message
(
params
,
BasicConfig
.
USER_resourceList
,
"资料领取记录id不正确"
,
response
.
body
().
asString
()));
String
liveId
=
resourceList
.
getLiveId
();
String
liveId
=
resourceList
.
getLiveId
();
Assert
.
assertEquals
(
liveId
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()),
network
.
message
(
params
,
BasicConfig
.
USER_resourceList
,
"资料领取直播id不正确"
,
response
.
body
().
asString
()));
Assert
.
assertEquals
(
liveId
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()),
network
.
message
(
params
,
BasicConfig
.
USER_resourceList
,
"资料领取直播id不正确"
,
response
.
body
().
asString
()));
try
{
for
(
ResourceList
resourceList1
:
resourceLists
){
if
(
resourceList1
.
getLiveId
().
equals
(
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()))){
Assert
.
assertNotEquals
(
resourceList1
.
getRecordId
(),
LiveVisitors
.
freeForEvaReceiveRecordId
,
network
.
message
(
params
,
BasicConfig
.
USER_resourceList
,
"关联测试的资料未被过滤"
,
response
.
body
().
asString
()));
}
else
{
break
;}
}
}
catch
(
NullPointerException
e
){
e
.
printStackTrace
();
Assert
.
fail
(
network
.
message
(
params
,
BasicConfig
.
USER_resourceList
,
"获取数据失败"
,
response
.
body
().
asString
()));
}
companyName
=
resourceList
.
getCompanyName
();
// 获取领取资料的公司名称
companyName
=
resourceList
.
getCompanyName
();
// 获取领取资料的公司名称
}
}
...
...
src/test/java/com/kjj/cases/live/liveConfig/EvaluationConf.java
View file @
e67c0126
...
@@ -82,23 +82,23 @@ public class EvaluationConf implements Authorization {
...
@@ -82,23 +82,23 @@ public class EvaluationConf implements Authorization {
System
.
out
.
println
(
response
.
body
().
asString
());
System
.
out
.
println
(
response
.
body
().
asString
());
}
}
@Test
(
description
=
"删除权益"
,
priority
=
2
)
//
@Test(description = "删除权益", priority = 2)
public
void
删除权益
()
{
//
public void 删除权益() {
for
(
int
resourceId
:
Arrays
.
asList
(
LiveMaterial
.
resourceId
,
LiveMaterial
.
termResourceId
,
LiveMaterial
.
freeResourceId
,
LiveMaterial
.
picResourceId
)){
//
for (int resourceId : Arrays.asList(LiveMaterial.resourceId, LiveMaterial.termResourceId, LiveMaterial.freeResourceId, LiveMaterial.picResourceId)){
System
.
out
.
println
(
resourceId
);
//
System.out.println(resourceId);
Map
<
String
,
Object
>
delResourceParam
=
new
HashMap
<>();
//
Map<String, Object> delResourceParam = new HashMap<>();
delResourceParam
.
put
(
"id"
,
resourceId
);
//
delResourceParam.put("id", resourceId);
Response
delResourceRes
=
network
.
postResponse
(
delResourceParam
,
BasicConfig
.
MANAGER_delResource
);
//
Response delResourceRes = network.postResponse(delResourceParam, BasicConfig.MANAGER_delResource);
try
{
//
try {
boolean
data
=
delResourceRes
.
jsonPath
().
getBoolean
(
"data"
);
//
boolean data = delResourceRes.jsonPath().getBoolean("data");
System
.
out
.
println
(
data
);
//
System.out.println(data);
Assert
.
assertTrue
(
data
,
network
.
message
(
delResourceParam
,
BasicConfig
.
MANAGER_delResource
,
"删除权益失败"
,
delResourceRes
.
body
().
asString
()));
//
Assert.assertTrue(data, network.message(delResourceParam, BasicConfig.MANAGER_delResource, "删除权益失败", delResourceRes.body().asString()));
}
catch
(
NullPointerException
e
){
//
}catch (NullPointerException e){
e
.
printStackTrace
();
//
e.printStackTrace();
Assert
.
fail
(
network
.
message
(
delResourceParam
,
BasicConfig
.
MANAGER_delResource
,
"获取数据失败"
,
delResourceRes
.
body
().
asString
()));
//
Assert.fail(network.message(delResourceParam, BasicConfig.MANAGER_delResource, "获取数据失败", delResourceRes.body().asString()));
}
//
}
}
//
}
}
//
}
...
...
src/test/java/com/kjj/cases/live/lottery/Lottery.java
View file @
e67c0126
...
@@ -68,7 +68,7 @@ public class Lottery implements Authorization {
...
@@ -68,7 +68,7 @@ public class Lottery implements Authorization {
Assert
.
assertTrue
(
success
,
network
.
message
(
connectSuccessParam
,
BasicConfig
.
USER_connectSuccess
,
"访客到场请求失败"
,
response
.
body
().
asString
()));
Assert
.
assertTrue
(
success
,
network
.
message
(
connectSuccessParam
,
BasicConfig
.
USER_connectSuccess
,
"访客到场请求失败"
,
response
.
body
().
asString
()));
}
}
/*
@Test
(
description
=
"访客A抽奖查询抽奖活动弹层"
,
priority
=
5
)
@Test
(
description
=
"访客A抽奖查询抽奖活动弹层"
,
priority
=
5
)
public
void
访客
A
抽奖查询抽奖活动弹层
()
{
public
void
访客
A
抽奖查询抽奖活动弹层
()
{
visitorAuth
();
visitorAuth
();
...
@@ -1473,7 +1473,7 @@ public class Lottery implements Authorization {
...
@@ -1473,7 +1473,7 @@ public class Lottery implements Authorization {
throw
e
;
throw
e
;
}
}
}
}
*/
}
}
...
...
src/test/java/com/kjj/cases/live/lotteryCode/LotteryCode.java
View file @
e67c0126
...
@@ -54,7 +54,6 @@ public class LotteryCode implements Authorization {
...
@@ -54,7 +54,6 @@ public class LotteryCode implements Authorization {
Assert
.
assertTrue
(
type
==
3
,
network
.
message
(
tokenParam
,
BasicConfig
.
MOBILE_Token
,
"未获取到绑定结果"
,
tokenRes
.
body
().
asString
()));
Assert
.
assertTrue
(
type
==
3
,
network
.
message
(
tokenParam
,
BasicConfig
.
MOBILE_Token
,
"未获取到绑定结果"
,
tokenRes
.
body
().
asString
()));
}
}
/*
@Test
(
description
=
"访客A获取直播所有的订阅消息模板"
,
priority
=
4
)
@Test
(
description
=
"访客A获取直播所有的订阅消息模板"
,
priority
=
4
)
public
void
访客
A
获取直播所有的订阅消息模板
()
{
public
void
访客
A
获取直播所有的订阅消息模板
()
{
visitorAuth
();
visitorAuth
();
...
@@ -243,7 +242,7 @@ public class LotteryCode implements Authorization {
...
@@ -243,7 +242,7 @@ public class LotteryCode implements Authorization {
System
.
out
.
println
(
type
);
System
.
out
.
println
(
type
);
Assert
.
assertTrue
(
type
==
3
,
network
.
message
(
tokenParam
,
BasicConfig
.
MOBILE_Token
,
"未获取到绑定结果"
,
tokenRes
.
body
().
asString
()));
Assert
.
assertTrue
(
type
==
3
,
network
.
message
(
tokenParam
,
BasicConfig
.
MOBILE_Token
,
"未获取到绑定结果"
,
tokenRes
.
body
().
asString
()));
}
}
*/
}
}
src/test/liveTestNG.xml
View file @
e67c0126
...
@@ -7,39 +7,39 @@
...
@@ -7,39 +7,39 @@
<class
name=
"com.kjj.cases.live.liveConfig.LiveMaterial"
/>
<class
name=
"com.kjj.cases.live.liveConfig.LiveMaterial"
/>
</classes>
</classes>
</test>
</test>
<!-- <test preserve-order="true" name="配置秒杀商品">--
>
<test
preserve-order=
"true"
name=
"配置秒杀商品"
>
<!-- <classes>--
>
<classes
>
<!-- <class name="com.kjj.cases.live.secondKill.ManagerConfGoods"/>--
>
<class
name=
"com.kjj.cases.live.secondKill.ManagerConfGoods"
/
>
<!-- </classes>--
>
</classes
>
<!-- </test>--
>
</test
>
<!-- <test preserve-order="true" name="团队管理">--
>
<test
preserve-order=
"true"
name=
"团队管理"
>
<!-- <classes>--
>
<classes
>
<!-- <class name="com.kjj.cases.live.liveConfig.Team"/>--
>
<class
name=
"com.kjj.cases.live.liveConfig.Team"
/
>
<!-- </classes>--
>
</classes
>
<!-- </test>--
>
</test
>
<!-- <test preserve-order="true" name="精彩视频">--
>
<test
preserve-order=
"true"
name=
"精彩视频"
>
<!-- <classes>--
>
<classes
>
<!-- <class name="com.kjj.cases.live.liveConfig.Video"/>--
>
<class
name=
"com.kjj.cases.live.liveConfig.Video"
/
>
<!-- </classes>--
>
</classes
>
<!-- </test>--
>
</test
>
<test
preserve-order=
"true"
name=
"创建直播"
>
<test
preserve-order=
"true"
name=
"创建直播"
>
<classes>
<classes>
<class
name=
"com.kjj.cases.live.liveConfig.SaveLive"
/>
<class
name=
"com.kjj.cases.live.liveConfig.SaveLive"
/>
</classes>
</classes>
</test>
</test>
<!-- <test preserve-order="true" name="配置秒杀轮次及秒杀预告">--
>
<test
preserve-order=
"true"
name=
"配置秒杀轮次及秒杀预告"
>
<!-- <classes>--
>
<classes
>
<!-- <class name="com.kjj.cases.live.secondKill.ConfSecondKill"/>--
>
<class
name=
"com.kjj.cases.live.secondKill.ConfSecondKill"
/
>
<!-- </classes>--
>
</classes
>
<!-- </test>--
>
</test
>
<!-- <test preserve-order="true" name="成功案例">--
>
<test
preserve-order=
"true"
name=
"成功案例"
>
<!-- <classes>--
>
<classes
>
<!-- <class name="com.kjj.cases.live.liveConfig.LiveCase"/>--
>
<class
name=
"com.kjj.cases.live.liveConfig.LiveCase"
/
>
<!-- </classes>--
>
</classes
>
<!-- </test>--
>
</test
>
<test
preserve-order=
"true"
name=
"资料贴片"
>
<test
preserve-order=
"true"
name=
"资料贴片"
>
<classes>
<classes>
...
@@ -48,17 +48,17 @@
...
@@ -48,17 +48,17 @@
</test>
</test>
<!-- <test preserve-order="true" name="代理人首页">--
>
<test
preserve-order=
"true"
name=
"代理人首页"
>
<!-- <classes>--
>
<classes
>
<!-- <class name="com.kjj.cases.live.agent.Agent"/>--
>
<class
name=
"com.kjj.cases.live.agent.Agent"
/
>
<!-- </classes>--
>
</classes
>
<!-- </test>--
>
</test
>
<!-- <test preserve-order="true" name="小程序分享">--
>
<test
preserve-order=
"true"
name=
"小程序分享"
>
<!-- <classes>--
>
<classes
>
<!-- <class name="com.kjj.cases.live.liveConfig.Share"/>--
>
<class
name=
"com.kjj.cases.live.liveConfig.Share"
/
>
<!-- </classes>--
>
</classes
>
<!-- </test>--
>
</test
>
<test
preserve-order=
"true"
name=
"获取抽奖码校验"
>
<test
preserve-order=
"true"
name=
"获取抽奖码校验"
>
<classes>
<classes>
...
@@ -66,38 +66,38 @@
...
@@ -66,38 +66,38 @@
</classes>
</classes>
</test>
</test>
<!-- <test preserve-order="false" name="预告页">--
>
<test
preserve-order=
"false"
name=
"预告页"
>
<!-- <classes>--
>
<classes
>
<!-- <class name="com.kjj.cases.live.preview.Preview"/>--
>
<class
name=
"com.kjj.cases.live.preview.Preview"
/
>
<!-- </classes>--
>
</classes
>
<!-- </test>--
>
</test
>
<!-- <test preserve-order="false" name="翻牌集字红包">--
>
<test
preserve-order=
"false"
name=
"翻牌集字红包"
>
<!-- <classes>--
>
<classes
>
<!-- <class name="com.kjj.cases.live.flipCard.FlipCard"/>--
>
<class
name=
"com.kjj.cases.live.flipCard.FlipCard"
/
>
<!-- </classes>--
>
</classes
>
<!-- </test>--
>
</test
>
<!-- <test preserve-order="true" name="中奖规则配置">--
>
<test
preserve-order=
"true"
name=
"中奖规则配置"
>
<!-- <classes>--
>
<classes
>
<!-- <class name="com.kjj.cases.live.liveConfig.WinningRules"/>--
>
<class
name=
"com.kjj.cases.live.liveConfig.WinningRules"
/
>
<!-- </classes>--
>
</classes
>
<!-- </test>--
>
</test
>
<!-- <test preserve-order="true" name="指定中奖">--
>
<test
preserve-order=
"true"
name=
"指定中奖"
>
<!-- <classes>--
>
<classes
>
<!-- <class name="com.kjj.cases.live.lottery.DesignatedWinner"/>--
>
<class
name=
"com.kjj.cases.live.lottery.DesignatedWinner"
/
>
<!-- </classes>--
>
</classes
>
<!-- </test>--
>
</test
>
<!-- <test preserve-order="true" name="亲友券">--
>
<test
preserve-order=
"true"
name=
"亲友券"
>
<!-- <classes>--
>
<classes
>
<!-- <class name="com.kjj.cases.live.lottery.RelativeLottery"/>--
>
<class
name=
"com.kjj.cases.live.lottery.RelativeLottery"
/
>
<!-- </classes>--
>
</classes
>
<!-- </test>--
>
</test
>
<!-- <test preserve-order="true" name="直播前-我的客户页">--
>
<test
preserve-order=
"true"
name=
"直播前-我的客户页"
>
<!-- <classes>--
>
<classes
>
<!-- <class name="com.kjj.cases.live.agent.LiveBefore"/>--
>
<class
name=
"com.kjj.cases.live.agent.LiveBefore"
/
>
<!-- </classes>--
>
</classes
>
<!-- </test>--
>
</test
>
<test
preserve-order=
"true"
name=
"助播-开启直播"
>
<test
preserve-order=
"true"
name=
"助播-开启直播"
>
...
@@ -111,51 +111,51 @@
...
@@ -111,51 +111,51 @@
</classes>
</classes>
</test>
</test>
<!-- <test preserve-order="true" name="访客签到">--
>
<test
preserve-order=
"true"
name=
"访客签到"
>
<!-- <classes>--
>
<classes
>
<!-- <class name="com.kjj.cases.live.lotteryCode.SignIn"/>--
>
<class
name=
"com.kjj.cases.live.lotteryCode.SignIn"
/
>
<!-- </classes>--
>
</classes
>
<!-- </test>--
>
</test
>
<!-- <test preserve-order="true" name="宝箱裂变">--
>
<test
preserve-order=
"true"
name=
"宝箱裂变"
>
<!-- <classes>--
>
<classes
>
<!-- <class name="com.kjj.cases.live.treasure.Treasure"/>--
>
<class
name=
"com.kjj.cases.live.treasure.Treasure"
/
>
<!-- </classes>--
>
</classes
>
<!-- </test>--
>
</test
>
<test
preserve-order=
"true"
name=
"直播中抽奖"
>
<test
preserve-order=
"true"
name=
"直播中抽奖"
>
<classes>
<classes>
<class
name=
"com.kjj.cases.live.lottery.Lottery"
/>
<class
name=
"com.kjj.cases.live.lottery.Lottery"
/>
</classes>
</classes>
</test>
</test>
<!-- <test preserve-order="true" name="秒杀互动">--
>
<test
preserve-order=
"true"
name=
"秒杀互动"
>
<!-- <classes>--
>
<classes
>
<!-- <class name="com.kjj.cases.live.secondKill.SecondKill"/>--
>
<class
name=
"com.kjj.cases.live.secondKill.SecondKill"
/
>
<!-- </classes>--
>
</classes
>
<!-- </test>--
>
</test
>
<!-- <test preserve-order="true" name="猜数字红包">--
>
<test
preserve-order=
"true"
name=
"猜数字红包"
>
<!-- <classes>--
>
<classes
>
<!-- <class name="com.kjj.cases.live.guess.LiveGuess"/>--
>
<class
name=
"com.kjj.cases.live.guess.LiveGuess"
/
>
<!-- </classes>--
>
</classes
>
<!-- </test>--
>
</test
>
<!-- <test preserve-order="true" name="看直播攒现金">--
>
<test
preserve-order=
"true"
name=
"看直播攒现金"
>
<!-- <classes>--
>
<classes
>
<!-- <class name="com.kjj.cases.live.treasure.TimeRed"/>--
>
<class
name=
"com.kjj.cases.live.treasure.TimeRed"
/
>
<!-- </classes>--
>
</classes
>
<!-- </test>--
>
</test
>
<!-- <test preserve-order="true" name="免费领福利">--
>
<test
preserve-order=
"true"
name=
"免费领福利"
>
<!-- <classes>--
>
<classes
>
<!-- <class name="com.kjj.cases.live.FreeReward.FreeReward"/>--
>
<class
name=
"com.kjj.cases.live.FreeReward.FreeReward"
/
>
<!-- </classes>--
>
</classes
>
<!-- </test>--
>
</test
>
<!-- <test preserve-order="true" name="我要咨询">--
>
<test
preserve-order=
"true"
name=
"我要咨询"
>
<!-- <classes>--
>
<classes
>
<!-- <class name="com.kjj.cases.live.agent.Potential"/>--
>
<class
name=
"com.kjj.cases.live.agent.Potential"
/
>
<!-- </classes>--
>
</classes
>
<!-- </test>--
>
</test
>
<test
preserve-order=
"true"
name=
"访客领取资料"
>
<test
preserve-order=
"true"
name=
"访客领取资料"
>
<classes>
<classes>
...
@@ -163,47 +163,47 @@
...
@@ -163,47 +163,47 @@
</classes>
</classes>
</test>
</test>
<!-- <test preserve-order="true" name="红包领取">--
>
<test
preserve-order=
"true"
name=
"红包领取"
>
<!-- <classes>--
>
<classes
>
<!-- <class name="com.kjj.cases.live.red.LiveVistorRed"/>--
>
<class
name=
"com.kjj.cases.live.red.LiveVistorRed"
/
>
<!-- </classes>--
>
</classes
>
<!-- </test>--
>
</test
>
<!-- <test preserve-order="true" name="有奖答题">--
>
<test
preserve-order=
"true"
name=
"有奖答题"
>
<!-- <classes>--
>
<classes
>
<!-- <class name="com.kjj.cases.live.answer.Answer"/>--
>
<class
name=
"com.kjj.cases.live.answer.Answer"
/
>
<!-- </classes>--
>
</classes
>
<!-- </test>--
>
</test
>
<!-- <test preserve-order="true" name="投票">--
>
<test
preserve-order=
"true"
name=
"投票"
>
<!-- <classes>--
>
<classes
>
<!-- <class name="com.kjj.cases.live.choice.Choice"/>--
>
<class
name=
"com.kjj.cases.live.choice.Choice"
/
>
<!-- </classes>--
>
</classes
>
<!-- </test>--
>
</test
>
<!-- <test preserve-order="true" name="问题">--
>
<test
preserve-order=
"true"
name=
"问题"
>
<!-- <classes>--
>
<classes
>
<!-- <class name="com.kjj.cases.live.question.Question"/>--
>
<class
name=
"com.kjj.cases.live.question.Question"
/
>
<!-- </classes>--
>
</classes
>
<!-- </test>--
>
</test
>
<!-- <test preserve-order="true" name="直播中时长宝箱">--
>
<test
preserve-order=
"true"
name=
"直播中时长宝箱"
>
<!-- <classes>--
>
<classes
>
<!-- <class name="com.kjj.cases.live.treasure.TreasureTime"/>--
>
<class
name=
"com.kjj.cases.live.treasure.TreasureTime"
/
>
<!-- </classes>--
>
</classes
>
<!-- </test>--
>
</test
>
<!-- <test preserve-order="true" name="闯关答题">--
>
<test
preserve-order=
"true"
name=
"闯关答题"
>
<!-- <classes>--
>
<classes
>
<!-- <class name="com.kjj.cases.live.answer.passQues"/>--
>
<class
name=
"com.kjj.cases.live.answer.passQues"
/
>
<!-- </classes>--
>
</classes
>
<!-- </test>--
>
</test
>
<!-- <test preserve-order="true" name="直播中获取线索统计">--
>
<test
preserve-order=
"true"
name=
"直播中获取线索统计"
>
<!-- <classes>--
>
<classes
>
<!-- <class name="com.kjj.cases.live.agent.LiveAgent"/>--
>
<class
name=
"com.kjj.cases.live.agent.LiveAgent"
/
>
<!-- </classes>--
>
</classes
>
<!-- </test>--
>
</test
>
<test
preserve-order=
"true"
name=
"助播-结束直播"
>
<test
preserve-order=
"true"
name=
"助播-结束直播"
>
<classes>
<classes>
...
@@ -211,40 +211,40 @@
...
@@ -211,40 +211,40 @@
</classes>
</classes>
</test>
</test>
<!-- <test preserve-order="true" name="直播结束-我的客户页">--
>
<test
preserve-order=
"true"
name=
"直播结束-我的客户页"
>
<!-- <classes>--
>
<classes
>
<!-- <class name="com.kjj.cases.live.agent.LiveLater"/>--
>
<class
name=
"com.kjj.cases.live.agent.LiveLater"
/
>
<!-- </classes>--
>
</classes
>
<!-- </test>--
>
</test
>
<!-- <test preserve-order="true" name="奖品发放配置">--
>
<test
preserve-order=
"true"
name=
"奖品发放配置"
>
<!-- <classes>--
>
<classes
>
<!-- <class name="com.kjj.cases.live.agent.Reward"/>--
>
<class
name=
"com.kjj.cases.live.agent.Reward"
/
>
<!-- </classes>--
>
</classes
>
<!-- </test>--
>
</test
>
<!-- <test preserve-order="true" name="指定中奖付款码">--
>
<test
preserve-order=
"true"
name=
"指定中奖付款码"
>
<!-- <classes>--
>
<classes
>
<!-- <class name="com.kjj.cases.live.liveConfig.spec"/>--
>
<class
name=
"com.kjj.cases.live.liveConfig.spec"
/
>
<!-- </classes>--
>
</classes
>
<!-- </test>--
>
</test
>
<!-- <test preserve-order="true" name="客户管理">--
>
<test
preserve-order=
"true"
name=
"客户管理"
>
<!-- <classes>--
>
<classes
>
<!-- <class name="com.kjj.cases.live.agent.Customer"/>--
>
<class
name=
"com.kjj.cases.live.agent.Customer"
/
>
<!-- </classes>--
>
</classes
>
<!-- </test>--
>
</test
>
<!-- <test preserve-order="true" name="访客端直播结束页">--
>
<test
preserve-order=
"true"
name=
"访客端直播结束页"
>
<!-- <classes>--
>
<classes
>
<!-- <class name="com.kjj.cases.live.customer.AfterLive" />--
>
<class
name=
"com.kjj.cases.live.customer.AfterLive"
/
>
<!-- </classes>--
>
</classes
>
<!-- </test>--
>
</test
>
<!-- <test preserve-order="true" name="访客端个人主页">--
>
<test
preserve-order=
"true"
name=
"访客端个人主页"
>
<!-- <classes>--
>
<classes
>
<!-- <class name="com.kjj.cases.live.customer.PersonalPage" />--
>
<class
name=
"com.kjj.cases.live.customer.PersonalPage"
/
>
<!-- </classes>--
>
</classes
>
<!-- </test>--
>
</test
>
</suite>
</suite>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment