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
71e919e4
Commit
71e919e4
authored
Dec 08, 2022
by
龚小红
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加场景类型
parent
8d81c892
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
Work.java
src/test/java/com/oto/cases/otoseller/Work.java
+6
-6
BasicConfig.java
src/test/java/com/oto/config/BasicConfig.java
+3
-3
No files found.
src/test/java/com/oto/cases/otoseller/Work.java
View file @
71e919e4
...
@@ -779,10 +779,10 @@ public class Work implements Authorization {
...
@@ -779,10 +779,10 @@ public class Work implements Authorization {
getCallCustInfo
(
1
);
getCallCustInfo
(
1
);
}
}
@Test
(
description
=
"查看准客户面访任务和约面日历为
未
确认"
,
priority
=
53
)
@Test
(
description
=
"查看准客户面访任务和约面日历为
已
确认"
,
priority
=
53
)
public
void
查看准客户面访任务和约面日历为
未
确认
(){
public
void
查看准客户面访任务和约面日历为
已
确认
(){
taskList
(
0
,
1
);
taskList
(
0
,
1
);
getCalendarlist
(
today
+
86400000
,
1
,
"自动化测试用户"
,
"勿动-自动化测试邀约"
);
getCalendarlist
(
today
+
86400000
,
2
,
"自动化测试用户"
,
"勿动-自动化测试邀约"
);
}
}
// @Test(description = "修改客户行程状态为已确认",priority = 52)
// @Test(description = "修改客户行程状态为已确认",priority = 52)
...
@@ -822,7 +822,7 @@ public class Work implements Authorization {
...
@@ -822,7 +822,7 @@ public class Work implements Authorization {
taskList
(
0
,
1
);
taskList
(
0
,
1
);
getHasFirstInvite
(
1
,
true
);
getHasFirstInvite
(
1
,
true
);
getCallCustInfo
(
1
);
getCallCustInfo
(
1
);
getCalendarlist
(
today
+
86400000
,
1
,
"自动化测试用户"
,
"勿动-自动化测试邀约"
);
getCalendarlist
(
today
+
86400000
,
2
,
"自动化测试用户"
,
"勿动-自动化测试邀约"
);
}
}
@Test
(
description
=
"修改客户具体日期客户状态变为已改期"
,
priority
=
55
)
@Test
(
description
=
"修改客户具体日期客户状态变为已改期"
,
priority
=
55
)
...
@@ -1792,9 +1792,9 @@ public class Work implements Authorization {
...
@@ -1792,9 +1792,9 @@ public class Work implements Authorization {
public
void
获取场景类型
(){
public
void
获取场景类型
(){
HashMap
<
String
,
Object
>
params
=
new
HashMap
<>();
HashMap
<
String
,
Object
>
params
=
new
HashMap
<>();
params
.
put
(
"sceneType"
,
"1,2"
);
params
.
put
(
"sceneType"
,
"1,2"
);
Response
response
=
network
.
getResponse
(
params
,
BasicConfig
.
PHONE
_getSceneTypes
);
Response
response
=
network
.
getResponse
(
params
,
BasicConfig
.
WORK
_getSceneTypes
);
int
size
=
response
.
jsonPath
().
getInt
(
"data.size()"
);
int
size
=
response
.
jsonPath
().
getInt
(
"data.size()"
);
Assert
.
assertTrue
(
size
>
0
,
network
.
message
(
params
,
BasicConfig
.
PHONE
_getSceneTypes
,
"场景结果为空"
,
response
.
body
().
asString
()));
Assert
.
assertTrue
(
size
>
0
,
network
.
message
(
params
,
BasicConfig
.
WORK
_getSceneTypes
,
"场景结果为空"
,
response
.
body
().
asString
()));
}
}
//修改客户的约面情况
//修改客户的约面情况
...
...
src/test/java/com/oto/config/BasicConfig.java
View file @
71e919e4
...
@@ -43,8 +43,8 @@ public class BasicConfig {
...
@@ -43,8 +43,8 @@ public class BasicConfig {
/*******OTO销售工作台*********/
/*******OTO销售工作台*********/
public
static
final
String
OTO_INVITER_TKU
=
"4yrzAfNog7WE527NKCNmqBqph48N7mWR9J49QYysZmKYC3DF97hQFap7RphynF3GFXLhp7GFZ35mc"
;
public
static
final
String
OTO_INVITER_TKU
=
"4yrzAfNog7WE527NKCNmqBqph48N7mWR9J49QYysZmKYC3DF97hQFap7RphynF3GFXLhp7GFZ35mc"
;
public
static
final
String
OTO_TAKER_TKU
=
"7Fcuh7FWTsTHSqdG
LMp5tQfPxhLUvJPui5b8gHP2ZkyDFqVEhZ7NLbZB2cpohNSKYScBin4vQrgDVDhxxBdmPr9937m1bY3LTXzDdQ6y8fGrF8r66CSzHbM69FPTYxJLGHG71NittSC1J1Hi86Vu4kFR
"
;
public
static
final
String
OTO_TAKER_TKU
=
"7Fcuh7FWTsTHSqdG
Me8YkveUybFE3wHk9mLiXVmBDJLeb1ziCz1PgEhvP8PDF2wzLy1Wa5NDhHptVxQMDus68MuZTCnuHsdPqgdN8hDwNHG4UKSHETMxQ8Fr8RJEoFPKsMipeBj1qyQbHUfDHkAXttwC
"
;
public
static
final
String
OTO_EXPERT_TKU
=
"7Fcuh7FWTsTHSqdG
LMp5tQsHHyH8oTHwYpSo8uHUiYABxYw3KBuY2gfxur5mFo5wiLKNtMZbgNo969ULyi8W7CrWzvXgQCuqchPXa9qfmvNJnyFWjH7wtSifZFYoM9rMN8CeT9iMC4FbhHtEpdVuFmzP
"
;
public
static
final
String
OTO_EXPERT_TKU
=
"7Fcuh7FWTsTHSqdG
Me8Ykvemfh5GwzxxMicv5aVZLvZgWavNN8HMHeTDGLKfKVwwHZfCGXL864f64enZ1L3MUeg1UkZwKqhTkZM65V8comDPFGtrB3kRFzcnK94m1riZJRydADDmM6h6fAqXK6ajs26B
"
;
// *************** 客集集域名 ***************
// *************** 客集集域名 ***************
public
static
final
String
HOST
=
"https://kjj.m.duibatest.com.cn"
;
public
static
final
String
HOST
=
"https://kjj.m.duibatest.com.cn"
;
public
static
final
String
SSO_HOST
=
"https://sso.duibatest.com.cn"
;
public
static
final
String
SSO_HOST
=
"https://sso.duibatest.com.cn"
;
...
@@ -230,6 +230,7 @@ public class BasicConfig {
...
@@ -230,6 +230,7 @@ public class BasicConfig {
public
static
final
String
WORK_getPlanDetail
=
WORK_HOST
+
"/kjy/oto/manager/customer/getPlanDetail"
;
public
static
final
String
WORK_getPlanDetail
=
WORK_HOST
+
"/kjy/oto/manager/customer/getPlanDetail"
;
public
static
final
String
WORK_getPlanList
=
WORK_HOST
+
"/kjy/oto/manager/customer/getPlanList"
;
public
static
final
String
WORK_getPlanList
=
WORK_HOST
+
"/kjy/oto/manager/customer/getPlanList"
;
public
static
final
String
WORK_callSubmit
=
WORK_HOST
+
"/kjy/oto/manager/customer/call/cust/info/submit"
;
public
static
final
String
WORK_callSubmit
=
WORK_HOST
+
"/kjy/oto/manager/customer/call/cust/info/submit"
;
public
static
final
String
WORK_getSceneTypes
=
WORK_HOST
+
"/kjy/oto/manager/custconf/getSceneTypes"
;
//*************************客集集营销平台******************************
//*************************客集集营销平台******************************
public
static
final
String
PHONE_bindWxUser
=
HOST
+
"/kjy/oto/interview/bindWxUser"
;
public
static
final
String
PHONE_bindWxUser
=
HOST
+
"/kjy/oto/interview/bindWxUser"
;
...
@@ -270,7 +271,6 @@ public class BasicConfig {
...
@@ -270,7 +271,6 @@ public class BasicConfig {
public
static
final
String
PHONE_paper_getCustomers
=
PHONE_HOST
+
"/kjy/oto/seller/daily/paper/getCustomers"
;
public
static
final
String
PHONE_paper_getCustomers
=
PHONE_HOST
+
"/kjy/oto/seller/daily/paper/getCustomers"
;
public
static
final
String
PHONE_paper_updateCustomer
=
PHONE_HOST
+
"/kjy/oto/seller/daily/paper/updateCustomer"
;
public
static
final
String
PHONE_paper_updateCustomer
=
PHONE_HOST
+
"/kjy/oto/seller/daily/paper/updateCustomer"
;
public
static
final
String
PHONE_expertList
=
PHONE_HOST
+
"/kjy/oto/interview/expertList"
;
public
static
final
String
PHONE_expertList
=
PHONE_HOST
+
"/kjy/oto/interview/expertList"
;
public
static
final
String
PHONE_getSceneTypes
=
PHONE_HOST
+
"/kjy/oto/manager/custconf/getSceneTypes"
;
//******************专用测试接口****************************8
//******************专用测试接口****************************8
public
static
final
String
WORK_verifyCode
=
WORK_HOST
+
"/kjy/oto/auto/test/verifyCode"
;
public
static
final
String
WORK_verifyCode
=
WORK_HOST
+
"/kjy/oto/auto/test/verifyCode"
;
...
...
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