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
f5e48399
Commit
f5e48399
authored
Jan 11, 2021
by
张震
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/20210111-hotfix' into 'master'
关闭名片跟随开关 See merge request test-group/kejiji!24
parents
c0386077
b2e5f1f0
Changes
1
Show 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 @
f5e48399
...
@@ -68,6 +68,12 @@ public class Article {
...
@@ -68,6 +68,12 @@ public class Article {
isChanged
=
response
.
jsonPath
().
getBoolean
(
"data"
);
isChanged
=
response
.
jsonPath
().
getBoolean
(
"data"
);
Assert
.
assertTrue
(
isChanged
,
network
.
message
(
sellerCardParams
,
SELLERCONFIG_EDITCONFIG
,
"关闭素材底部名片失败"
,
response
.
body
().
asString
()));
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
>();
Map
<
String
,
Object
>
params
=
new
HashMap
<
String
,
Object
>();
params
.
put
(
"scid"
,
scid
);
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