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
6cc4255f
Commit
6cc4255f
authored
Jan 13, 2023
by
龚小红
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加上传KYC、上传方案、调整策略顺序的测试用例
parent
e9facffa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
Work.java
src/test/java/com/oto/cases/otoseller/Work.java
+13
-2
No files found.
src/test/java/com/oto/cases/otoseller/Work.java
View file @
6cc4255f
...
...
@@ -989,9 +989,10 @@ public class Work implements Authorization {
public
void
查询认领客户评价不清空
(){
HashMap
<
String
,
Object
>
params
=
new
HashMap
<>();
params
.
put
(
"custId"
,
custId
);
params
.
put
(
"type"
,
1
);
Response
response
=
network
.
getResponse
(
params
,
BasicConfig
.
WORK_header
);
Object
followWeight
=
response
.
jsonPath
().
getJsonObjec
t
(
"data.followWeight"
);
Assert
.
assert
NotNull
(
followWeight
,
network
.
message
(
params
,
BasicConfig
.
WORK_header
,
"客户权重未清空"
,
response
.
body
().
asString
()));
int
followWeight
=
response
.
jsonPath
().
getIn
t
(
"data.followWeight"
);
Assert
.
assert
Equals
(
followWeight
,
1
,
network
.
message
(
params
,
BasicConfig
.
WORK_header
,
"客户权重未清空"
,
response
.
body
().
asString
()));
}
@Test
(
description
=
"管理员查看销售列表"
,
priority
=
72
)
...
...
@@ -1477,6 +1478,16 @@ public class Work implements Authorization {
takerCoefficient
=
leadertotalCoefficient
;
}
@Test
(
description
=
"客户等级不互通"
,
priority
=
104
)
public
void
客户等级不互通
()
{
HashMap
<
String
,
Object
>
params
=
new
HashMap
<>();
params
.
put
(
"custId"
,
custId
);
params
.
put
(
"type"
,
1
);
Response
response
=
network
.
getResponse
(
params
,
BasicConfig
.
WORK_header
);
Object
followWeight
=
response
.
jsonPath
().
getString
(
"data.followWeight"
);
Assert
.
assertNull
(
followWeight
,
network
.
message
(
params
,
BasicConfig
.
WORK_header
,
"分配销售后客户权重不为空"
,
response
.
body
().
asString
()));
}
@Test
(
description
=
"邀约完成任务"
,
priority
=
105
)
public
void
邀约完成任务
(){
...
...
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