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
56ec496b
Commit
56ec496b
authored
Nov 17, 2021
by
龚小红
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'gifeature/20211115-gj' into 'master'
增加代理人指定中奖开关 See merge request test-group/kejiji!165
parents
8e85ed8b
f295dbca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Upload.java
src/test/java/com/kjj/cases/assistant/homePage/Upload.java
+1
-1
No files found.
src/test/java/com/kjj/cases/assistant/homePage/Upload.java
View file @
56ec496b
...
@@ -190,7 +190,7 @@ public class Upload implements Authorization {
...
@@ -190,7 +190,7 @@ public class Upload implements Authorization {
response
=
network
.
getResponse
(
params
,
UPLOAD_listV2
);
response
=
network
.
getResponse
(
params
,
UPLOAD_listV2
);
length
=
response
.
jsonPath
().
getInt
(
"data.size()"
);
length
=
response
.
jsonPath
().
getInt
(
"data.size()"
);
contentType
=
response
.
jsonPath
().
getString
(
"data[0].contentType"
);
contentType
=
response
.
jsonPath
().
getString
(
"data[0].contentType"
);
Assert
.
assert
Equals
(
length
,
1
,
network
.
message
(
params
,
UPLOAD_listV2
,
"获取我的上传-视频列表内容有误"
,
response
.
body
().
asString
()));
//因为有一篇抖音,一篇本地,所以数量是2
Assert
.
assert
True
(
length
>
1
,
network
.
message
(
params
,
UPLOAD_listV2
,
"获取我的上传-视频列表内容有误"
,
response
.
body
().
asString
()));
//因为有一篇抖音,一篇本地,所以数量是2
Assert
.
assertEquals
(
contentType
,
"video"
,
network
.
message
(
params
,
UPLOAD_listV2
,
"获取我的上传-视频列表数量有误"
,
response
.
body
().
asString
()));
Assert
.
assertEquals
(
contentType
,
"video"
,
network
.
message
(
params
,
UPLOAD_listV2
,
"获取我的上传-视频列表数量有误"
,
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