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
4c9e2eaa
Commit
4c9e2eaa
authored
Oct 18, 2021
by
龚小红
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'Feature/20211015-gxh' into 'master'
修改测试用例描述 See merge request test-group/kejiji!139
parents
1e594e1c
ade9d905
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
Agent.java
src/test/java/com/kjj/cases/live/agent/Agent.java
+1
-1
LiveBinding.java
src/test/java/com/kjj/cases/live/liveConfig/LiveBinding.java
+1
-1
Lottery.java
src/test/java/com/kjj/cases/live/lottery/Lottery.java
+2
-2
No files found.
src/test/java/com/kjj/cases/live/agent/Agent.java
View file @
4c9e2eaa
...
@@ -123,7 +123,7 @@ public class Agent implements Authorization {
...
@@ -123,7 +123,7 @@ public class Agent implements Authorization {
if
(
agentBeans
.
size
()
>
0
)
{
if
(
agentBeans
.
size
()
>
0
)
{
for
(
AgentBean
item:
agentBeans
)
{
for
(
AgentBean
item:
agentBeans
)
{
if
(
item
.
getLiveId
().
equals
(
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()))){
if
(
item
.
getLiveId
().
equals
(
LiveConstants
.
getValue
(
LiveConstants
.
StringKeyEnum
.
ENCODE_LIVE_ID
.
getKey
()))){
System
.
out
.
println
(
JSON
.
toJSONString
(
agentBeans
));
System
.
out
.
println
(
JSON
.
toJSONString
(
item
));
Assert
.
assertNotNull
(
item
,
network
.
message
(
params
,
BasicConfig
.
MOBILE_Procurator
,
"查询直播列表失败"
,
response
.
body
().
asString
()));
Assert
.
assertNotNull
(
item
,
network
.
message
(
params
,
BasicConfig
.
MOBILE_Procurator
,
"查询直播列表失败"
,
response
.
body
().
asString
()));
// 判断代理人邀约奖励openFlag是否为开
// 判断代理人邀约奖励openFlag是否为开
Assert
.
assertEquals
(
item
.
getAgentAwardOpenFlag
(),
1
,
network
.
message
(
params
,
MOBILE_Procurator
,
"代理人邀约奖励开启状态错误"
,
response
.
body
().
asString
()));
Assert
.
assertEquals
(
item
.
getAgentAwardOpenFlag
(),
1
,
network
.
message
(
params
,
MOBILE_Procurator
,
"代理人邀约奖励开启状态错误"
,
response
.
body
().
asString
()));
...
...
src/test/java/com/kjj/cases/live/liveConfig/LiveBinding.java
View file @
4c9e2eaa
...
@@ -104,7 +104,7 @@ public class LiveBinding implements Authorization {
...
@@ -104,7 +104,7 @@ public class LiveBinding implements Authorization {
token
();
token
();
}
}
//用户任务完成
@Test
(
description
=
"访客H分享直播间"
,
priority
=
6
)
@Test
(
description
=
"访客H分享直播间"
,
priority
=
6
)
public
void
访客
H
分享直播间
()
{
public
void
访客
H
分享直播间
()
{
visitorAuth9
();
visitorAuth9
();
...
...
src/test/java/com/kjj/cases/live/lottery/Lottery.java
View file @
4c9e2eaa
...
@@ -1095,8 +1095,8 @@ public class Lottery implements Authorization {
...
@@ -1095,8 +1095,8 @@ public class Lottery implements Authorization {
//不在公司指定区域内的用户
//不在公司指定区域内的用户
@Test
(
description
=
"团队指定访客F是否中奖"
,
priority
=
92
)
@Test
(
description
=
"团队指定访客
非区域
F是否中奖"
,
priority
=
92
)
public
void
团队指定访客
F
是否中奖
()
{
public
void
非
团队指定访客
F
是否中奖
()
{
visitorAuth6
();
visitorAuth6
();
ThreadSleepUtils
.
sleep
(
3000
);
ThreadSleepUtils
.
sleep
(
3000
);
Map
<
String
,
Object
>
hasEndParam
=
new
HashMap
<>();
Map
<
String
,
Object
>
hasEndParam
=
new
HashMap
<>();
...
...
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