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
1ee13797
Commit
1ee13797
authored
Dec 24, 2018
by
赵然
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zr
parent
3b318b29
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
补给站_活动_DuibaTest.java
...t/java/http/cases/SaasDeveloperTest/补给站_活动_DuibaTest.java
+13
-0
No files found.
src/test/java/http/cases/SaasDeveloperTest/补给站_活动_DuibaTest.java
View file @
1ee13797
...
...
@@ -28,6 +28,19 @@ public class 补给站_活动_DuibaTest extends AbstractTestNGSpringContextTests
//添加活动
@Test
(
description
=
"//添加活动"
)
public
void
a_
添加活动
()
throws
Exception
{
//查询订单列表
Response
orderResponse
=
developerBJZ
.
selectOrders
(
"1"
,
appId
);
String
id
=
orderResponse
.
jsonPath
().
getString
(
"data.list"
);
logger
.
info
(
"待付款订单id为:"
+
id
);
if
(
id
.
equals
(
"[]"
)){
logger
.
info
(
"订购列表无待付款订单"
);
}
else
{
id
=
orderResponse
.
jsonPath
().
getString
(
"data.list[0].id"
);
logger
.
info
(
"待付款订单id为:"
+
id
);
developerBJZ
.
cancleOrder
(
id
,
appId
);
logger
.
info
(
"待付款订单取消成功"
);
}
//查询热门活动-活动列表,获取商品ID
Response
response
=
developerBJZ
.
saasActivitys
(
"3"
,
appId
);
String
goodItemId
=
String
.
valueOf
(
response
.
jsonPath
().
getString
(
"data.saasActivitys[0].id"
));
...
...
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