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
c8efa2ed
Commit
c8efa2ed
authored
Jun 05, 2019
by
吕雯燕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lv
parent
d38604a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
兑吧新实物_兑换流程测试_ExchangeTest.java
...va/http/cases/ExchangeTest/兑吧新实物_兑换流程测试_ExchangeTest.java
+5
-6
No files found.
src/test/java/http/cases/ExchangeTest/兑吧新实物_兑换流程测试_ExchangeTest.java
View file @
c8efa2ed
...
...
@@ -449,19 +449,18 @@ public class 兑吧新实物_兑换流程测试_ExchangeTest extends CheckTemple
@Test
(
description
=
"新实物确认下单页面"
)
public
void
实物确认下单测试
()
throws
Exception
{
int
uid
=
7284
;
String
appItemId
=
"196093"
;
String
appSkuId
=
"154"
;
String
appItemId
=
"196218"
;
String
appSkuId
=
"145"
;
Response
response
=
gawService
.
confirmItemDetail
(
uid
,
appItemId
,
appSkuId
);
response
.
prettyPrint
();
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"data.items[0].sku.attr[0].value"
),
"白色"
,
"校验sku信息颜色失败"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"data.items[0].sku.attr[1].value"
),
"S"
,
"校验sku信息尺寸失败"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"data.items[0].sku.credits"
),
"
2
00"
,
"校验sku商品积分失败"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"data.items[0].multiImage"
),
"//yun.dui88.com/images/20190
5/h8x0e1talx.pn
g"
,
"校验图片信息失败"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"data.items[0].sku.credits"
),
"
1
00"
,
"校验sku商品积分失败"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"data.items[0].multiImage"
),
"//yun.dui88.com/images/20190
6/9p72lmu1qn.jp
g"
,
"校验图片信息失败"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"data.items[0].title"
),
"【自动化勿动】自有实物sku"
,
"校验实物名称失败"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"data.orderCredits"
),
"
2
00"
,
"校验订单积分失败"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"data.orderCredits"
),
"
1
00"
,
"校验订单积分失败"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"data.expressPrice"
),
"500"
,
"校验订单运费金额失败"
);
Assert
.
assertEquals
(
response
.
jsonPath
().
getString
(
"data.consumerPayPrice"
),
"500"
,
"校验订单支付金额失败"
);
...
...
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