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
3405d019
Commit
3405d019
authored
Dec 15, 2021
by
郭姣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
公司专区增加赠险、测评接口用例
parent
990d31a5
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
250 additions
and
30 deletions
+250
-30
HomePage.java
src/test/java/com/kjj/cases/assistant/homePage/HomePage.java
+236
-29
BasicConfig.java
src/test/java/com/kjj/config/BasicConfig.java
+12
-1
BaseUtils.java
src/test/java/com/kjj/utils/BaseUtils.java
+2
-0
No files found.
src/test/java/com/kjj/cases/assistant/homePage/HomePage.java
View file @
3405d019
This diff is collapsed.
Click to expand it.
src/test/java/com/kjj/config/BasicConfig.java
View file @
3405d019
...
@@ -1005,6 +1005,8 @@ public class BasicConfig {
...
@@ -1005,6 +1005,8 @@ public class BasicConfig {
public
static
final
String
HOME_record
=
HOST
+
"/kjy/mp/clockIn/task/record"
;
public
static
final
String
HOME_record
=
HOST
+
"/kjy/mp/clockIn/task/record"
;
public
static
final
String
HOME_getGrassTagByName
=
HOST
+
"/kjy/mp/grassContent/getGrassTagByName"
;
public
static
final
String
HOME_getGrassTagByName
=
HOST
+
"/kjy/mp/grassContent/getGrassTagByName"
;
public
static
final
String
HOME_companyGetContentList
=
HOST
+
"/kjy/mp/companyArea/getContentList"
;
public
static
final
String
HOME_companyGetContentList
=
HOST
+
"/kjy/mp/companyArea/getContentList"
;
public
static
final
String
HOME_companyInteract
=
HOST
+
"/kjy/mp/article/companyInteract"
;
public
static
final
String
HOME_companyInsurance
=
HOST
+
"/kjy/mp/article/companyInsurance"
;
//******************个人中心**********************
//******************个人中心**********************
public
static
final
String
USINGSTRATAGY_index
=
HOST
+
"/kjy/mp/usingStrategy/index"
;
public
static
final
String
USINGSTRATAGY_index
=
HOST
+
"/kjy/mp/usingStrategy/index"
;
public
static
final
String
USINGSTRATAGY_strategyList
=
HOST
+
"/kjy/mp/usingStrategy/strategyList"
;
public
static
final
String
USINGSTRATAGY_strategyList
=
HOST
+
"/kjy/mp/usingStrategy/strategyList"
;
...
@@ -1198,7 +1200,16 @@ public class BasicConfig {
...
@@ -1198,7 +1200,16 @@ public class BasicConfig {
public
static
final
String
MANAGER_qa_pageList
=
MANAGER_HOST
+
"/kjy/manager/qa/pageList"
;
public
static
final
String
MANAGER_qa_pageList
=
MANAGER_HOST
+
"/kjy/manager/qa/pageList"
;
public
static
final
String
MANAGER_qa_del
=
MANAGER_HOST
+
"/kjy/manager/qa/del"
;
public
static
final
String
MANAGER_qa_del
=
MANAGER_HOST
+
"/kjy/manager/qa/del"
;
public
static
final
String
MANAGER_conf_getDetail
=
MANAGER_HOST
+
"/kjy/manager/live/pre/conf/getDetail"
;
public
static
final
String
MANAGER_conf_getDetail
=
MANAGER_HOST
+
"/kjy/manager/live/pre/conf/getDetail"
;
public
static
final
String
MANAGER_insuranceListByCompanyId
=
MANAGER_HOST
+
"/kjy/manager/insurance/listByCompanyId"
;
public
static
final
String
MANAGER_insuranceUpdate
=
MANAGER_HOST
+
"/kjy/manager/insurance/update"
;
public
static
final
String
MANAGER_adviceWordAddOrUpdateWord
=
MANAGER_HOST
+
"/kjy/manager/adviceWord/addOrUpdateWord"
;
public
static
final
String
MANAGER_adviceWordGetWordList
=
MANAGER_HOST
+
"/kjy/manager/adviceWord/getWordList"
;
public
static
final
String
MANAGER_insuranceSwitchStatus
=
MANAGER_HOST
+
"/kjy/manager/insurance/switchStatus"
;
public
static
final
String
MANAGER_exclusiveItemConfItemExt
=
MANAGER_HOST
+
"/kjy/manager/exclusiveItem/confItemExt"
;
public
static
final
String
MANAGER_listSimpleByCompanyIds
=
MANAGER_HOST
+
"/kjy/manager/insurance/listSimpleByCompanyIds"
;
public
static
final
String
MANAGER_solutionActivityName
=
MANAGER_HOST
+
"/kjy/manager/interact/solution/activityName"
;
public
static
final
String
MANAGER_itemConfDetail
=
MANAGER_HOST
+
"/kjy/manager/exclusiveItem/itemConfDetail"
;
public
static
final
String
MANAGER_adviceWordDelWord
=
MANAGER_HOST
+
"/kjy/manager/adviceWord/delWord"
;
// 管理后台—企业后台
// 管理后台—企业后台
public
static
final
String
MANAGER_cockpitSaveOrUpdate
=
MANAGER_HOST
+
"/kjy/manager/corp/cockpit/saveOrUpdate"
;
public
static
final
String
MANAGER_cockpitSaveOrUpdate
=
MANAGER_HOST
+
"/kjy/manager/corp/cockpit/saveOrUpdate"
;
public
static
final
String
MANAGER_cockpitList
=
MANAGER_HOST
+
"/kjy/manager/corp/cockpit/list"
;
public
static
final
String
MANAGER_cockpitList
=
MANAGER_HOST
+
"/kjy/manager/corp/cockpit/list"
;
...
...
src/test/java/com/kjj/utils/BaseUtils.java
View file @
3405d019
...
@@ -258,6 +258,7 @@ public class BaseUtils {
...
@@ -258,6 +258,7 @@ public class BaseUtils {
* 公司管理员登录企业后台
* 公司管理员登录企业后台
*/
*/
public
static
void
companyUserLogin
(){
public
static
void
companyUserLogin
(){
ThreadSleepUtils
.
sleep
(
2000
);
// 调用登录接口
// 调用登录接口
Map
<
String
,
Object
>
params
=
new
HashMap
<
String
,
Object
>();
Map
<
String
,
Object
>
params
=
new
HashMap
<
String
,
Object
>();
params
.
put
(
"phone"
,
"15136361307"
);
params
.
put
(
"phone"
,
"15136361307"
);
...
@@ -307,6 +308,7 @@ public class BaseUtils {
...
@@ -307,6 +308,7 @@ public class BaseUtils {
* 营业部管理员登录企业后台
* 营业部管理员登录企业后台
*/
*/
public
static
void
officeUserLogin
(){
public
static
void
officeUserLogin
(){
ThreadSleepUtils
.
sleep
(
2000
);
// 调用登录接口
// 调用登录接口
Map
<
String
,
Object
>
params
=
new
HashMap
<
String
,
Object
>();
Map
<
String
,
Object
>
params
=
new
HashMap
<
String
,
Object
>();
params
.
put
(
"phone"
,
"15136361306"
);
params
.
put
(
"phone"
,
"15136361306"
);
...
...
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