Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oto
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
龚小红
oto
Commits
450f78fc
Commit
450f78fc
authored
Jul 22, 2021
by
张艳玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新好运红包用例
parent
375b9e36
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
FlipCard.java
src/test/java/com/kjj/cases/live/flipCard/FlipCard.java
+3
-1
No files found.
src/test/java/com/kjj/cases/live/flipCard/FlipCard.java
View file @
450f78fc
...
@@ -219,19 +219,21 @@ public class FlipCard implements Authorization {
...
@@ -219,19 +219,21 @@ public class FlipCard implements Authorization {
//预约
//预约
@Test
(
description
=
"翻牌集字_预约"
,
priority
=
12
)
@Test
(
description
=
"翻牌集字_预约"
,
priority
=
12
)
public
void
翻牌集字
_
预约
()
{
public
void
翻牌集字
_
预约
()
{
ThreadSleepUtils
.
sleep
(
3000
);
Map
<
String
,
Object
>
params
=
new
HashMap
<>();
Map
<
String
,
Object
>
params
=
new
HashMap
<>();
params
.
put
(
"bizType"
,
1
);
params
.
put
(
"bizType"
,
1
);
params
.
put
(
"bizId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()));
params
.
put
(
"bizId"
,
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()));
params
.
put
(
"markIds"
,
Collections
.
singleton
(
144
));
params
.
put
(
"markIds"
,
Collections
.
singleton
(
144
));
visitorAuth9
();
visitorAuth9
();
ThreadSleepUtils
.
sleep
(
2000
);
Response
response
=
network
.
postResponse
(
params
,
BasicConfig
.
MOBILE_appointment
);
Response
response
=
network
.
postResponse
(
params
,
BasicConfig
.
MOBILE_appointment
);
boolean
data
=
response
.
jsonPath
().
getBoolean
(
"data"
);
boolean
data
=
response
.
jsonPath
().
getBoolean
(
"data"
);
System
.
out
.
println
(
data
);
System
.
out
.
println
(
data
);
Assert
.
assertTrue
(
data
,
network
.
message
(
params
,
BasicConfig
.
MOBILE_appointment
,
"预约失败"
,
response
.
body
().
asString
()));
Assert
.
assertTrue
(
data
,
network
.
message
(
params
,
BasicConfig
.
MOBILE_appointment
,
"预约失败"
,
response
.
body
().
asString
()));
visitorAuth22
();
visitorAuth22
();
ThreadSleepUtils
.
sleep
(
2000
);
Response
appointmentRes
=
network
.
postResponse
(
params
,
BasicConfig
.
MOBILE_appointment
);
Response
appointmentRes
=
network
.
postResponse
(
params
,
BasicConfig
.
MOBILE_appointment
);
boolean
data1
=
appointmentRes
.
jsonPath
().
getBoolean
(
"data"
);
boolean
data1
=
appointmentRes
.
jsonPath
().
getBoolean
(
"data"
);
System
.
out
.
println
(
data1
);
System
.
out
.
println
(
data1
);
...
...
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