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
810b17f5
Commit
810b17f5
authored
Jul 07, 2020
by
Su-Yi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改tku
parent
f5a01349
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
534 additions
and
317 deletions
+534
-317
Article.java
src/test/java/com/kjj/qa/cases/Article.java
+0
-1
Pay.java
src/test/java/com/kjj/qa/cases/Pay.java
+21
-0
BasicConfig.java
src/test/java/com/kjj/qa/config/BasicConfig.java
+3
-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
Pay.class
target/test-classes/com/kjj/qa/cases/Pay.class
+0
-0
report.html
test-output/report.html
+510
-314
No files found.
src/test/java/com/kjj/qa/cases/Article.java
View file @
810b17f5
...
@@ -11,7 +11,6 @@ import org.testng.Assert;
...
@@ -11,7 +11,6 @@ import org.testng.Assert;
import
org.testng.annotations.*
;
import
org.testng.annotations.*
;
import
org.testng.annotations.Test
;
import
org.testng.annotations.Test
;
import
java.io.IOException
;
import
java.io.IOException
;
import
java.util.Date
;
import
java.util.Date
;
import
java.util.HashMap
;
import
java.util.HashMap
;
...
...
src/test/java/com/kjj/qa/cases/Pay.java
View file @
810b17f5
...
@@ -254,6 +254,27 @@ public class Pay {
...
@@ -254,6 +254,27 @@ public class Pay {
// 2.登录成功,切到管理后台
// 2.登录成功,切到管理后台
// network.host = MANAGER_HOST;
// network.host = MANAGER_HOST;
// 3.切换公司为客集集
Map
<
String
,
Object
>
changeParams
=
new
HashMap
<
String
,
Object
>();
changeParams
.
put
(
"id"
,
sellerId
);
changeParams
.
put
(
"companyId"
,
6
);
response
=
network
.
getResponse
(
changeParams
,
MANAGER_CHANGECOMPANY
);
// 4.切换vip
Map
<
String
,
Object
>
switchVipParams
=
new
HashMap
<
String
,
Object
>();
switchVipParams
.
put
(
"reason"
,
"1"
);
switchVipParams
.
put
(
"sellerId"
,
sellerId
);
switchVipParams
.
put
(
"userVersion"
,
2
);
switchVipParams
.
put
(
"vipType"
,
2
);
switchVipParams
.
put
(
"vipStartDate"
,
System
.
currentTimeMillis
());
switchVipParams
.
put
(
"vipEndDate"
,
System
.
currentTimeMillis
());
response
=
network
.
getResponse
(
switchVipParams
,
MANAGER_UPDATETYPEORDATE
);
// 5.切换公司为空
changeParams
.
remove
(
"companyId"
,
6
);
//去掉公司
response
=
network
.
getResponse
(
changeParams
,
MANAGER_CHANGECOMPANY
);
}
}
...
...
src/test/java/com/kjj/qa/config/BasicConfig.java
View file @
810b17f5
...
@@ -10,7 +10,7 @@ public class BasicConfig {
...
@@ -10,7 +10,7 @@ public class BasicConfig {
// 用户微信昵称
// 用户微信昵称
public
static
final
String
WECHAT_NAME
=
"小疙瘩人寿"
;
//true
public
static
final
String
WECHAT_NAME
=
"小疙瘩人寿"
;
//true
// 用户tku
// 用户tku
public
static
final
String
AGENT_TKU
=
"T3gM31f18jAW2M3
jS1WrvjR6mJMU4qiGcyGSxPNnNgjbotqdrs7kVvfd9GuNccLkvd1BSX7WVdfv8EKTSq
"
;
public
static
final
String
AGENT_TKU
=
"T3gM31f18jAW2M3
BQpx6szPXT38RVi2CWuVBaus5fCXZz8yqK5FK7SXvHsaAFtWF7ZwT1C4YgYbyUvL2mE
"
;
// *************** 钉钉机器人 ***************
// *************** 钉钉机器人 ***************
// 线上-告警群
// 线上-告警群
...
@@ -220,6 +220,7 @@ public class BasicConfig {
...
@@ -220,6 +220,7 @@ public class BasicConfig {
public
static
final
String
MANAGER_AUTH
=
"/auth/getAuthList"
;
public
static
final
String
MANAGER_AUTH
=
"/auth/getAuthList"
;
public
static
final
String
MANAGER_CHANGECOMPANY
=
"/kjy/manager/seller/changeCompany"
;
public
static
final
String
MANAGER_UPDATETYPEORDATE
=
"/kjy/manager/seller/updateTypeOrDate"
;
}
}
target/test-classes/com/kjj/qa/cases/Article.class
View file @
810b17f5
No preview for this file type
target/test-classes/com/kjj/qa/cases/Novice.class
View file @
810b17f5
No preview for this file type
target/test-classes/com/kjj/qa/cases/Pay.class
View file @
810b17f5
No preview for this file type
test-output/report.html
View file @
810b17f5
This diff is collapsed.
Click to expand it.
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