Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xm-sportstest
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiamai-test
xm-sportstest
Commits
fb3285c5
Commit
fb3285c5
authored
Jun 27, 2025
by
yangjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
积分增加sleep时间
parent
bab6cbd4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
src/main/java/com/xiaomai/cases/polar/points/TestFindAccountPagePermission.java
+3
-1
No files found.
src/main/java/com/xiaomai/cases/polar/points/TestFindAccountPagePermission.java
View file @
fb3285c5
...
...
@@ -39,7 +39,7 @@ public class TestFindAccountPagePermission extends XMBaseTest {
@Test
(
description
=
"场馆手动-积分"
)
public
void
testFindAccountPagePermission
(){
public
void
testFindAccountPagePermission
()
throws
InterruptedException
{
String
phone
=
"13357537209"
;
String
memberId
=
trainingTools
.
searchTargerMember
(
phone
);
if
(
memberId
.
isEmpty
())
{
...
...
@@ -59,6 +59,7 @@ public class TestFindAccountPagePermission extends XMBaseTest {
pointsTools
.
manualAwardPoint
(
"1"
,
memberId
);
//会员详情增加1积分
Thread
.
sleep
(
1000
);
//核对积分帐户的积分的变化
int
AftotalAwardBalance1
=
Integer
.
parseInt
(
XMJSONPath
.
readPath
(
pointsTools
.
findAccountPagePermission
(
xmAppApi
.
getLoginInfo
().
getStudioId
(),
memberId
),
"$.result.records[0].totalAwardBalance"
));
//发放积分数
int
AfleftBalance1
=
Integer
.
parseInt
(
XMJSONPath
.
readPath
(
pointsTools
.
findAccountPagePermission
(
xmAppApi
.
getLoginInfo
().
getStudioId
(),
memberId
),
"$.result.records[0].leftBalance"
));
//剩余积分数
...
...
@@ -76,6 +77,7 @@ public class TestFindAccountPagePermission extends XMBaseTest {
pointsTools
.
manualDeductPoint
(
"1"
,
memberId
);
//会员详情扣减1积分
Thread
.
sleep
(
1000
);
//核对积分帐户的积分的变化
int
AfalreadyUsedBalance2
=
Integer
.
parseInt
(
XMJSONPath
.
readPath
(
pointsTools
.
findAccountPagePermission
(
xmAppApi
.
getLoginInfo
().
getStudioId
(),
memberId
),
"$.result.records[0].alreadyUsedBalance"
));
//已使用积分积分数
int
AfleftBalance2
=
Integer
.
parseInt
(
XMJSONPath
.
readPath
(
pointsTools
.
findAccountPagePermission
(
xmAppApi
.
getLoginInfo
().
getStudioId
(),
memberId
),
"$.result.records[0].leftBalance"
));
//剩余积分数
...
...
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