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
8be2defb
Commit
8be2defb
authored
Jul 01, 2020
by
张震
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Boss看板优化调整
parent
b9038e04
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
4 deletions
+14
-4
Boss.java
src/test/java/com/kjj/qa/cases/Boss.java
+12
-2
BasicConfig.java
src/test/java/com/kjj/qa/config/BasicConfig.java
+2
-2
Article.class
target/test-classes/com/kjj/qa/cases/Article.class
+0
-0
Novice.class
target/test-classes/com/kjj/qa/cases/Novice.class
+0
-0
BasicConfig.class
target/test-classes/com/kjj/qa/config/BasicConfig.class
+0
-0
No files found.
src/test/java/com/kjj/qa/cases/Boss.java
View file @
8be2defb
...
...
@@ -28,7 +28,7 @@ public class Boss {
public
void
setUp
()
{
}
//BOSS看板正式版
//判断代理人的会员及版本
@Test
(
description
=
"会员及版本判断"
,
priority
=
1
)
public
void
会员及版本判断
()
throws
IOException
{
...
...
@@ -102,6 +102,13 @@ public class Boss {
Response
response
=
network
.
getResponse
(
params
,
BOSS_BOUND
);
boolean
data
=
response
.
jsonPath
().
getBoolean
(
"data"
);
//1 true:邀请成功;2 false:邀请失败
Assert
.
assertTrue
(
data
,
network
.
message
(
params
,
BOSS_BOUND
,
"接受邀请失败"
));
//获取被邀请人上级昵称
Map
<
String
,
Object
>
inviteparams
=
new
HashMap
<
String
,
Object
>();
params
.
put
(
"sellerId"
,
usellerId
);
Response
responses
=
network
.
getResponse
(
inviteparams
,
BOSS_BOSS
);
String
datae
=
responses
.
jsonPath
().
getString
(
"data"
);
Assert
.
assertEquals
(
datae
,
"$张"
,
network
.
message
(
params
,
BOSS_BOSS
,
"昵称不匹配"
));
}
...
...
@@ -184,4 +191,7 @@ public class Boss {
apiCount
+=
8
;
}
}
\ No newline at end of file
}
src/test/java/com/kjj/qa/config/BasicConfig.java
View file @
8be2defb
...
...
@@ -23,8 +23,8 @@ public class BasicConfig {
public
static
final
String
HOST
=
"https://kjj.m.duibatest.com.cn"
;
// "https://kjj.m.duiba.com.cn";
// *************** TKU ***************
//
public static final String VISITOR_TKU = "T3gM31f18jAW31GHJuxJmoCFoANch7fXayUgd4zHHg2hpXAyjSrevfGfzyNfVoHzSvenik8qR9nTEkCSy6";
public
static
final
String
VISITOR_TKU
=
"T3gM31f18jAW2hicRDxbwHFSuwA4MMVLLeHZ5G4yvb3kN3PcWwcLdzfxPp2gghfE4x3BFH8JN3f8PUzQ6W"
;
public
static
final
String
VISITOR_TKU
=
"T3gM31f18jAW31GHJuxJmoCFoANch7fXayUgd4zHHg2hpXAyjSrevfGfzyNfVoHzSvenik8qR9nTEkCSy6"
;
//
public static final String VISITOR_TKU = "T3gM31f18jAW2hicRDxbwHFSuwA4MMVLLeHZ5G4yvb3kN3PcWwcLdzfxPp2gghfE4x3BFH8JN3f8PUzQ6W";
// *************** 素材ID ***************
public
static
final
String
ARTICLE_CONTENTID
=
"Kj21NjM4NDc"
;
...
...
target/test-classes/com/kjj/qa/cases/Article.class
View file @
8be2defb
No preview for this file type
target/test-classes/com/kjj/qa/cases/Novice.class
View file @
8be2defb
No preview for this file type
target/test-classes/com/kjj/qa/config/BasicConfig.class
View file @
8be2defb
No preview for this file type
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