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
fa6bd4f4
Commit
fa6bd4f4
authored
Jul 16, 2021
by
郭姣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
今日早报、问答接口自动化用例
parent
6cff471e
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
503 additions
and
21 deletions
+503
-21
DailyPaper.java
src/test/java/com/kjj/cases/assistant/DailyPaper.java
+275
-0
RecommendMaterial.java
src/test/java/com/kjj/cases/assistant/RecommendMaterial.java
+201
-17
BasicConfig.java
src/test/java/com/kjj/config/BasicConfig.java
+22
-4
wechatTestNG.xml
src/test/wechatTestNG.xml
+5
-0
No files found.
src/test/java/com/kjj/cases/assistant/DailyPaper.java
0 → 100644
View file @
fa6bd4f4
This diff is collapsed.
Click to expand it.
src/test/java/com/kjj/cases/assistant/RecommendMaterial.java
View file @
fa6bd4f4
This diff is collapsed.
Click to expand it.
src/test/java/com/kjj/config/BasicConfig.java
View file @
fa6bd4f4
...
...
@@ -674,6 +674,7 @@ public class BasicConfig {
public
static
final
String
ARTICLE_GETENHANCEDCOLUMNCONFIG
=
HOST
+
"/kjy/mp/sellerConfig/getEnhancedColumnConfig"
;
public
static
final
String
ARTICLE_ENHANCEDCOLUMN_GETCONTENTS
=
HOST
+
"/kjy/mp/enhancedColumn/getContents"
;
public
static
final
String
ARTICLE_ENHANCEDCOLUMN_GETFAQS
=
HOST
+
"/kjy/mp/enhancedColumn/getFAQs"
;
public
static
final
String
ARTICLE_getQuestionDetail
=
HOST
+
"/kjy/mp/explosioncontent/qa/getQuestionDetail"
;
public
static
final
String
ARTICLE_GETEXPLOSIONCONTENTLIST
=
HOST
+
"/kjy/mp/explosioncontent/getExplosionContentList"
;
...
...
@@ -698,11 +699,26 @@ public class BasicConfig {
public
static
final
String
GRASS_lastInsurance
=
HOST
+
"/kjy/mp/welfare/lastInsurance"
;
public
static
final
String
GRASS_editInsurance
=
HOST
+
"/kjy/mp/welfare/editInsurance"
;
public
static
final
String
GRASS_delInsurance
=
HOST
+
"/kjy/mp/welfare/delInsurance"
;
public
static
final
String
GRASS_materialListV2
=
HOST
+
"/kjy/mp/welfare/materialListV2"
;
public
static
final
String
GRASS_getDetailList
=
HOST
+
"/kjy/mp/datagram/getDetailList"
;
public
static
final
String
GRASS_getArticleInfo
=
HOST
+
"/kjy/mp/datagram/getArticleInfo"
;
public
static
final
String
GRASS_direct
=
HOST
+
"/kjy/mp/user/direct"
;
// ************* 今日早报 *********
public
static
final
String
Daily_dailyList
=
HOST
+
"/kjy/mp/gatherPage/dailyList"
;
public
static
final
String
Daily_getHomeConf
=
HOST
+
"/kjy/mp/home/getHomeConf"
;
public
static
final
String
Daily_getHomeCaseList
=
HOST
+
"/kjy/mp/successCases/getHomeCaseList"
;
public
static
final
String
Daily_getCaseList
=
HOST
+
"/kjy/mp/successCases/getCaseList"
;
public
static
final
String
Daily_getHomeCompanyArea
=
HOST
+
"/kjy/mp/home/getHomeCompanyArea"
;
public
static
final
String
Daily_getTagList
=
HOST
+
"/kjy/mp/companyArea/getTagList"
;
public
static
final
String
Daily_getContentList
=
HOST
+
"/kjy/mp/companyArea/getContentList"
;
public
static
final
String
Daily_list
=
HOST
+
"/kjy/mp/companyDocument/list"
;
public
static
final
String
Daily_eveningList
=
HOST
+
"/kjy/mp/gatherPage/eveningList"
;
// ************** 首页 ****************
public
static
final
String
HOME_GETHOMETIMELINECONTENT
=
HOST
+
"/kjy/mp/home/getHomeTimeLineContent"
;
public
static
final
String
HOME_getInfo
=
HOST
+
"/kjy/mp/dailyPoster/getInfo"
;
public
static
final
String
HOME_selectPage
=
HOST
+
"/kjy/mp/dailyPoster/selectPage"
;
// ************** 设置中心 ***************
public
static
final
String
SELLERCONFIG_EDITCONFIG
=
HOST
+
"/kjy/mp/sellerConfig/editConfig"
;
...
...
@@ -747,6 +763,8 @@ public class BasicConfig {
public
static
final
String
MANAGER_PROMOTIONCODELIST
=
MANAGER_HOST
+
"/kjy/manager/promotionCode/codeList"
;
public
static
final
String
MANAGER_PROMOTIONBATCHMODIFY
=
MANAGER_HOST
+
"/kjy/manager/promotionCode/batchModify"
;
public
static
final
String
MANAGER_PROMOTIONCODEBATCHDETAIL
=
MANAGER_HOST
+
"/kjy/manager/promotionCode/batchDetail"
;
public
static
final
String
MANAGER_dailyPostersList
=
MANAGER_HOST
+
"/kjy/manager/dailyPosters/list"
;
public
static
final
String
MANAGER_findId
=
MANAGER_HOST
+
"/kjy/manager/dailyPosters/findById"
;
public
static
final
String
MANAGER_addOrUpdate
=
MANAGER_HOST
+
"/kjy/manager/dailyPosters/addOrUpdate"
;
public
static
final
String
MANAGER_dailyPostersDelete
=
MANAGER_HOST
+
"/kjy/manager/dailyPosters/delete"
;
}
src/test/wechatTestNG.xml
View file @
fa6bd4f4
...
...
@@ -56,6 +56,11 @@
<class
name=
"com.kjj.cases.assistant.RecommendMaterial"
/>
</classes>
</test>
<test
preserve-order=
"true"
name =
"今日早报"
>
<classes>
<class
name=
"com.kjj.cases.assistant.DailyPaper"
/>
</classes>
</test>
</suite>
<!-- 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