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
b2e5f1f0
Commit
b2e5f1f0
authored
Jan 11, 2021
by
xiaotian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
关闭名片跟随开关
parent
c0386077
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
Article.java
src/test/java/com/kjj/qa/cases/Article.java
+6
-0
No files found.
src/test/java/com/kjj/qa/cases/Article.java
View file @
b2e5f1f0
...
...
@@ -68,6 +68,12 @@ public class Article {
isChanged
=
response
.
jsonPath
().
getBoolean
(
"data"
);
Assert
.
assertTrue
(
isChanged
,
network
.
message
(
sellerCardParams
,
SELLERCONFIG_EDITCONFIG
,
"关闭素材底部名片失败"
,
response
.
body
().
asString
()));
sellerCardParams
.
put
(
"configKey"
,
"card_show_on_roll"
);
//顶部名片跟随文章展示
sellerCardParams
.
put
(
"configValue"
,
false
);
response
=
network
.
postResponse
(
sellerCardParams
,
SELLERCONFIG_EDITCONFIG
);
isChanged
=
response
.
jsonPath
().
getBoolean
(
"data"
);
Assert
.
assertTrue
(
isChanged
,
network
.
message
(
sellerCardParams
,
SELLERCONFIG_EDITCONFIG
,
"关闭顶部名片跟随文章展示失败"
,
response
.
body
().
asString
()));
//检查文章内名片展示
Map
<
String
,
Object
>
params
=
new
HashMap
<
String
,
Object
>();
params
.
put
(
"scid"
,
scid
);
...
...
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