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
8ed470f9
Commit
8ed470f9
authored
Jul 04, 2019
by
吕雯燕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lv
parent
9c6574e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
兑吧新优惠券_兑换流程测试_ExchangeTest.java
...a/http/cases/ExchangeTest/兑吧新优惠券_兑换流程测试_ExchangeTest.java
+2
-2
No files found.
src/test/java/http/cases/ExchangeTest/兑吧新优惠券_兑换流程测试_ExchangeTest.java
View file @
8ed470f9
...
...
@@ -237,11 +237,11 @@ public class 兑吧新优惠券_兑换流程测试_ExchangeTest extends CheckTem
}
logger
.
info
(
message
);
Assert
.
assertTrue
(
message
.
contains
(
"
已达兑换次数
上限"
),
"校验message失败"
);
Assert
.
assertTrue
(
message
.
contains
(
"
该批次已达兑换
上限"
),
"校验message失败"
);
Assert
.
assertTrue
(
message
.
contains
(
"\"success\":false"
),
"校验success失败"
);
//按钮文案不变
Assert
.
assertEquals
(
exchangeText
,
"
马上兑换
"
,
"校验兑换按钮失败"
);
Assert
.
assertEquals
(
exchangeText
,
"
该批次已达兑换上限
"
,
"校验兑换按钮失败"
);
logger
.
info
(
"校验优惠券每人限购批次限制成功"
);
}
catch
(
Exception
e
){
...
...
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