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
787f906a
Commit
787f906a
authored
Aug 18, 2022
by
龚小红
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加一面邀约的接口用例
parent
b06a4d4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
Work.java
src/test/java/com/oto/cases/otoseller/Work.java
+2
-8
No files found.
src/test/java/com/oto/cases/otoseller/Work.java
View file @
787f906a
...
...
@@ -724,15 +724,9 @@ public class Work implements Authorization {
boolean
data
=
response
.
jsonPath
().
getBoolean
(
"data"
);
Assert
.
assertTrue
(
data
,
network
.
message
(
params
,
BasicConfig
.
WX_confirm
,
"客户确认邀请函失败"
,
response
.
body
().
asString
()));
params
.
clear
();
params
.
put
(
"custId"
,
custId
);
response
=
network
.
getResponse
(
params
,
BasicConfig
.
WORK_getHasFirstInvite
);
boolean
haveMealFlag
=
response
.
jsonPath
().
getBoolean
(
"data.haveMealFlag"
);
String
interviewTime
=
response
.
jsonPath
().
getString
(
"data.interviewTime"
);
Assert
.
assertTrue
(
haveMealFlag
,
network
.
message
(
params
,
BasicConfig
.
WORK_getHasFirstInvite
,
"约面状态未更新为【已约到】"
,
response
.
body
().
asString
()));
Assert
.
assertNotNull
(
interviewTime
,
network
.
message
(
params
,
BasicConfig
.
WORK_getHasFirstInvite
,
"面访承诺时间不为空"
,
response
.
body
().
asString
()));
getHasFirstInvite
(
1
);
taskList
(
1
,
1
);
taskList
(
0
,
1
);
}
@Test
(
description
=
"邀约组拨打电话回填面访信息正常"
,
priority
=
63
)
...
...
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