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
0626c9d7
Commit
0626c9d7
authored
Nov 24, 2022
by
龚小红
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加社区客户
parent
182a8e9e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
Phone.java
src/test/java/com/oto/cases/otoseller/Phone.java
+4
-4
Work.java
src/test/java/com/oto/cases/otoseller/Work.java
+1
-1
No files found.
src/test/java/com/oto/cases/otoseller/Phone.java
View file @
0626c9d7
...
@@ -57,12 +57,12 @@ public class Phone implements Authorization {
...
@@ -57,12 +57,12 @@ public class Phone implements Authorization {
Assert
.
assertNotNull
(
myselfCustomer_id
,
network
.
message
(
params
,
BasicConfig
.
PHONE_customerSave
,
"创建缘故客户失败"
,
response
.
body
().
asString
()));
Assert
.
assertNotNull
(
myselfCustomer_id
,
network
.
message
(
params
,
BasicConfig
.
PHONE_customerSave
,
"创建缘故客户失败"
,
response
.
body
().
asString
()));
}
}
@Test
(
description
=
"创建
转介绍
客户"
,
priority
=
3
)
@Test
(
description
=
"创建
社区
客户"
,
priority
=
3
)
public
void
创建
转介绍
客户
(){
public
void
创建
社区
客户
(){
HashMap
<
String
,
Object
>
params
=
new
HashMap
<>();
HashMap
<
String
,
Object
>
params
=
new
HashMap
<>();
params
.
put
(
"custName"
,
"自动化
转介绍
客户"
);
params
.
put
(
"custName"
,
"自动化
社区
客户"
);
params
.
put
(
"custPhoneNum"
,
"15136361305"
);
params
.
put
(
"custPhoneNum"
,
"15136361305"
);
params
.
put
(
"custActionType"
,
"0
5
"
);
params
.
put
(
"custActionType"
,
"0
9
"
);
Response
response
=
network
.
postResponse
(
params
,
BasicConfig
.
PHONE_customerSave
);
Response
response
=
network
.
postResponse
(
params
,
BasicConfig
.
PHONE_customerSave
);
introduceCustomer_id
=
response
.
jsonPath
().
getString
(
"data"
);
introduceCustomer_id
=
response
.
jsonPath
().
getString
(
"data"
);
Assert
.
assertNotNull
(
introduceCustomer_id
,
network
.
message
(
params
,
BasicConfig
.
PHONE_customerSave
,
"创建转介绍客户失败"
,
response
.
body
().
asString
()));
Assert
.
assertNotNull
(
introduceCustomer_id
,
network
.
message
(
params
,
BasicConfig
.
PHONE_customerSave
,
"创建转介绍客户失败"
,
response
.
body
().
asString
()));
...
...
src/test/java/com/oto/cases/otoseller/Work.java
View file @
0626c9d7
...
@@ -1315,7 +1315,7 @@ public class Work implements Authorization {
...
@@ -1315,7 +1315,7 @@ public class Work implements Authorization {
@Test
(
description
=
"查看盘点客户列表"
,
priority
=
96
)
@Test
(
description
=
"查看盘点客户列表"
,
priority
=
96
)
public
void
查看盘点客户列表
(){
public
void
查看盘点客户列表
(){
sleep
(
3
000
);
sleep
(
10
000
);
HashMap
<
String
,
Object
>
params
=
new
HashMap
<>();
HashMap
<
String
,
Object
>
params
=
new
HashMap
<>();
params
.
put
(
"custName"
,
"自动化"
);
params
.
put
(
"custName"
,
"自动化"
);
params
.
put
(
"todayCheck"
,
1
);
params
.
put
(
"todayCheck"
,
1
);
...
...
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