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
88335717
Commit
88335717
authored
Aug 17, 2022
by
龚小红
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加一面邀约的接口用例
parent
3715520b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
2 deletions
+23
-2
Phone.java
src/test/java/com/oto/cases/otoseller/Phone.java
+9
-0
BasicConfig.java
src/test/java/com/oto/config/BasicConfig.java
+14
-2
No files found.
src/test/java/com/oto/cases/otoseller/Phone.java
View file @
88335717
...
@@ -331,6 +331,15 @@ public class Phone implements Authorization {
...
@@ -331,6 +331,15 @@ public class Phone implements Authorization {
int
interviewStatus
=
response
.
jsonPath
().
getInt
(
"data.customerInterviewVos.find{it.id == '"
+
interviewIds
.
get
(
0
)
+
"'}.interviewStatus"
);
int
interviewStatus
=
response
.
jsonPath
().
getInt
(
"data.customerInterviewVos.find{it.id == '"
+
interviewIds
.
get
(
0
)
+
"'}.interviewStatus"
);
Assert
.
assertEquals
(
size
,
1
,
network
.
message
(
params
,
BasicConfig
.
PHONE_interviewList
,
"面访列表为空"
,
response
.
body
().
asString
()));
Assert
.
assertEquals
(
size
,
1
,
network
.
message
(
params
,
BasicConfig
.
PHONE_interviewList
,
"面访列表为空"
,
response
.
body
().
asString
()));
Assert
.
assertEquals
(
interviewStatus
,
6
,
network
.
message
(
params
,
BasicConfig
.
PHONE_interviewList
,
"面访状态错误"
,
response
.
body
().
asString
()));
Assert
.
assertEquals
(
interviewStatus
,
6
,
network
.
message
(
params
,
BasicConfig
.
PHONE_interviewList
,
"面访状态错误"
,
response
.
body
().
asString
()));
//销售查看上传记录
otosellerAuth
();
params
.
clear
();
params
.
put
(
"custId"
,
IdMakeUtil
.
decodingId
(
cust_id
));
response
=
network
.
getResponse
(
params
,
BasicConfig
.
WORK_invire
);
boolean
data
=
response
.
jsonPath
().
getBoolean
(
"data"
);
Assert
.
assertTrue
(
data
,
network
.
message
(
params
,
BasicConfig
.
WORK_invire
,
"上传面访记录>=1"
,
response
.
body
().
asString
()));
}
}
@Test
(
description
=
"总监查看审批列表"
,
priority
=
24
)
@Test
(
description
=
"总监查看审批列表"
,
priority
=
24
)
...
...
src/test/java/com/oto/config/BasicConfig.java
View file @
88335717
...
@@ -163,6 +163,20 @@ public class BasicConfig {
...
@@ -163,6 +163,20 @@ public class BasicConfig {
public
static
final
String
WORK_coefficient_detail
=
WORK_HOST
+
"/kjy/oto/manager/customer/coefficient/detail"
;
public
static
final
String
WORK_coefficient_detail
=
WORK_HOST
+
"/kjy/oto/manager/customer/coefficient/detail"
;
public
static
final
String
WORK_customer_detail
=
WORK_HOST
+
"/kjy/oto/manager/customer/claimDetail"
;
public
static
final
String
WORK_customer_detail
=
WORK_HOST
+
"/kjy/oto/manager/customer/claimDetail"
;
public
static
final
String
WORK_customer_claim
=
WORK_HOST
+
"/kjy/oto/manager/customer/claim"
;
public
static
final
String
WORK_customer_claim
=
WORK_HOST
+
"/kjy/oto/manager/customer/claim"
;
public
static
final
String
WORK_getHasFirstInvite
=
WORK_HOST
+
"/kjy/oto/manager/customer/getHasFirstInvite"
;
public
static
final
String
WORK_getAllSceneConfs
=
WORK_HOST
+
"/kjy/oto/manager/customer/call/getAllSceneConfs"
;
public
static
final
String
WORK_invite_submit
=
WORK_HOST
+
"/kjy/oto/manager/customer/call/cust/invite/submit"
;
public
static
final
String
WORK_invitation_list
=
WORK_HOST
+
"/kjy/oto/manager/customer/invitation/list"
;
public
static
final
String
WORK_invite_confirm
=
WORK_HOST
+
"/kjy/oto/manager/customer/invite/confirm"
;
public
static
final
String
WORK_invire
=
WORK_HOST
+
"/kjy/oto/customer/invire/record/list"
;
public
static
final
String
WORK_generate
=
WORK_HOST
+
"/kjy/oto/manager/qrcode/generate"
;
public
static
final
String
WORK_getCallCustInfo
=
WORK_HOST
+
"/kjy/oto/manager/customer/call/getCallCustInfo"
;
//*************************客集集营销平台******************************
public
static
final
String
PHONE_bindWxUser
=
HOST
+
"/kjy/oto/interview/bindWxUser"
;
public
static
final
String
PHONE_submitEvaluate
=
HOST
+
"/kjy/oto/interview/submitEvaluate"
;
public
static
final
String
WX_look
=
HOST
+
"/kjy/mp/oto/risk/invLetter/look"
;
public
static
final
String
WX_confirm
=
HOST
+
"/kjy/mp/oto/risk/invLetter/confirm"
;
//***********************销售工作台手机端**********************
//***********************销售工作台手机端**********************
public
static
final
String
PHONE_custConfSave
=
WORK_HOST
+
"/kjy/oto/manager/custconf/save"
;
public
static
final
String
PHONE_custConfSave
=
WORK_HOST
+
"/kjy/oto/manager/custconf/save"
;
...
@@ -188,8 +202,6 @@ public class BasicConfig {
...
@@ -188,8 +202,6 @@ public class BasicConfig {
public
static
final
String
PHONE_custExtDetail
=
PHONE_HOST
+
"/kjy/oto/interview/custExtDetail"
;
public
static
final
String
PHONE_custExtDetail
=
PHONE_HOST
+
"/kjy/oto/interview/custExtDetail"
;
public
static
final
String
PHONE_interviewFeedback
=
PHONE_HOST
+
"/kjy/oto/interview/feedback"
;
public
static
final
String
PHONE_interviewFeedback
=
PHONE_HOST
+
"/kjy/oto/interview/feedback"
;
public
static
final
String
PHONE_interviewDetail
=
PHONE_HOST
+
"/kjy/oto/interview/edit/detail"
;
public
static
final
String
PHONE_interviewDetail
=
PHONE_HOST
+
"/kjy/oto/interview/edit/detail"
;
public
static
final
String
PHONE_bindWxUser
=
HOST
+
"/kjy/oto/interview/bindWxUser"
;
public
static
final
String
PHONE_submitEvaluate
=
HOST
+
"/kjy/oto/interview/submitEvaluate"
;
public
static
final
String
PHONE_listBysellComp
=
PHONE_HOST
+
"/kjy/oto/manager/customer/listBysellComp"
;
public
static
final
String
PHONE_listBysellComp
=
PHONE_HOST
+
"/kjy/oto/manager/customer/listBysellComp"
;
public
static
final
String
PHONE_address
=
PHONE_HOST
+
"/kjy/oto/h5/v1/save/address"
;
public
static
final
String
PHONE_address
=
PHONE_HOST
+
"/kjy/oto/h5/v1/save/address"
;
public
static
final
String
PHONE_getUnusualTypes
=
PHONE_HOST
+
"/kjy/oto/h5/v1/getUnusualTypes"
;
public
static
final
String
PHONE_getUnusualTypes
=
PHONE_HOST
+
"/kjy/oto/h5/v1/getUnusualTypes"
;
...
...
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