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
1da422bd
Commit
1da422bd
authored
Apr 27, 2023
by
龚小红
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'Feature/signDetailAndExpert_20220424' into 'master'
修改 See merge request
!95
parents
82e84144
dfee618b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Activity.java
src/test/java/com/oto/cases/otoseller/Activity.java
+1
-1
CheckTask.java
src/test/java/com/oto/cases/otoseller/CheckTask.java
+2
-2
No files found.
src/test/java/com/oto/cases/otoseller/Activity.java
View file @
1da422bd
...
@@ -302,7 +302,7 @@ public class Activity implements Authorization {
...
@@ -302,7 +302,7 @@ public class Activity implements Authorization {
public
void
专家查看见面目的列表
(){
public
void
专家查看见面目的列表
(){
Response
response
=
network
.
getResponse
(
BasicConfig
.
WX_custPhase
);
Response
response
=
network
.
getResponse
(
BasicConfig
.
WX_custPhase
);
int
size
=
response
.
jsonPath
().
getInt
(
"data.size()"
);
int
size
=
response
.
jsonPath
().
getInt
(
"data.size()"
);
Assert
.
assertEquals
(
size
,
5
,
network
.
message
(
BasicConfig
.
WX_custPhase
,
"见面目的数错误"
,
response
.
body
().
asString
()));
Assert
.
assertEquals
(
size
,
6
,
network
.
message
(
BasicConfig
.
WX_custPhase
,
"见面目的数错误"
,
response
.
body
().
asString
()));
}
}
@Test
(
description
=
"专家搜索跟进中客户"
,
priority
=
16
)
@Test
(
description
=
"专家搜索跟进中客户"
,
priority
=
16
)
...
...
src/test/java/com/oto/cases/otoseller/CheckTask.java
View file @
1da422bd
...
@@ -809,8 +809,8 @@ public class CheckTask implements Authorization {
...
@@ -809,8 +809,8 @@ public class CheckTask implements Authorization {
Object
upload
=
response
.
jsonPath
().
getObject
(
"data.uploadType"
,
Integer
.
class
);
Object
upload
=
response
.
jsonPath
().
getObject
(
"data.uploadType"
,
Integer
.
class
);
Assert
.
assertEquals
(
curRole
,
curRoleType
,
network
.
message
(
params
,
BasicConfig
.
WORK_OA_tree
,
"当前审批环节非"
+
curRoleType
,
response
.
body
().
asString
()));
Assert
.
assertEquals
(
curRole
,
curRoleType
,
network
.
message
(
params
,
BasicConfig
.
WORK_OA_tree
,
"当前审批环节非"
+
curRoleType
,
response
.
body
().
asString
()));
Assert
.
assertEquals
(
aStatus
,
auditStatus
,
network
.
message
(
params
,
BasicConfig
.
WORK_OA_tree
,
"角色为"
+
roleType
+
"的审批状态非"
+
auditStatus
,
response
.
body
().
asString
()));
Assert
.
assertEquals
(
aStatus
,
auditStatus
,
network
.
message
(
params
,
BasicConfig
.
WORK_OA_tree
,
"角色为"
+
roleType
+
"的审批状态非"
+
auditStatus
,
response
.
body
().
asString
()));
Assert
.
assertEquals
(
planStatus
,
plan
ExplainStatus
,
network
.
message
(
params
,
BasicConfig
.
WORK_OA_tree
,
"上传方案状态非"
+
planExplain
Status
,
response
.
body
().
asString
()));
Assert
.
assertEquals
(
planStatus
,
plan
UploadStatus
,
network
.
message
(
params
,
BasicConfig
.
WORK_OA_tree
,
"上传方案状态非"
+
planUpload
Status
,
response
.
body
().
asString
()));
Assert
.
assertEquals
(
explainStatus
,
plan
UploadStatus
,
network
.
message
(
params
,
BasicConfig
.
WORK_OA_tree
,
"讲解方案状态非"
+
planUpload
Status
,
response
.
body
().
asString
()));
Assert
.
assertEquals
(
explainStatus
,
plan
ExplainStatus
,
network
.
message
(
params
,
BasicConfig
.
WORK_OA_tree
,
"讲解方案状态非"
+
planExplain
Status
,
response
.
body
().
asString
()));
Assert
.
assertEquals
(
upload
,
uploadType
,
network
.
message
(
params
,
BasicConfig
.
WORK_OA_tree
,
"方案上传类型非"
+
uploadType
,
response
.
body
().
asString
()));
Assert
.
assertEquals
(
upload
,
uploadType
,
network
.
message
(
params
,
BasicConfig
.
WORK_OA_tree
,
"方案上传类型非"
+
uploadType
,
response
.
body
().
asString
()));
}
}
...
...
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