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
f2a7b003
Commit
f2a7b003
authored
Jul 29, 2021
by
张艳玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增授权弹窗+准客户管理后台接口
parent
bcaca2bf
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
483 additions
and
222 deletions
+483
-222
SaveLive.java
src/test/java/com/kjj/cases/live/liveConfig/SaveLive.java
+276
-2
BasicConfig.java
src/test/java/com/kjj/config/BasicConfig.java
+11
-3
ExtentTestNGIReporterListener.java
...st/java/com/kjj/config/ExtentTestNGIReporterListener.java
+1
-7
NetworkUtils.java
src/test/java/com/kjj/utils/NetworkUtils.java
+1
-16
liveTestNG.xml
src/test/liveTestNG.xml
+194
-194
No files found.
src/test/java/com/kjj/cases/live/liveConfig/SaveLive.java
View file @
f2a7b003
...
@@ -2080,7 +2080,6 @@ public class SaveLive implements Authorization {
...
@@ -2080,7 +2080,6 @@ public class SaveLive implements Authorization {
boolean
preLayerConfStatus
=
response
.
jsonPath
().
getBoolean
(
"data.preLayerConfStatus"
);
boolean
preLayerConfStatus
=
response
.
jsonPath
().
getBoolean
(
"data.preLayerConfStatus"
);
System
.
out
.
println
(
preLayerConfStatus
);
System
.
out
.
println
(
preLayerConfStatus
);
Assert
.
assertTrue
(
preLayerConfStatus
,
network
.
message
(
Params
,
BasicConfig
.
MANAGER_getConfDetail
,
"未配置预告页弹窗"
,
response
.
body
().
asString
()));
Assert
.
assertTrue
(
preLayerConfStatus
,
network
.
message
(
Params
,
BasicConfig
.
MANAGER_getConfDetail
,
"未配置预告页弹窗"
,
response
.
body
().
asString
()));
boolean
preLayerOpenStatus
=
response
.
jsonPath
().
getBoolean
(
"data.preLayerOpenStatus"
);
boolean
preLayerOpenStatus
=
response
.
jsonPath
().
getBoolean
(
"data.preLayerOpenStatus"
);
System
.
out
.
println
(
preLayerOpenStatus
);
System
.
out
.
println
(
preLayerOpenStatus
);
Assert
.
assertTrue
(
preLayerOpenStatus
,
network
.
message
(
Params
,
BasicConfig
.
MANAGER_getConfDetail
,
"未开启预告页弹窗"
,
response
.
body
().
asString
()));
Assert
.
assertTrue
(
preLayerOpenStatus
,
network
.
message
(
Params
,
BasicConfig
.
MANAGER_getConfDetail
,
"未开启预告页弹窗"
,
response
.
body
().
asString
()));
...
@@ -2088,9 +2087,284 @@ public class SaveLive implements Authorization {
...
@@ -2088,9 +2087,284 @@ public class SaveLive implements Authorization {
}
}
/**
* 授权弹窗
*/
@Test
(
description
=
"查看授权弹窗配置状态"
,
priority
=
113
)
public
void
查看授权弹窗配置状态
()
{
Map
<
String
,
Object
>
Params
=
new
HashMap
<>();
Params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
LIVE_ID
.
getKey
()));
Response
response
=
network
.
getResponse
(
Params
,
BasicConfig
.
MANAGER_getConfDetail
);
boolean
hasConfAuthPopup
=
response
.
jsonPath
().
getBoolean
(
"data.hasConfAuthPopup"
);
System
.
out
.
println
(
hasConfAuthPopup
);
Assert
.
assertTrue
(
hasConfAuthPopup
,
network
.
message
(
Params
,
BasicConfig
.
MANAGER_getConfDetail
,
"未配置预告页弹窗"
,
response
.
body
().
asString
()));
}
@Test
(
description
=
"授权弹窗配置_直播抽奖"
,
priority
=
114
)
public
void
授权弹窗配置
_
直播抽奖
()
{
//新增弹窗
Map
<
String
,
Object
>
Params
=
new
HashMap
<>();
Params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
LIVE_ID
.
getKey
()));
Params
.
put
(
"popupScene"
,
1
);
Params
.
put
(
"phoneImg"
,
"https://yun.dui88.com/kjy/image/20210729/1627545956366.png"
);
Response
response
=
network
.
postResponse
(
Params
,
BasicConfig
.
MANAGER_popupSave
);
boolean
data
=
response
.
jsonPath
().
getBoolean
(
"data"
);
System
.
out
.
println
(
data
);
Assert
.
assertTrue
(
data
,
network
.
message
(
Params
,
BasicConfig
.
MANAGER_popupSave
,
"直播抽奖授权弹窗新增失败"
,
response
.
body
().
asString
()));
}
//查询配置详情
Params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
LIVE_ID
.
getKey
()));
Params
.
put
(
"popupScene"
,
1
);
response
=
network
.
getResponse
(
Params
,
BasicConfig
.
MANAGER_popupDetail
);
int
id
=
response
.
jsonPath
().
getInt
(
"data.id"
);
System
.
out
.
println
(
response
.
body
().
asString
());
Assert
.
assertNotNull
(
id
,
network
.
message
(
Params
,
BasicConfig
.
MANAGER_popupDetail
,
"直播抽奖授权弹窗ID查询为null"
,
response
.
body
().
asString
()));
//修改配置
Params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
LIVE_ID
.
getKey
()));
Params
.
put
(
"popupScene"
,
1
);
Params
.
put
(
"id"
,
id
);
Params
.
put
(
"phoneImg"
,
"https://yun.dui88.com/kjy/image/20210729/1627545956366.png"
);
response
=
network
.
postResponse
(
Params
,
BasicConfig
.
MANAGER_popupUpdate
);
boolean
data1
=
response
.
jsonPath
().
getBoolean
(
"data"
);
System
.
out
.
println
(
data1
);
Assert
.
assertTrue
(
data1
,
network
.
message
(
Params
,
BasicConfig
.
MANAGER_popupUpdate
,
"直播抽奖授权弹窗修改失败"
,
response
.
body
().
asString
()));
}
@Test
(
description
=
"授权弹窗配置_裂变宝箱"
,
priority
=
115
)
public
void
授权弹窗配置
_
裂变宝箱
()
{
//新增弹窗
Map
<
String
,
Object
>
Params
=
new
HashMap
<>();
Params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
LIVE_ID
.
getKey
()));
Params
.
put
(
"popupScene"
,
2
);
Params
.
put
(
"phoneImg"
,
"https://yun.dui88.com/kjy/image/20210729/1627547133623.png"
);
Response
response
=
network
.
postResponse
(
Params
,
BasicConfig
.
MANAGER_popupSave
);
boolean
data
=
response
.
jsonPath
().
getBoolean
(
"data"
);
System
.
out
.
println
(
data
);
Assert
.
assertTrue
(
data
,
network
.
message
(
Params
,
BasicConfig
.
MANAGER_popupSave
,
"裂变宝箱授权弹窗新增失败"
,
response
.
body
().
asString
()));
//查询配置详情
Params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
LIVE_ID
.
getKey
()));
Params
.
put
(
"popupScene"
,
2
);
response
=
network
.
getResponse
(
Params
,
BasicConfig
.
MANAGER_popupDetail
);
int
id
=
response
.
jsonPath
().
getInt
(
"data.id"
);
System
.
out
.
println
(
response
.
body
().
asString
());
Assert
.
assertNotNull
(
id
,
network
.
message
(
Params
,
BasicConfig
.
MANAGER_popupDetail
,
"裂变宝箱授权弹窗ID查询为null"
,
response
.
body
().
asString
()));
//修改配置
Params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
LIVE_ID
.
getKey
()));
Params
.
put
(
"popupScene"
,
2
);
Params
.
put
(
"id"
,
id
);
Params
.
put
(
"phoneImg"
,
"https://yun.dui88.com/kjy/image/20210729/1627547133623.png"
);
response
=
network
.
postResponse
(
Params
,
BasicConfig
.
MANAGER_popupUpdate
);
boolean
data1
=
response
.
jsonPath
().
getBoolean
(
"data"
);
System
.
out
.
println
(
data1
);
Assert
.
assertTrue
(
data1
,
network
.
message
(
Params
,
BasicConfig
.
MANAGER_popupUpdate
,
"裂变宝箱授权弹窗修改失败"
,
response
.
body
().
asString
()));
}
@Test
(
description
=
"授权弹窗配置_翻牌集字"
,
priority
=
116
)
public
void
授权弹窗配置
_
翻牌集字
()
{
//新增弹窗
Map
<
String
,
Object
>
Params
=
new
HashMap
<>();
Params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
LIVE_ID
.
getKey
()));
Params
.
put
(
"popupScene"
,
3
);
Params
.
put
(
"phoneImg"
,
"https://yun.dui88.com/kjy/image/20210729/1627547271114.png"
);
Response
response
=
network
.
postResponse
(
Params
,
BasicConfig
.
MANAGER_popupSave
);
boolean
data
=
response
.
jsonPath
().
getBoolean
(
"data"
);
System
.
out
.
println
(
data
);
Assert
.
assertTrue
(
data
,
network
.
message
(
Params
,
BasicConfig
.
MANAGER_popupSave
,
"翻牌集字授权弹窗新增失败"
,
response
.
body
().
asString
()));
//查询配置详情
Params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
LIVE_ID
.
getKey
()));
Params
.
put
(
"popupScene"
,
3
);
response
=
network
.
getResponse
(
Params
,
BasicConfig
.
MANAGER_popupDetail
);
int
id
=
response
.
jsonPath
().
getInt
(
"data.id"
);
System
.
out
.
println
(
response
.
body
().
asString
());
Assert
.
assertNotNull
(
id
,
network
.
message
(
Params
,
BasicConfig
.
MANAGER_popupDetail
,
"翻牌集字授权弹窗ID查询为null"
,
response
.
body
().
asString
()));
//修改配置
Params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
LIVE_ID
.
getKey
()));
Params
.
put
(
"popupScene"
,
3
);
Params
.
put
(
"id"
,
id
);
Params
.
put
(
"phoneImg"
,
"https://yun.dui88.com/kjy/image/20210729/1627547271114.png"
);
response
=
network
.
postResponse
(
Params
,
BasicConfig
.
MANAGER_popupUpdate
);
boolean
data1
=
response
.
jsonPath
().
getBoolean
(
"data"
);
System
.
out
.
println
(
data1
);
Assert
.
assertTrue
(
data1
,
network
.
message
(
Params
,
BasicConfig
.
MANAGER_popupUpdate
,
"翻牌集字授权弹窗修改失败"
,
response
.
body
().
asString
()));
}
@Test
(
description
=
"授权弹窗配置_手气王红包"
,
priority
=
117
)
public
void
授权弹窗配置
_
手气王红包
()
{
//新增弹窗
Map
<
String
,
Object
>
Params
=
new
HashMap
<>();
Params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
LIVE_ID
.
getKey
()));
Params
.
put
(
"popupScene"
,
4
);
Params
.
put
(
"phoneImg"
,
"https://yun.dui88.com/kjy/image/20210729/1627547406299.png"
);
Response
response
=
network
.
postResponse
(
Params
,
BasicConfig
.
MANAGER_popupSave
);
boolean
data
=
response
.
jsonPath
().
getBoolean
(
"data"
);
System
.
out
.
println
(
data
);
Assert
.
assertTrue
(
data
,
network
.
message
(
Params
,
BasicConfig
.
MANAGER_popupSave
,
"手气王授权弹窗新增失败"
,
response
.
body
().
asString
()));
//查询配置详情
Params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
LIVE_ID
.
getKey
()));
Params
.
put
(
"popupScene"
,
4
);
response
=
network
.
getResponse
(
Params
,
BasicConfig
.
MANAGER_popupDetail
);
int
id
=
response
.
jsonPath
().
getInt
(
"data.id"
);
System
.
out
.
println
(
response
.
body
().
asString
());
Assert
.
assertNotNull
(
id
,
network
.
message
(
Params
,
BasicConfig
.
MANAGER_popupDetail
,
"手气王授权弹窗ID查询为null"
,
response
.
body
().
asString
()));
//修改配置
Params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
LIVE_ID
.
getKey
()));
Params
.
put
(
"popupScene"
,
4
);
Params
.
put
(
"id"
,
id
);
Params
.
put
(
"phoneImg"
,
"https://yun.dui88.com/kjy/image/20210729/1627547406299.png"
);
response
=
network
.
postResponse
(
Params
,
BasicConfig
.
MANAGER_popupUpdate
);
boolean
data1
=
response
.
jsonPath
().
getBoolean
(
"data"
);
System
.
out
.
println
(
data1
);
Assert
.
assertTrue
(
data1
,
network
.
message
(
Params
,
BasicConfig
.
MANAGER_popupUpdate
,
"手气王授权弹窗修改失败"
,
response
.
body
().
asString
()));
}
@Test
(
description
=
"授权弹窗配置_猜数字红包"
,
priority
=
118
)
public
void
授权弹窗配置
_
猜数字红包
()
{
//新增弹窗
Map
<
String
,
Object
>
Params
=
new
HashMap
<>();
Params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
LIVE_ID
.
getKey
()));
Params
.
put
(
"popupScene"
,
5
);
Params
.
put
(
"phoneImg"
,
"https://yun.dui88.com/kjy/image/20210729/1627547406299.png"
);
Response
response
=
network
.
postResponse
(
Params
,
BasicConfig
.
MANAGER_popupSave
);
boolean
data
=
response
.
jsonPath
().
getBoolean
(
"data"
);
System
.
out
.
println
(
data
);
Assert
.
assertTrue
(
data
,
network
.
message
(
Params
,
BasicConfig
.
MANAGER_popupSave
,
"猜数红包授权弹窗新增失败"
,
response
.
body
().
asString
()));
//查询配置详情
Params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
LIVE_ID
.
getKey
()));
Params
.
put
(
"popupScene"
,
5
);
response
=
network
.
getResponse
(
Params
,
BasicConfig
.
MANAGER_popupDetail
);
int
id
=
response
.
jsonPath
().
getInt
(
"data.id"
);
System
.
out
.
println
(
response
.
body
().
asString
());
Assert
.
assertNotNull
(
id
,
network
.
message
(
Params
,
BasicConfig
.
MANAGER_popupDetail
,
"猜数红包授权弹窗ID查询为null"
,
response
.
body
().
asString
()));
//修改配置
Params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
LIVE_ID
.
getKey
()));
Params
.
put
(
"popupScene"
,
5
);
Params
.
put
(
"id"
,
id
);
Params
.
put
(
"phoneImg"
,
"https://yun.dui88.com/kjy/image/20210729/1627547406299.png"
);
response
=
network
.
postResponse
(
Params
,
BasicConfig
.
MANAGER_popupUpdate
);
boolean
data1
=
response
.
jsonPath
().
getBoolean
(
"data"
);
System
.
out
.
println
(
data1
);
Assert
.
assertTrue
(
data1
,
network
.
message
(
Params
,
BasicConfig
.
MANAGER_popupUpdate
,
"猜数红包授权弹窗修改失败"
,
response
.
body
().
asString
()));
}
@Test
(
description
=
"授权弹窗配置_好运红包"
,
priority
=
119
)
public
void
授权弹窗配置
_
好运红包
()
{
//新增弹窗
Map
<
String
,
Object
>
Params
=
new
HashMap
<>();
Params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
LIVE_ID
.
getKey
()));
Params
.
put
(
"popupScene"
,
6
);
Params
.
put
(
"helpImg"
,
"https://yun.dui88.com/kjy/image/20210729/1627547595585.png"
);
Params
.
put
(
"phoneImg"
,
"https://yun.dui88.com/kjy/image/20210729/1627547600293.png"
);
Response
response
=
network
.
postResponse
(
Params
,
BasicConfig
.
MANAGER_popupSave
);
boolean
data
=
response
.
jsonPath
().
getBoolean
(
"data"
);
System
.
out
.
println
(
data
);
Assert
.
assertTrue
(
data
,
network
.
message
(
Params
,
BasicConfig
.
MANAGER_popupSave
,
"好运红包授权弹窗新增失败"
,
response
.
body
().
asString
()));
//查询配置详情
Params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
LIVE_ID
.
getKey
()));
Params
.
put
(
"popupScene"
,
6
);
response
=
network
.
getResponse
(
Params
,
BasicConfig
.
MANAGER_popupDetail
);
int
id
=
response
.
jsonPath
().
getInt
(
"data.id"
);
System
.
out
.
println
(
response
.
body
().
asString
());
Assert
.
assertNotNull
(
id
,
network
.
message
(
Params
,
BasicConfig
.
MANAGER_popupDetail
,
"好运红包授权弹窗ID查询为null"
,
response
.
body
().
asString
()));
//修改配置
Params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
LIVE_ID
.
getKey
()));
Params
.
put
(
"popupScene"
,
6
);
Params
.
put
(
"id"
,
id
);
Params
.
put
(
"helpImg"
,
"https://yun.dui88.com/kjy/image/20210729/1627547595585.png"
);
Params
.
put
(
"phoneImg"
,
"https://yun.dui88.com/kjy/image/20210729/1627547600293.png"
);
response
=
network
.
postResponse
(
Params
,
BasicConfig
.
MANAGER_popupUpdate
);
boolean
data1
=
response
.
jsonPath
().
getBoolean
(
"data"
);
System
.
out
.
println
(
data1
);
Assert
.
assertTrue
(
data1
,
network
.
message
(
Params
,
BasicConfig
.
MANAGER_popupUpdate
,
"好运红包授权弹窗修改失败"
,
response
.
body
().
asString
()));
}
@Test
(
description
=
"授权弹窗配置_闯关答题"
,
priority
=
120
)
public
void
授权弹窗配置
_
闯关答题
()
{
//新增弹窗
Map
<
String
,
Object
>
Params
=
new
HashMap
<>();
Params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
LIVE_ID
.
getKey
()));
Params
.
put
(
"popupScene"
,
7
);
Params
.
put
(
"helpImg"
,
"https://yun.dui88.com/kjy/image/20210729/1627547737805.png"
);
Params
.
put
(
"phoneImg"
,
"https://yun.dui88.com/kjy/image/20210729/1627547742368.png"
);
Response
response
=
network
.
postResponse
(
Params
,
BasicConfig
.
MANAGER_popupSave
);
boolean
data
=
response
.
jsonPath
().
getBoolean
(
"data"
);
System
.
out
.
println
(
data
);
Assert
.
assertTrue
(
data
,
network
.
message
(
Params
,
BasicConfig
.
MANAGER_popupSave
,
"闯关答题授权弹窗新增失败"
,
response
.
body
().
asString
()));
//查询配置详情
Params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
LIVE_ID
.
getKey
()));
Params
.
put
(
"popupScene"
,
7
);
response
=
network
.
getResponse
(
Params
,
BasicConfig
.
MANAGER_popupDetail
);
int
id
=
response
.
jsonPath
().
getInt
(
"data.id"
);
System
.
out
.
println
(
response
.
body
().
asString
());
Assert
.
assertNotNull
(
id
,
network
.
message
(
Params
,
BasicConfig
.
MANAGER_popupDetail
,
"闯关答题授权弹窗ID查询为null"
,
response
.
body
().
asString
()));
//修改配置
Params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
LIVE_ID
.
getKey
()));
Params
.
put
(
"popupScene"
,
7
);
Params
.
put
(
"id"
,
id
);
Params
.
put
(
"helpImg"
,
"https://yun.dui88.com/kjy/image/20210729/1627547737805.png"
);
Params
.
put
(
"phoneImg"
,
"https://yun.dui88.com/kjy/image/20210729/1627547742368.png"
);
response
=
network
.
postResponse
(
Params
,
BasicConfig
.
MANAGER_popupUpdate
);
boolean
data1
=
response
.
jsonPath
().
getBoolean
(
"data"
);
System
.
out
.
println
(
data1
);
Assert
.
assertTrue
(
data1
,
network
.
message
(
Params
,
BasicConfig
.
MANAGER_popupUpdate
,
"闯关答题弹窗修改失败"
,
response
.
body
().
asString
()));
}
/**
* 准客户
*/
@Test
(
description
=
"问题配置"
,
priority
=
121
)
public
void
问题配置
()
{
//新增问题配置
Map
<
String
,
Object
>
Params
=
new
HashMap
<>();
Params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
LIVE_ID
.
getKey
()));
Params
.
put
(
"quesList"
,
Arrays
.
asList
(
"咨询问题一"
,
"咨询问题二"
,
"咨询问题三"
));
Response
response
=
network
.
postResponse
(
Params
,
BasicConfig
.
MANAGER_potentialSaveQues
);
boolean
data
=
response
.
jsonPath
().
getBoolean
(
"data"
);
System
.
out
.
println
(
data
);
Assert
.
assertTrue
(
data
,
network
.
message
(
Params
,
BasicConfig
.
MANAGER_potentialSaveQues
,
"未配置咨询问题"
,
response
.
body
().
asString
()));
//查询问题列表
Params
.
put
(
"liveId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
LIVE_ID
.
getKey
()));
response
=
network
.
getResponse
(
Params
,
BasicConfig
.
MANAGER_potentialQuesList
);
System
.
out
.
println
(
response
.
body
().
asString
());
String
quesDesc
=
response
.
jsonPath
().
getString
(
"data[0].quesDesc"
);
Assert
.
assertEquals
(
quesDesc
,
"咨询问题一"
,
network
.
message
(
Params
,
BasicConfig
.
MANAGER_potentialSaveQues
,
"咨询问题详情为null"
,
response
.
body
().
asString
()));
}
}
src/test/java/com/kjj/config/BasicConfig.java
View file @
f2a7b003
...
@@ -79,7 +79,7 @@ public class BasicConfig {
...
@@ -79,7 +79,7 @@ public class BasicConfig {
// 访客(SuYi) userID:4425
// 访客(SuYi) userID:4425
public
static
String
VISITOR_UserTku
=
"T3gM31f18jAW2hicRDxbwHFSuwA4MMVLLeHZ5G4yvb3sz6YRdcqKfzRJ8dMnfqDmgS8EprRjhFpXPFLBvp"
;
public
static
String
VISITOR_UserTku
=
"T3gM31f18jAW2hicRDxbwHFSuwA4MMVLLeHZ5G4yvb3sz6YRdcqKfzRJ8dMnfqDmgS8EprRjhFpXPFLBvp"
;
// 钉钉机器人 线上-告警群
// 钉钉机器人 线上-告警群
public
static
final
String
DINGTALKPATH
=
"https://oapi.dingtalk.com/robot/send?access_token=f63c9cb36e89dd68e9af82d926933b3afc6544e57b23a3a55ed5b3b772d5e8d2"
;
public
static
final
String
dingTalkPath
=
"https://oapi.dingtalk.com/robot/send?access_token=f63c9cb36e89dd68e9af82d926933b3afc6544e57b23a3a55ed5b3b772d5e8d2"
;
// *************** 客集集域名 ***************
// *************** 客集集域名 ***************
...
@@ -343,8 +343,16 @@ public class BasicConfig {
...
@@ -343,8 +343,16 @@ public class BasicConfig {
//小程序分享
//小程序分享
public
static
final
String
MANAGER_saveOrUpdateMpShare
=
MANAGER_HOST
+
"/kjy/manager/live/share/saveOrUpdateMpShare"
;
public
static
final
String
MANAGER_saveOrUpdateMpShare
=
MANAGER_HOST
+
"/kjy/manager/live/share/saveOrUpdateMpShare"
;
public
static
final
String
MANAGER_
=
MANAGER_HOST
+
""
;
// public static final String MANAGER_ = MANAGER_HOST + "";
//授权弹窗配置
public
static
final
String
MANAGER_popupSave
=
MANAGER_HOST
+
"/kjy/manager/live/auth/popup/save"
;
public
static
final
String
MANAGER_popupDetail
=
MANAGER_HOST
+
"/kjy/manager/live/auth/popup/detail"
;
public
static
final
String
MANAGER_popupUpdate
=
MANAGER_HOST
+
"/kjy/manager/live/auth/popup/update"
;
//准客户
public
static
final
String
MANAGER_potentialSaveQues
=
MANAGER_HOST
+
"/kjy/manager/live/potential/saveQues"
;
public
static
final
String
MANAGER_potentialQuesList
=
MANAGER_HOST
+
"/kjy/manager/live/potential/quesList"
;
//客户管理
//客户管理
public
static
final
String
MOBILE_customerList
=
MOBILE_HOST
+
"/kjy/live/agent/customer/list"
;
public
static
final
String
MOBILE_customerList
=
MOBILE_HOST
+
"/kjy/live/agent/customer/list"
;
...
...
src/test/java/com/kjj/config/ExtentTestNGIReporterListener.java
View file @
f2a7b003
...
@@ -41,10 +41,9 @@ public class ExtentTestNGIReporterListener implements IReporter {
...
@@ -41,10 +41,9 @@ public class ExtentTestNGIReporterListener implements IReporter {
if
(
result
.
size
()
==
0
)
{
if
(
result
.
size
()
==
0
)
{
continue
;
continue
;
}
}
// 统计suite下的成功、失败
、跳过
的总用例数
// 统计suite下的成功、失败的总用例数
int
suiteFailSize
=
0
;
int
suiteFailSize
=
0
;
int
suitePassSize
=
0
;
int
suitePassSize
=
0
;
// int suiteSkipSize = 0;
ExtentTest
suiteTest
=
null
;
ExtentTest
suiteTest
=
null
;
// 存在多个suite的情况下,在报告中将同一个suite的测试结果归为一类,创建一级节点。
// 存在多个suite的情况下,在报告中将同一个suite的测试结果归为一类,创建一级节点。
if
(
createSuiteNode
)
{
if
(
createSuiteNode
)
{
...
@@ -80,10 +79,8 @@ public class ExtentTestNGIReporterListener implements IReporter {
...
@@ -80,10 +79,8 @@ public class ExtentTestNGIReporterListener implements IReporter {
// 统计SuiteResult下的数据
// 统计SuiteResult下的数据
int
passSize
=
r
.
getTestContext
().
getPassedTests
().
size
();
int
passSize
=
r
.
getTestContext
().
getPassedTests
().
size
();
int
failSize
=
r
.
getTestContext
().
getFailedTests
().
size
();
int
failSize
=
r
.
getTestContext
().
getFailedTests
().
size
();
// int skipSize = r.getTestContext().getSkippedTests().size();
suitePassSize
+=
passSize
;
suitePassSize
+=
passSize
;
suiteFailSize
+=
failSize
;
suiteFailSize
+=
failSize
;
// suiteSkipSize += skipSize;
if
(
failSize
>
0
)
{
if
(
failSize
>
0
)
{
resultNode
.
getModel
().
setStatus
(
Status
.
FAIL
);
resultNode
.
getModel
().
setStatus
(
Status
.
FAIL
);
}
}
...
@@ -129,7 +126,6 @@ public class ExtentTestNGIReporterListener implements IReporter {
...
@@ -129,7 +126,6 @@ public class ExtentTestNGIReporterListener implements IReporter {
htmlReporter
.
config
().
setChartVisibilityOnOpen
(
true
);
htmlReporter
.
config
().
setChartVisibilityOnOpen
(
true
);
//报表位置
//报表位置
htmlReporter
.
config
().
setTestViewChartLocation
(
ChartLocation
.
TOP
);
htmlReporter
.
config
().
setTestViewChartLocation
(
ChartLocation
.
TOP
);
// htmlReporter.config().setTheme(Theme.STANDARD);
htmlReporter
.
config
().
setCSS
(
".node.level-1 ul{ display:none;} .node.level-1.active ul{display:block;}"
);
htmlReporter
.
config
().
setCSS
(
".node.level-1 ul{ display:none;} .node.level-1.active ul{display:block;}"
);
extent
=
new
ExtentReports
();
extent
=
new
ExtentReports
();
extent
.
attachReporter
(
htmlReporter
);
extent
.
attachReporter
(
htmlReporter
);
...
@@ -178,8 +174,6 @@ public class ExtentTestNGIReporterListener implements IReporter {
...
@@ -178,8 +174,6 @@ public class ExtentTestNGIReporterListener implements IReporter {
// 作为子节点进行创建时,设置同父节点的标签一致,便于报告检索。
// 作为子节点进行创建时,设置同父节点的标签一致,便于报告检索。
test
=
extenttest
.
createNode
(
name
).
assignCategory
(
categories
);
test
=
extenttest
.
createNode
(
name
).
assignCategory
(
categories
);
}
}
// test.getModel().setDescription(description.toString());
// test = extent.createTest(result.getMethod().getMethodName());
for
(
String
group
:
result
.
getMethod
().
getGroups
())
for
(
String
group
:
result
.
getMethod
().
getGroups
())
test
.
assignCategory
(
group
);
test
.
assignCategory
(
group
);
...
...
src/test/java/com/kjj/utils/NetworkUtils.java
View file @
f2a7b003
...
@@ -16,22 +16,11 @@ public class NetworkUtils {
...
@@ -16,22 +16,11 @@ public class NetworkUtils {
// 代理人的 cookies和headers
// 代理人的 cookies和headers
public
Map
<
String
,
Object
>
agentCookies
=
new
HashMap
<
String
,
Object
>();
public
Map
<
String
,
Object
>
agentCookies
=
new
HashMap
<
String
,
Object
>();
public
Map
<
String
,
Object
>
getAgentCookies
()
{
return
agentCookies
;
}
public
void
setAgentCookies
(
Map
<
String
,
Object
>
agentCookies
)
{
this
.
agentCookies
=
agentCookies
;
}
public
Map
<
String
,
Object
>
agentHeaders
=
new
HashMap
<
String
,
Object
>();
public
Map
<
String
,
Object
>
agentHeaders
=
new
HashMap
<
String
,
Object
>();
public
Map
<
String
,
Object
>
getAgentHeaders
()
{
return
agentHeaders
;
}
public
void
setAgentHeaders
(
Map
<
String
,
Object
>
agentHeaders
)
{
this
.
agentHeaders
=
agentHeaders
;
}
public
Map
<
String
,
Object
>
fileHeaders
=
new
HashMap
<
String
,
Object
>();
public
Map
<
String
,
Object
>
fileHeaders
=
new
HashMap
<
String
,
Object
>();
public
Map
<
String
,
Object
>
getFileHeaders
()
{
return
fileHeaders
;
}
public
void
setFileHeadersHeaders
(
Map
<
String
,
Object
>
fileHeaders
)
{
this
.
fileHeaders
=
fileHeaders
;
}
// 钉钉的 headers
// 钉钉的 headers
public
Map
<
String
,
Object
>
dingTalkHeaders
=
new
HashMap
<
String
,
Object
>();
public
Map
<
String
,
Object
>
dingTalkHeaders
=
new
HashMap
<
String
,
Object
>();
public
Map
<
String
,
Object
>
getDingTalkHeaders
()
{
return
dingTalkHeaders
;
}
public
void
setDingTalkHeaders
(
Map
<
String
,
Object
>
dingTalkHeaders
)
{
this
.
dingTalkHeaders
=
dingTalkHeaders
;
}
private
volatile
static
NetworkUtils
network
;
private
volatile
static
NetworkUtils
network
;
// 构造函数 初始化tku、content-type
// 构造函数 初始化tku、content-type
...
@@ -145,7 +134,7 @@ public class NetworkUtils {
...
@@ -145,7 +134,7 @@ public class NetworkUtils {
Response
response
=
given
()
Response
response
=
given
()
.
headers
(
dingTalkHeaders
)
.
headers
(
dingTalkHeaders
)
.
body
(
jsonStr
)
.
body
(
jsonStr
)
.
post
(
DINGTALKPATH
);
.
post
(
dingTalkPath
);
if
(!
Objects
.
equals
(
response
.
statusCode
(),
200
)){
if
(!
Objects
.
equals
(
response
.
statusCode
(),
200
)){
System
.
out
.
println
(
"请求状态码错误,code=【"
+
response
.
statusCode
()+
"】"
);
System
.
out
.
println
(
"请求状态码错误,code=【"
+
response
.
statusCode
()+
"】"
);
}
}
...
@@ -181,9 +170,5 @@ public class NetworkUtils {
...
@@ -181,9 +170,5 @@ public class NetworkUtils {
}
}
public
static
void
main
(
String
[]
args
)
throws
IOException
{
}
}
}
src/test/liveTestNG.xml
View file @
f2a7b003
...
@@ -2,22 +2,22 @@
...
@@ -2,22 +2,22 @@
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite
name=
"直播"
verbose=
"1"
thread-count=
"3"
>
<suite
name=
"直播"
verbose=
"1"
thread-count=
"3"
>
<test
preserve-order=
"true"
name=
"直播素材"
>
<!-- <test preserve-order="true" name="直播素材">--
>
<classes
>
<!-- <classes>--
>
<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.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>
...
@@ -26,183 +26,183 @@
...
@@ -26,183 +26,183 @@
</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>--
>
<class
name=
"com.kjj.cases.live.liveConfig.Paster"
/
>
<!-- <class name="com.kjj.cases.live.liveConfig.Paster"/>--
>
</classes
>
<!-- </classes>--
>
</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>--
>
<class
name=
"com.kjj.cases.live.lotteryCode.LotteryCode"
/
>
<!-- <class name="com.kjj.cases.live.lotteryCode.LotteryCode"/>--
>
</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.agent.LiveBefore"
/
>
<!-- <class name="com.kjj.cases.live.agent.LiveBefore"/>--
>
</classes
>
<!-- </classes>--
>
</test
>
<!-- </test>--
>
<test
preserve-order=
"true"
name=
"助播-开启直播"
>
<!-- <test preserve-order="true" name="助播-开启直播">--
>
<classes
>
<!-- <classes>--
>
<class
name=
"com.kjj.cases.live.anchor.OpenLive"
/
>
<!-- <class name="com.kjj.cases.live.anchor.OpenLive"/>--
>
</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.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.anchor.LiveVisitors"
/
>
<!-- <class name="com.kjj.cases.live.anchor.LiveVisitors"/>--
>
</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>--
>
<class
name=
"com.kjj.cases.live.anchor.CloseLive"
/
>
<!-- <class name="com.kjj.cases.live.anchor.CloseLive"/>--
>
</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>--
>
</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