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
991a67fb
Commit
991a67fb
authored
Nov 23, 2021
by
龚小红
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'gifeature/20211115-gj' into 'master'
集客助手公司专区增加视频类型修复2 See merge request test-group/kejiji!168
parents
ef43b427
1e988fce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
HomePage.java
src/test/java/com/kjj/cases/assistant/homePage/HomePage.java
+2
-2
No files found.
src/test/java/com/kjj/cases/assistant/homePage/HomePage.java
View file @
991a67fb
...
...
@@ -454,7 +454,7 @@ public class HomePage implements Authorization {
paramsList
.
put
(
"source"
,
1
);
Response
dataRes
=
network
.
getResponse
(
paramsList
,
HOME_companyGetContentList
);
int
totalCount
=
dataRes
.
jsonPath
().
getInt
(
"data.totalCount"
);
int
totalCountNew
=
companyCount
-
3
;
//因为其中还包含
一
个视频,一个删除的文章,所以减去2
int
totalCountNew
=
companyCount
-
3
;
//因为其中还包含
2
个视频,一个删除的文章,所以减去2
Assert
.
assertEquals
(
totalCount
,
totalCountNew
,
network
.
message
(
paramsList
,
HOME_companyGetContentList
,
"获取公司专区内容列表数据错误"
,
dataRes
.
body
().
asString
()));
}
...
...
@@ -492,7 +492,7 @@ public class HomePage implements Authorization {
paramsList
.
put
(
"source"
,
1
);
Response
dataRes
=
network
.
getResponse
(
paramsList
,
HOME_companyGetContentList
);
int
totalCountNew
=
dataRes
.
jsonPath
().
getInt
(
"data.totalCount"
);
Assert
.
assertEquals
(
totalCountNew
,
companyCount
-
1
,
network
.
message
(
paramsList
,
HOME_companyGetContentList
,
"获取公司专区内容列表数据错误"
,
dataRes
.
body
().
asString
()));
Assert
.
assertEquals
(
totalCountNew
,
companyCount
-
2
,
network
.
message
(
paramsList
,
HOME_companyGetContentList
,
"获取公司专区内容列表数据错误"
,
dataRes
.
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