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
cfd1a190
Commit
cfd1a190
authored
Jul 15, 2021
by
龚小红
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加了我的名片、文章中名片的测试用例
parent
fccdce50
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
844 additions
and
98 deletions
+844
-98
Authorization.java
src/test/java/com/kjj/cases/admin/Authorization.java
+1
-0
ArticalPersonCard.java
...est/java/com/kjj/cases/basics/card/ArticalPersonCard.java
+333
-0
PersonCard.java
src/test/java/com/kjj/cases/basics/card/PersonCard.java
+476
-86
BasicConfig.java
src/test/java/com/kjj/config/BasicConfig.java
+18
-1
wechatTestNG.xml
src/test/wechatTestNG.xml
+16
-11
No files found.
src/test/java/com/kjj/cases/admin/Authorization.java
View file @
cfd1a190
...
...
@@ -34,6 +34,7 @@ public interface Authorization {
default
void
userTku
()
{
AGENT_TKU
=
BaseUtils
.
createTku
();
VISITOR_TKU
=
BaseUtils
.
getTku
(
VISITOR_USERID
);
network
.
agentCookies
.
put
(
"tku"
,
VISITOR_TKU
);
System
.
out
.
println
(
"访客tku:"
+
VISITOR_TKU
);
}
...
...
src/test/java/com/kjj/cases/basics/card/ArticalPersonCard.java
0 → 100644
View file @
cfd1a190
This diff is collapsed.
Click to expand it.
src/test/java/com/kjj/cases/basics/card/PersonCard.java
View file @
cfd1a190
This diff is collapsed.
Click to expand it.
src/test/java/com/kjj/config/BasicConfig.java
View file @
cfd1a190
...
...
@@ -582,7 +582,24 @@ public class BasicConfig {
public
static
final
String
SELLERCARD_ADDORUPDATEPRODUCT
=
HOST
+
"/kjy/mp/sellerCardV5/addOrUpdateProduct"
;
public
static
final
String
SELLERCARD_UPDATESHOWSTATUSFORPRODUCT
=
HOST
+
"/kjy/mp/sellerCardV5/updateShowStatusForProduct"
;
public
static
final
String
SELLERCARD_DELETEPRODUCT
=
HOST
+
"/kjy/mp/sellerCardV5/deleteProduct"
;
public
static
final
String
SELLERCARD_GETSELLERCASEINFO
=
HOST
+
"/kjy/mp/sellerCardV5/getSellerCaseInfo"
;
public
static
final
String
SELLERCARD_SAVECARDAPPRAISE
=
HOST
+
"/kjy/mp/sellerCard/saveCardAppraise"
;
public
static
final
String
SELLERCARD_DELCARDAPPRAISE
=
HOST
+
"/kjy/mp/sellerCard/delCardAppraise"
;
public
static
final
String
SELLERCARD_EDITCARDAPPRAISE
=
HOST
+
"/kjy/mp/sellerCard/editCardAppraise"
;
public
static
final
String
SELLERCARD_COMPANYINFO
=
HOST
+
"/kjy/mp/sellerCard/company/info"
;
public
static
final
String
SELLERCARD_AYSNCGETMPORCODE
=
HOST
+
"/kjy/mp/sellerCard/asyncGetMpQrCode"
;
public
static
final
String
SELLERCARD_HASLIVEAUTH
=
HOST
+
"/kjy/mp/liveAgent/hasLiveAuth"
;
public
static
final
String
SELLERCARD_CARDGUIDE
=
HOST
+
"/kjy/mp/rookieGuide/cardGuide"
;
public
static
final
String
SELLERCARD_INSURANCELISTV2
=
HOST
+
"/kjy/mp/welfare/insuranceListV2"
;
public
static
final
String
SELLERCARD_GETENHANCEDCOLUMNCONFIG
=
HOST
+
"/kjy/mp/sellerConfig/getEnhancedColumnConfig"
;
public
static
final
String
SELLERCARD_GETQUESTIONDETAIL
=
HOST
+
"/kjy/mp/explosioncontent/qa/getQuestionDetail"
;
public
static
final
String
SELLERCARD_SENDPUSHFORSCAN
=
HOST
+
"/kjy/mp/explosioncontent/qa/sendPushForScan"
;
public
static
final
String
SELLERCARD_REWARDUSERS
=
HOST
+
"/kjy/mp/seller/novice/rewardUsers"
;
public
static
final
String
SELLERCARD_RECOMMENDLISTV3
=
HOST
+
"/kjy/mp/welfare/recommendListV3"
;
public
static
final
String
SELLERCARD_READDETAIL
=
HOST
+
"/kjy/mp/sellerCard/readDetail"
;
public
static
final
String
SELLERCARD_GETINTERACTIONCONFIG
=
HOST
+
"/kjy/mp/sellerConfig/getInteractionConfig"
;
public
static
final
String
SELLERCARD_GETSELLERPROMOTEINFO
=
HOST
+
"/kjy/mp/seller/getSellerPromoteInfo"
;
public
static
final
String
SELLERCARD_DIRECT
=
HOST
+
"/kjy/mp/user/direct"
;
// *************** 上传 ***************
...
...
src/test/wechatTestNG.xml
View file @
cfd1a190
...
...
@@ -16,21 +16,21 @@
<class
name=
"com.kjj.cases.basics.Pay"
/>
</classes>
</test>
<test
preserve-order=
"true"
name=
"名片"
>
<classes
>
<class
name=
"com.kjj.cases.basics.SellerCard"
/
>
</classes
>
</test
>
<!-- <test preserve-order="true" name="名片">--
>
<!-- <classes>--
>
<!-- <class name="com.kjj.cases.basics.SellerCard"/>--
>
<!-- </classes>--
>
<!-- </test>--
>
<test
preserve-order=
"true"
name=
"上传"
>
<classes>
<class
name=
"com.kjj.cases.basics.Upload"
/>
</classes>
</test>
<test
preserve-order=
"true"
name=
"文章"
>
<classes
>
<class
name=
"com.kjj.cases.basics.Article"
/
>
</classes
>
</test
>
<!-- <test preserve-order="true" name="文章">--
>
<!-- <classes>--
>
<!-- <class name="com.kjj.cases.basics.Article"/>--
>
<!-- </classes>--
>
<!-- </test>--
>
<test
preserve-order=
"true"
name=
"发圈"
>
<classes>
<class
name=
"com.kjj.cases.basics.CircleFriends"
/>
...
...
@@ -51,11 +51,16 @@
<class
name=
"com.kjj.cases.basics.GreetingCard"
/>
</classes>
</test>
<test
preserve-order=
"true"
name=
"名片"
>
<test
preserve-order=
"true"
name=
"
我的
名片"
>
<classes>
<class
name=
"com.kjj.cases.basics.card.PersonCard"
/>
</classes>
</test>
<test
preserve-order=
"true"
name=
"文章中个人名片"
>
<classes>
<class
name=
"com.kjj.cases.basics.card.ArticalPersonCard"
/>
</classes>
</test>
<test
preserve-order=
"true"
name =
"种草素材"
>
<classes>
<class
name=
"com.kjj.cases.assistant.RecommendMaterial"
/>
...
...
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