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
75b3d8cc
Commit
75b3d8cc
authored
Aug 20, 2021
by
龚小红
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加亲友抽奖券的代码
parent
de9cd227
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23543 additions
and
11155 deletions
+23543
-11155
Authorization.java
src/test/java/com/kjj/cases/admin/Authorization.java
+6
-2
LiveLater.java
src/test/java/com/kjj/cases/live/agent/LiveLater.java
+2
-0
Lottery.java
src/test/java/com/kjj/cases/live/lottery/Lottery.java
+0
-1
report.html
test-output/report.html
+23535
-11152
No files found.
src/test/java/com/kjj/cases/admin/Authorization.java
View file @
75b3d8cc
...
@@ -229,12 +229,16 @@ public interface Authorization {
...
@@ -229,12 +229,16 @@ public interface Authorization {
network
.
agentCookies
.
put
(
"authKey"
,
visitorAuth25
);
network
.
agentCookies
.
put
(
"authKey"
,
visitorAuth25
);
System
.
out
.
println
(
"用户AUTH_KEY:"
+
visitorAuth25
);
System
.
out
.
println
(
"用户AUTH_KEY:"
+
visitorAuth25
);
}
}
//访客X(
亦心
)ID:96 实名
//访客X(
Xmz
)ID:96 实名
default
void
visitorAuth26
()
{
default
void
visitorAuth26
()
{
network
.
agentCookies
.
put
(
"authKey"
,
visitorAuth26
);
network
.
agentCookies
.
put
(
"authKey"
,
visitorAuth26
);
System
.
out
.
println
(
"用户AUTH_KEY:"
+
visitorAuth26
);
System
.
out
.
println
(
"用户AUTH_KEY:"
+
visitorAuth26
);
}
}
//访客X(Db)ID:96 实名
default
void
visitorAuth27
()
{
network
.
agentCookies
.
put
(
"authKey"
,
visitorAuth27
);
System
.
out
.
println
(
"用户AUTH_KEY:"
+
visitorAuth27
);
}
}
}
src/test/java/com/kjj/cases/live/agent/LiveLater.java
View file @
75b3d8cc
...
@@ -5,6 +5,7 @@ import com.kjj.bean.agent.LiveUserList;
...
@@ -5,6 +5,7 @@ import com.kjj.bean.agent.LiveUserList;
import
com.kjj.cases.admin.Authorization
;
import
com.kjj.cases.admin.Authorization
;
import
com.kjj.config.BasicConfig
;
import
com.kjj.config.BasicConfig
;
import
com.kjj.constants.LiveConstants
;
import
com.kjj.constants.LiveConstants
;
import
com.kjj.utils.IdMakeUtil
;
import
com.kjj.utils.JsonUtil
;
import
com.kjj.utils.JsonUtil
;
import
com.kjj.utils.ThreadSleepUtils
;
import
com.kjj.utils.ThreadSleepUtils
;
import
io.restassured.response.Response
;
import
io.restassured.response.Response
;
...
@@ -20,6 +21,7 @@ public class LiveLater implements Authorization {
...
@@ -20,6 +21,7 @@ public class LiveLater implements Authorization {
public
String
pageSize
;
public
String
pageSize
;
public
List
<
LiveUserList
>
liveUserId
;
public
List
<
LiveUserList
>
liveUserId
;
@BeforeClass
@BeforeClass
public
void
setUp
()
{
agentAuth
();
}
public
void
setUp
()
{
agentAuth
();
}
...
...
src/test/java/com/kjj/cases/live/lottery/Lottery.java
View file @
75b3d8cc
...
@@ -589,7 +589,6 @@ public class Lottery implements Authorization {
...
@@ -589,7 +589,6 @@ public class Lottery implements Authorization {
long
data
=
myCountRes
.
jsonPath
().
getLong
(
"data"
);
long
data
=
myCountRes
.
jsonPath
().
getLong
(
"data"
);
System
.
out
.
println
(
data
);
System
.
out
.
println
(
data
);
Assert
.
assertNotNull
(
data
,
network
.
message
(
myCountParam
,
BasicConfig
.
USER_myCount
,
"获取抽奖码数量失败"
,
myCountRes
.
body
().
asString
()));
Assert
.
assertNotNull
(
data
,
network
.
message
(
myCountParam
,
BasicConfig
.
USER_myCount
,
"获取抽奖码数量失败"
,
myCountRes
.
body
().
asString
()));
}
}
@Test
(
description
=
"幸运任务邀请E关系绑定"
,
priority
=
42
)
@Test
(
description
=
"幸运任务邀请E关系绑定"
,
priority
=
42
)
...
...
test-output/report.html
View file @
75b3d8cc
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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