Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
test-platform
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
马博
test-platform
Commits
eb19603c
Commit
eb19603c
authored
Dec 07, 2018
by
赵然
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zr
parent
9b267232
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
PluginDrawingtool_pluginTest.java
...ases/PluginActivityTest/PluginDrawingtool_pluginTest.java
+3
-2
No files found.
src/test/java/http/cases/PluginActivityTest/PluginDrawingtool_pluginTest.java
View file @
eb19603c
...
...
@@ -150,9 +150,10 @@ public class PluginDrawingtool_pluginTest extends DuibaTestBase {
logger
.
info
(
"校验链接券码成功"
);
break
;
case
2
:
Assert
.
assertTrue
(
response
.
jsonPath
().
getString
(
"lottery.openUrl"
).
contains
(
"//activity.m.duibatest.com.cn/crecord/recordDetailNew"
));
// Assert.assertTrue(response.jsonPath().getString("lottery.openUrl").contains("//activity.m.duibatest.com.cn/crecord/recordDetailNew"));
Assert
.
assertTrue
(
response
.
jsonPath
().
getString
(
"lottery.iosDownloadUrl"
).
contains
(
"//activity.m.duibatest.com.cn/crecord/recordDetailNew"
));
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"lottery.id"
),
"2003"
,
"校验id失败"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"lottery.showUse"
),
"
tru
e"
,
"校验是否展示马上使用失败"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"lottery.showUse"
),
"
fals
e"
,
"校验是否展示马上使用失败"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"lottery.useBtnText"
),
"查看使用方法"
,
"校验按钮文案展示失败"
);
logger
.
info
(
"校验跳转兑换记录链接成功"
);
break
;
...
...
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