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
9ce9c447
Commit
9ce9c447
authored
Aug 04, 2021
by
龚小红
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加了新手引导的测试用例
parent
4ae4d218
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
325 additions
and
26 deletions
+325
-26
PersonCard.java
src/test/java/com/kjj/cases/assistant/card/PersonCard.java
+1
-1
NoviceGuidance.java
...est/java/com/kjj/cases/assistant/menu/NoviceGuidance.java
+319
-23
BasicConfig.java
src/test/java/com/kjj/config/BasicConfig.java
+4
-1
wechatTestNG.xml
src/test/wechatTestNG.xml
+1
-1
No files found.
src/test/java/com/kjj/cases/assistant/card/PersonCard.java
View file @
9ce9c447
...
...
@@ -747,7 +747,7 @@ public class PersonCard implements Authorization {
Response
response
=
network
.
getResponse
(
params
,
SELLERCARD_getQuestions
);
boolean
success
=
response
.
jsonPath
().
getBoolean
(
"success"
);
Object
data
=
response
.
jsonPath
().
getJsonObject
(
"data"
);
questionId
=
response
.
jsonPath
().
get
JsonObject
(
"data.questionList.get(0).id"
);
questionId
=
response
.
jsonPath
().
get
String
(
"data.questionList.get(0).id"
);
Assert
.
assertTrue
(
success
,
network
.
message
(
params
,
SELLERCARD_getQuestions
,
"接口返回失败"
,
response
.
body
().
asString
()));
Assert
.
assertNotNull
(
data
,
network
.
message
(
params
,
SELLERCARD_getQuestions
,
"配置为空"
,
response
.
body
().
asString
()));
}
...
...
src/test/java/com/kjj/cases/assistant/menu/NoviceGuidance.java
View file @
9ce9c447
This diff is collapsed.
Click to expand it.
src/test/java/com/kjj/config/BasicConfig.java
View file @
9ce9c447
...
...
@@ -623,6 +623,7 @@ public class BasicConfig {
public
static
final
String
QRCODE_create
=
HOST
+
"/kjy/mp/qrcode/create"
;
public
static
final
String
UPLOAD_image
=
HOST
+
"/kjy/mp/upload/image"
;
public
static
final
String
DYNAMIC_addVisit
=
HOST
+
"/kjy/mp/seller/dynamic/addVisit"
;
public
static
final
String
ROOKIEGUIDE_homeGuide
=
HOST
+
"/kjy/mp/rookieGuide/homeGuide"
;
// *************** 支付 ***************
public
static
final
String
PAY_getMiddleDetail
=
HOST
+
"/kjy/mp/payMiddle/getMiddleDetail"
;
...
...
@@ -969,5 +970,7 @@ public class BasicConfig {
public
static
final
String
MANAGER_vipList
=
MANAGER_HOST
+
"/kjy/manager/seller/vipList"
;
public
static
final
String
MANAGER_disableUser
=
MANAGER_HOST
+
"/kjy/manager/testUser/disableUser"
;
public
static
final
String
MANAGER_updateTypeOrDate
=
MANAGER_HOST
+
"/kjy/manager/seller/updateTypeOrDate"
;
public
static
final
String
MANAGER_oamsg
=
MANAGER_HOST
+
"/kjy/notify/oamsg"
;
public
static
final
String
MANAGER_oamsg
=
HOST
+
"/kjy/notify/oamsg"
;
public
static
final
String
MANAGER_encryptTku
=
MANAGER_HOST
+
"/kjy/manager/testUser/encryptTku"
;
public
static
final
String
MANAGER_changeCompany
=
MANAGER_HOST
+
"/kjy/manager/seller/changeCompany"
;
}
src/test/wechatTestNG.xml
View file @
9ce9c447
...
...
@@ -85,7 +85,7 @@
<!-- </test>-->
<test
preserve-order=
"true"
name =
"新手引导"
>
<classes>
<class
name=
"com.kjj.cases.assistant.menu.
PersonalCenter
"
/>
<class
name=
"com.kjj.cases.assistant.menu.
NoviceGuidance
"
/>
</classes>
</test>
</suite>
...
...
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