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
d34ad305
Commit
d34ad305
authored
Jul 30, 2021
by
xiamengchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增我的客户
parent
d54a8ec8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
34 deletions
+0
-34
ForwardAndRead.java
...java/com/kjj/cases/assistant/whoSawMe/ForwardAndRead.java
+0
-33
WhoSawMe.java
src/test/java/com/kjj/cases/assistant/whoSawMe/WhoSawMe.java
+0
-1
No files found.
src/test/java/com/kjj/cases/assistant/whoSawMe/ForwardAndRead.java
View file @
d34ad305
...
...
@@ -21,9 +21,6 @@ public class ForwardAndRead implements Authorization {
private
String
visitId
;
private
String
insuranceId
;
private
String
forwardTime
;
private
String
activityConfId
;
private
String
lottery_scId
;
private
String
activityCustomPrizeId
;
@BeforeClass
public
void
setUp
()
throws
IOException
{
...
...
@@ -99,36 +96,6 @@ public class ForwardAndRead implements Authorization {
Assert
.
assertEquals
(
data
,
"success"
,
network
.
message
(
param
,
BasicConfig
.
SELLERCARD_SENDPUSHFORSCAN
,
"领取赠险失败"
,
response
.
body
().
asString
()));
}
// @Test(description = "访客阅读抽奖工具", priority = 5)
// public void 参与抽奖() throws IOException{
// param = new HashMap<>();
// param.put("scid", lottery_scId);
// param.put("bizNo", activityConfId);
// param.put("from", 0);
// response = network.getResponse(param, BasicConfig.CONTENT_READ);
// String visitId = response.jsonPath().getString("data.visitId");
// }
//
// @Test(description = "点击抽奖", priority = 6)
// public void 点击抽奖() throws IOException{
// param = new HashMap<>();
// param.put("id", activityCustomPrizeId);
// param.put("scid", lottery_scId);
// param.put("activityConfId", activityConfId);
// response = network.postResponse(param, )
// }
// // 访客增加访问记录
// @Test(description = "增加动态访问记录", priority = 5)
// public void 增加动态访问记录() throws IOException{
// param = new HashMap<>();
// param.put("scid", articleScId);
// param.put("forwardTime", forwardTime);
// response = network.postResponse(param, BasicConfig.DYNAMIC_ADDVISIT);
// Assert.assertTrue(response.jsonPath().getBoolean("success"), network.message(param, BasicConfig.DYNAMIC_ADDVISIT, "接口请求失败", response.body().asString()));
// Assert.assertTrue(response.jsonPath().getBoolean("data"), network.message(param, BasicConfig.DYNAMIC_ADDVISIT, "增加访问记录失败", response.body().asString()));
// }
@Test
(
description
=
"访客转发文章"
,
priority
=
5
)
public
void
访客转发文章
()
throws
IOException
{
param
=
new
HashMap
<>();
...
...
src/test/java/com/kjj/cases/assistant/whoSawMe/WhoSawMe.java
View file @
d34ad305
...
...
@@ -319,7 +319,6 @@ public class WhoSawMe implements Authorization {
param
=
new
HashMap
<>();
param
.
put
(
"sids"
,
sids
);
response
=
network
.
postResponse
(
param
,
BasicConfig
.
MEMBERREMOVE
);
System
.
out
.
println
(
response
.
body
().
asString
());
boolean
data
=
response
.
jsonPath
().
getBoolean
(
"data"
);
Assert
.
assertTrue
(
data
,
network
.
message
(
param
,
BasicConfig
.
MEMBERREMOVE
,
"删除成员失败"
,
response
.
body
().
asString
()));
...
...
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