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
3e333315
Commit
3e333315
authored
Aug 19, 2021
by
龚小红
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2021081902_gxh' into 'master'
更改配置底部互动的文章id See merge request test-group/kejiji!102
parents
bfc1d5f3
573f1104
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
HomePage.java
src/test/java/com/kjj/cases/assistant/homePage/HomePage.java
+1
-1
LiveBefore.java
src/test/java/com/kjj/cases/live/agent/LiveBefore.java
+2
-2
No files found.
src/test/java/com/kjj/cases/assistant/homePage/HomePage.java
View file @
3e333315
...
...
@@ -56,7 +56,7 @@ public class HomePage implements Authorization {
Response
response
=
network
.
getResponse
(
params
,
HOME_getContentList
);
Object
obj
=
response
.
jsonPath
().
getJsonObject
(
"data.list"
);
Assert
.
assertNotNull
(
obj
,
network
.
message
(
params
,
HOME_getContentList
,
"获取首页种草素材列表失败"
,
response
.
body
().
asString
()));
grasscontentId
=
response
.
jsonPath
().
getString
(
"data.list.get(
0
).contentId"
);
grasscontentId
=
response
.
jsonPath
().
getString
(
"data.list.get(
8
).contentId"
);
articleId
=
decodingId
(
grasscontentId
);
//获取素材对应的scid
...
...
src/test/java/com/kjj/cases/live/agent/LiveBefore.java
View file @
3e333315
...
...
@@ -26,9 +26,9 @@ public class LiveBefore implements Authorization {
int
allNum
=
response
.
jsonPath
().
getInt
(
"data.allNum"
);
Assert
.
assertTrue
(
allNum
>
0
,
network
.
message
(
params
,
BasicConfig
.
MOBILE_customerStat
,
"客户总数为null"
,
response
.
body
().
asString
()));
int
newCustomNum
=
response
.
jsonPath
().
getInt
(
"data.newCustomNum"
);
Assert
.
assertTrue
(
newCustomNum
>
0
,
network
.
message
(
params
,
BasicConfig
.
MOBILE_customerStat
,
"
新客户数量未
null"
,
response
.
body
().
asString
()));
Assert
.
assertTrue
(
newCustomNum
>
0
,
network
.
message
(
params
,
BasicConfig
.
MOBILE_customerStat
,
"
老客户数量为
null"
,
response
.
body
().
asString
()));
int
oldCustomNum
=
response
.
jsonPath
().
getInt
(
"data.oldCustomNum"
);
Assert
.
assertTrue
(
oldCustomNum
>
0
,
network
.
message
(
params
,
BasicConfig
.
MOBILE_customerStat
,
"老客户数量
未
null"
,
response
.
body
().
asString
()));
Assert
.
assertTrue
(
oldCustomNum
>
0
,
network
.
message
(
params
,
BasicConfig
.
MOBILE_customerStat
,
"老客户数量
为
null"
,
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