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
37af82ae
Commit
37af82ae
authored
Jul 04, 2019
by
马博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
加延时
parent
b0c10f5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
兑吧卡密_兑换流程测试_ExchangeTest.java
...ava/http/cases/ExchangeTest/兑吧卡密_兑换流程测试_ExchangeTest.java
+4
-4
No files found.
src/test/java/http/cases/ExchangeTest/兑吧卡密_兑换流程测试_ExchangeTest.java
View file @
37af82ae
...
...
@@ -158,7 +158,7 @@ public class 兑吧卡密_兑换流程测试_ExchangeTest extends CheckTemplet {
logger
.
info
(
"商品兑换按钮:"
+
exchangeText
);
//第二次兑换
Thread
.
sleep
(
3
000
);
Thread
.
sleep
(
5
000
);
try
{
response
=
gawService
.
couponExchange
(
cookies
,
appItemId
,
itemId
,
skuId
);
response
.
prettyPrint
();
...
...
@@ -221,7 +221,7 @@ public class 兑吧卡密_兑换流程测试_ExchangeTest extends CheckTemplet {
logger
.
info
(
"商品兑换按钮:"
+
exchangeText
);
//第二次兑换
Thread
.
sleep
(
3
000
);
Thread
.
sleep
(
5
000
);
try
{
response
=
gawService
.
couponExchange
(
cookies
,
appItemId
,
itemId
,
skuId
);
response
.
prettyPrint
();
...
...
@@ -231,7 +231,7 @@ public class 兑吧卡密_兑换流程测试_ExchangeTest extends CheckTemplet {
}
logger
.
info
(
message
);
Assert
.
assertTrue
(
message
.
contains
(
"
已达兑换次数
上限"
),
"校验message失败"
);
Assert
.
assertTrue
(
message
.
contains
(
"
该批次已达兑换
上限"
),
"校验message失败"
);
Assert
.
assertTrue
(
message
.
contains
(
"\"success\":false"
),
"校验success失败"
);
//按钮文案不变
...
...
@@ -285,7 +285,7 @@ public class 兑吧卡密_兑换流程测试_ExchangeTest extends CheckTemplet {
logger
.
info
(
"商品兑换按钮:"
+
exchangeText
);
//第二次兑换
Thread
.
sleep
(
3
000
);
Thread
.
sleep
(
5
000
);
try
{
response
=
gawService
.
couponExchange
(
cookies
,
appItemId
,
itemId
,
skuId
);
response
.
prettyPrint
();
...
...
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