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
13130830
Commit
13130830
authored
Aug 18, 2022
by
龚小红
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'Feature/20220817-gxh' into 'master'
增加一面邀约的接口用例 See merge request
!21
parents
3f74516e
787f906a
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 @
13130830
...
@@ -724,15 +724,9 @@ public class Work implements Authorization {
...
@@ -724,15 +724,9 @@ public class Work implements Authorization {
boolean
data
=
response
.
jsonPath
().
getBoolean
(
"data"
);
boolean
data
=
response
.
jsonPath
().
getBoolean
(
"data"
);
Assert
.
assertTrue
(
data
,
network
.
message
(
params
,
BasicConfig
.
WX_confirm
,
"客户确认邀请函失败"
,
response
.
body
().
asString
()));
Assert
.
assertTrue
(
data
,
network
.
message
(
params
,
BasicConfig
.
WX_confirm
,
"客户确认邀请函失败"
,
response
.
body
().
asString
()));
params
.
clear
();
getHasFirstInvite
(
1
);
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
()));
taskList
(
1
,
1
);
taskList
(
0
,
1
);
}
}
@Test
(
description
=
"邀约组拨打电话回填面访信息正常"
,
priority
=
63
)
@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