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
fd7c802d
Commit
fd7c802d
authored
Apr 22, 2022
by
龚小红
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'Feature/20220420-gxh' into 'master'
OTO日常优化2-回收列表排序更新 See merge request test-group/kejiji!251
parents
48487484
5da1b53b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Work.java
src/test/java/com/kjj/cases/otoseller/Work.java
+2
-2
No files found.
src/test/java/com/kjj/cases/otoseller/Work.java
View file @
fd7c802d
...
...
@@ -545,8 +545,8 @@ public class Work implements Authorization {
Response
response
=
network
.
getResponse
(
params
,
BasicConfig
.
WORK_recycleList
);
int
size
=
response
.
jsonPath
().
getInt
(
"data.list.size()"
);
Assert
.
assertTrue
(
size
>
0
,
network
.
message
(
params
,
BasicConfig
.
WORK_recycleList
,
"查看回收池客户列表为空"
,
response
.
body
().
asString
()));
int
result
=
response
.
jsonPath
().
getInt
(
"data.list
[0].custId
"
);
Assert
.
assertEquals
(
result
,
collectCustId
,
network
.
message
(
params
,
BasicConfig
.
WORK_recycleList
,
"回收池客户列表不包含刚刚的回收客户"
,
response
.
body
().
asString
()));
int
result
=
response
.
jsonPath
().
getInt
(
"data.list
.findAll{it.custId == "
+
collectCustId
+
"}.size()
"
);
Assert
.
assertEquals
(
result
,
1
,
network
.
message
(
params
,
BasicConfig
.
WORK_recycleList
,
"回收池客户列表不包含刚刚的回收客户"
,
response
.
body
().
asString
()));
}
@Test
(
description
=
"认领回收池客户"
,
priority
=
52
)
...
...
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