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
f1b19809
Commit
f1b19809
authored
Apr 26, 2020
by
Su-Yi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新tku
parent
640fea81
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
262 additions
and
268 deletions
+262
-268
Home.java
src/test/java/com/kjj/qa/cases/Home.java
+0
-5
Pay.java
src/test/java/com/kjj/qa/cases/Pay.java
+1
-5
ExtentTestNGIReporterListener.java
...java/com/kjj/qa/config/ExtentTestNGIReporterListener.java
+4
-2
NetworkOperation.java
src/test/java/com/kjj/qa/services/NetworkOperation.java
+3
-26
DingTalkUtil.java
src/test/java/com/kjj/qa/utils/DingTalkUtil.java
+4
-4
report.html
test-output/report.html
+250
-226
No files found.
src/test/java/com/kjj/qa/cases/Home.java
View file @
f1b19809
...
...
@@ -24,11 +24,6 @@ public class Home {
network
.
agentCookies
.
put
(
"acw_tc"
,
"76b20ff215756198852864366e248d9e6bfb989ae8f073e81a05f23e6ef703"
);
network
.
agentHeaders
.
put
(
"Content-Type"
,
"application/json"
);
// 访客 cookies
network
.
vistorCookies
.
put
(
"tku"
,
"fcedkR2oRAVAoStCWGx7Y45krm9opxbQvd76nvAKqXQwmDyHyQyEiXyjEBjzRrk9hdVhppStVd5iz6GcBx8ghW"
);
network
.
vistorCookies
.
put
(
"acw_tc"
,
"76b20fea15774130899093358e57cc742bc2ebcc713ece289b4e9c26ed8785"
);
network
.
vistorHeaders
.
put
(
"Content-Type"
,
"application/json"
);
}
@Test
(
description
=
"JSSDK"
,
priority
=
1
)
//priorty 方法执行优先级
...
...
src/test/java/com/kjj/qa/cases/Pay.java
View file @
f1b19809
...
...
@@ -21,8 +21,7 @@ public class Pay {
@BeforeClass
public
void
setUp
()
{
// 代理人 cookies
network
.
agentCookies
.
put
(
"tku"
,
"T3gM31f18jAXArVsnK4WomzkQTYdtMrQ7mddH1s4VLCViss4CrYGFX5CU5er74RDeCBz1JtxDMKpsX4m9H"
);
// network.agentCookies.put("acw_tc","76b20fe315823353519212714e7eb372f83a4dd118d1a883b8a62aa4907755");
network
.
agentCookies
.
put
(
"tku"
,
"T3gM31f18jAXAwJJQPrjuY6xCJQThg3dXxpzkv8X5w3oZZn5yXB41EQad3CuY5A8USk26gxjQvUn7hWekU"
);
network
.
agentHeaders
.
put
(
"Content-Type"
,
"application/json"
);
}
...
...
@@ -56,7 +55,6 @@ public class Pay {
String
actualPayMoney
=
actualPayMoneyResponse
.
jsonPath
().
getString
(
"data[0].actualPayMoney"
);
Assert
.
assertEquals
(
actualPayMoney
,
"586"
,
"获取付费价格:价格不是586"
);
System
.
out
.
println
(
1
);
}
@Test
(
description
=
"默认付费_待支付"
,
priority
=
2
)
...
...
@@ -74,7 +72,6 @@ public class Pay {
String
appId
=
orderAppId
.
jsonPath
().
getString
(
"data.appId"
);
Assert
.
assertEquals
(
appId
,
"wxcb8c36279dd7dff2"
,
"拉起支付:拉起微信支付失败"
);
//判断返回的微信调起参数中appId是否正确
System
.
out
.
println
(
2
);
}
@Test
(
description
=
"默认付费_取消支付"
,
priority
=
3
)
...
...
@@ -97,7 +94,6 @@ public class Pay {
Response
resultResponse
=
network
.
getResponse
(
cancelParams
,
"/kjy/order/cancel"
);
String
result
=
resultResponse
.
jsonPath
().
getString
(
"desc"
);
Assert
.
assertEquals
(
result
,
"OK"
,
"取消支付:取消支付失败"
);
//判断返回的微信调起参数中appId是否正确
System
.
out
.
println
(
3
);
}
// @Test (description = "默认付费_成功支付",priority = 4)
...
...
src/test/java/com/kjj/qa/config/ExtentTestNGIReporterListener.java
View file @
f1b19809
...
...
@@ -30,11 +30,12 @@ public class ExtentTestNGIReporterListener implements IReporter {
boolean
createSuiteNode
=
false
;
//判断执行用例的队列是否有多个
if
(
suites
.
size
()
>
0
)
{
if
(
suites
.
size
()
==
0
)
{
createSuiteNode
=
true
;
}
for
(
ISuite
suite
:
suites
)
{
Map
<
String
,
ISuiteResult
>
result
=
suite
.
getResults
();
// 如果suite里面没有任何用例,直接跳过,不在报告里生成
if
(
result
.
size
()
==
0
)
{
continue
;
...
...
@@ -49,6 +50,7 @@ public class ExtentTestNGIReporterListener implements IReporter {
suiteTest
=
extent
.
createTest
(
suite
.
getName
()).
assignCategory
(
suite
.
getName
());
}
boolean
createSuiteResultNode
=
false
;
if
(
result
.
size
()
>
1
)
{
createSuiteResultNode
=
true
;
}
...
...
@@ -99,7 +101,7 @@ public class ExtentTestNGIReporterListener implements IReporter {
}
}
String
context
=
String
.
format
(
"通过
: %s ; 失败: %s ; 跳过: %s ;
"
,
suitePassSize
,
suiteFailSize
,
suiteSkipSize
);
String
context
=
String
.
format
(
"通过
的用例数: %s\n失败的用例数: %s\n跳过的用例数: %s\n
"
,
suitePassSize
,
suiteFailSize
,
suiteSkipSize
);
try
{
DingTalkUtil
.
sendVal
(
context
);
}
catch
(
Exception
e
)
{
...
...
src/test/java/com/kjj/qa/services/NetworkOperation.java
View file @
f1b19809
...
...
@@ -26,27 +26,17 @@ public class NetworkOperation {
public
Map
<
String
,
Object
>
getAgentHeaders
()
{
return
agentHeaders
;
}
public
void
setAgentHeaders
(
Map
<
String
,
Object
>
agentHeaders
)
{
this
.
agentHeaders
=
agentHeaders
;
}
// 访客的 cookies和headers
public
Map
<
String
,
Object
>
vistorCookies
=
new
HashMap
<
String
,
Object
>();
public
Map
<
String
,
Object
>
getVistorCookies
()
{
return
vistorCookies
;
}
public
void
setVistorCookies
(
Map
<
String
,
Object
>
vistorCookies
)
{
this
.
vistorCookies
=
vistorCookies
;
}
public
Map
<
String
,
Object
>
vistorHeaders
=
new
HashMap
<
String
,
Object
>();
public
Map
<
String
,
Object
>
getVistorHeaders
()
{
return
vistorHeaders
;
}
public
void
setVistorHeaders
(
Map
<
String
,
Object
>
vistorHeaders
)
{
this
.
vistorHeaders
=
vistorHeaders
;
}
// 钉钉的 headers
public
Map
<
String
,
Object
>
dingTalkHeaders
=
new
HashMap
<
String
,
Object
>();
public
Map
<
String
,
Object
>
getDingTalkHeaders
()
{
return
dingTalkHeaders
;
}
public
void
setDingTalkHeaders
(
Map
<
String
,
Object
>
dingTalkHeaders
)
{
this
.
dingTalkHeaders
=
dingTalkHeaders
;
}
//客集集域名
// private static String host = "https://kjj.m.duiba.com.cn";
private
static
String
host
=
"https://kjj.m.duibatest.com.cn"
;
// private static String host = "https://kjj.m.duiba.com.cn";
//线上
private
static
String
host
=
"https://kjj.m.duibatest.com.cn"
;
//测试环境
//钉钉机器人域名
private
static
String
dingtalkPath
=
"https://oapi.dingtalk.com/robot/send?access_token=
f63c9cb36e89dd68e9af82d926933b3afc6544e57b23a3a55ed5b3b772d5e8d2
"
;
private
static
String
dingtalkPath
=
"https://oapi.dingtalk.com/robot/send?access_token=
e4b7d997fb9f90b17672dcdb9c9922d52c59f741b82081a368f4d3c305c1afcd
"
;
// get 不带参请求
public
Response
getResponse
(
String
path
)
{
...
...
@@ -93,16 +83,6 @@ public class NetworkOperation {
.
post
(
dingtalkPath
);
}
//用户行为
public
Response
visitorBehavior
(
Map
<
String
,
Object
>
params
,
String
path
){
return
given
()
.
cookies
(
vistorCookies
)
.
headers
(
vistorHeaders
)
.
params
(
params
)
.
get
(
host
+
path
);
}
public
static
void
main
(
String
[]
args
)
{
// NetworkOperation network = new NetworkOperation();
//
...
...
@@ -113,9 +93,6 @@ public class NetworkOperation {
// text.put("content","报告 :");
// json.put("text",text);
// Response res = network.dingTalkRobot(json);
}
}
src/test/java/com/kjj/qa/utils/DingTalkUtil.java
View file @
f1b19809
...
...
@@ -6,13 +6,13 @@ import java.util.HashMap;
public
class
DingTalkUtil
{
//通过钉钉机器人发送消息到钉钉群中
public
static
void
sendVal
(
String
context
)
throws
Exception
{
String
entityString
=
"{'msgtype': 'text', 'text': {'content': '
测试结果:
\n"
+
context
+
"'}}"
;
context
=
context
+
"报告地址:http://10.254.187.25/view/kjj_test/job/kejiji_interface/ws/test-output/report.html"
;
String
entityString
=
"{'msgtype': 'text', 'text': {'content': '
【测试结果】
\n"
+
context
+
"'}}"
;
System
.
out
.
println
(
entityString
);
//
NetworkOperation network = new NetworkOperation();
//
network.dingTalkRobot(entityString); //发起请求
NetworkOperation
network
=
new
NetworkOperation
();
network
.
dingTalkRobot
(
entityString
);
//发起请求
}
...
...
test-output/report.html
View file @
f1b19809
...
...
@@ -49,7 +49,7 @@
<ul
id=
'nav-mobile'
class=
'right hide-on-med-and-down nav-right'
>
<li>
<a
href=
'#!'
>
<span
class=
'label suite-start-time blue darken-3'
>
Apr 26, 2020 0
1:07:26
PM
</span>
<span
class=
'label suite-start-time blue darken-3'
>
Apr 26, 2020 0
2:54:24
PM
</span>
</a>
</li>
<li>
...
...
@@ -88,8 +88,9 @@
<i
class=
'material-icons'
>
local_offer
</i>
Category
</a>
<ul
id=
'category-toggle'
class=
'dropdown-content'
>
<li><a
href=
'#'
>
Surefiresuite
</a></li>
<li><a
href=
'#'
>
Surefiretest
</a></li>
<li><a
href=
'#'
>
客集集-测试结果
</a></li>
<li><a
href=
'#'
>
首页
</a></li>
<li><a
href=
'#'
>
支付
</a></li>
<li
class=
'divider'
></li>
<li
class=
'clear'
><a
href=
'#!'
clear=
'true'
>
Clear Filters
</a></li>
</ul>
...
...
@@ -170,38 +171,96 @@
<ul
id=
'test-collection'
class=
'test-collection'
>
<li
class=
'test displayed active has-leaf
fail'
status=
'fail
'
bdd=
'false'
test-id=
'1'
>
<li
class=
'test displayed active has-leaf
pass'
status=
'pass
'
bdd=
'false'
test-id=
'1'
>
<div
class=
'test-heading'
>
<span
class=
'test-name'
>
Surefire suite : Surefire test
</span>
<span
class=
'test-time'
>
Apr 26, 2020 01:07:26 PM
</span>
<span
class=
'test-name'
>
客集集-测试结果 : 首页
</span>
<span
class=
'test-time'
>
Apr 26, 2020 02:54:24 PM
</span>
<span
class=
'test-status right pass'
>
pass
</span>
</div>
<div
class=
'test-content hide'
>
<div
class=
'test-time-info'
>
<span
class=
'label start-time'
>
Apr 26, 2020 02:54:24 PM
</span>
<span
class=
'label end-time'
>
Apr 26, 2020 02:54:28 PM
</span>
<span
class=
'label time-taken grey lighten-1 white-text'
>
0h 0m 4s+321ms
</span>
</div>
<div
class=
'test-desc'
>
Pass: 1 ; Fail: 0 ; Skip: 0 ;
</div>
<div
class=
'test-attributes'
>
<div
class=
'category-list'
>
<span
class=
'category label white-text'
>
客集集-测试结果
</span>
<span
class=
'category label white-text'
>
首页
</span>
</div>
</div>
<ul
class=
'collapsible node-list'
data-collapsible=
'accordion'
>
<li
class=
'node level-1 leaf pass'
status=
'pass'
test-id=
'2'
>
<div
class=
'collapsible-header'
>
<div
class=
'node-name'
>
JSSDK
</div>
<span
class=
'node-time'
>
Apr 26, 2020 02:54:24 PM
</span>
<span
class=
'node-duration'
>
0h 0m 10s+674ms
</span>
<span
class=
'test-status right pass'
>
pass
</span>
</div>
<div
class=
'collapsible-body'
>
<div
class=
'category-list right'
>
<span
class=
'category label white-text'
>
客集集-测试结果
</span>
<span
class=
'category label white-text'
>
首页
</span>
</div>
<div
class=
'node-steps'
>
<table
class=
'bordered table-results'
>
<thead>
<tr>
<th>
Status
</th>
<th>
Timestamp
</th>
<th>
Details
</th>
</tr>
</thead>
<tbody>
<tr
class=
'log'
status=
'pass'
>
<td
class=
'status pass'
title=
'pass'
alt=
'pass'
><i
class=
'material-icons'
>
check_circle
</i></td>
<td
class=
'timestamp'
>
2:54:34 PM
</td>
<td
class=
'step-details'
>
Test passed
</td>
</tr>
</tbody>
</table>
</div>
</div>
</li>
</ul>
</div>
</li>
<li
class=
'test displayed active has-leaf fail'
status=
'fail'
bdd=
'false'
test-id=
'3'
>
<div
class=
'test-heading'
>
<span
class=
'test-name'
>
客集集-测试结果 : 支付
</span>
<span
class=
'test-time'
>
Apr 26, 2020 02:54:28 PM
</span>
<span
class=
'test-status right fail'
>
fail
</span>
</div>
<div
class=
'test-content hide'
>
<div
class=
'test-time-info'
>
<span
class=
'label start-time'
>
Apr 26, 2020 0
1:07:26
PM
</span>
<span
class=
'label end-time'
>
Apr 26, 2020 0
1:07:32
PM
</span>
<span
class=
'label time-taken grey lighten-1 white-text'
>
0h 0m 6s+
500
ms
</span>
<span
class=
'label start-time'
>
Apr 26, 2020 0
2:54:28
PM
</span>
<span
class=
'label end-time'
>
Apr 26, 2020 0
2:54:34
PM
</span>
<span
class=
'label time-taken grey lighten-1 white-text'
>
0h 0m 6s+
297
ms
</span>
</div>
<div
class=
'test-desc'
>
Pass:
5
; Fail: 4 ; Skip: 0 ;
</div>
<div
class=
'test-desc'
>
Pass:
4
; Fail: 4 ; Skip: 0 ;
</div>
<div
class=
'test-attributes'
>
<div
class=
'category-list'
>
<span
class=
'category label white-text'
>
Surefiresuite
</span>
<span
class=
'category label white-text'
>
Surefiretest
</span>
<span
class=
'category label white-text'
>
客集集-测试结果
</span>
<span
class=
'category label white-text'
>
支付
</span>
</div>
</div>
<ul
class=
'collapsible node-list'
data-collapsible=
'accordion'
>
<li
class=
'node level-1 leaf fail'
status=
'fail'
test-id=
'
2
'
>
<li
class=
'node level-1 leaf fail'
status=
'fail'
test-id=
'
4
'
>
<div
class=
'collapsible-header'
>
<div
class=
'node-name'
>
默认付费_付费页
</div>
<span
class=
'node-time'
>
Apr 26, 2020 0
1:07:26
PM
</span>
<span
class=
'node-duration'
>
0h 0m 6s+
648
ms
</span>
<span
class=
'node-time'
>
Apr 26, 2020 0
2:54:28
PM
</span>
<span
class=
'node-duration'
>
0h 0m 6s+
389
ms
</span>
<span
class=
'test-status right fail'
>
fail
</span>
</div>
<div
class=
'collapsible-body'
>
<div
class=
'category-list right'
>
<span
class=
'category label white-text'
>
Surefiresuite
</span>
<span
class=
'category label white-text'
>
Surefiretest
</span>
<span
class=
'category label white-text'
>
客集集-测试结果
</span>
<span
class=
'category label white-text'
>
支付
</span>
</div>
<div
class=
'node-steps'
>
<table
class=
'bordered table-results'
>
...
...
@@ -215,7 +274,7 @@
<tbody>
<tr
class=
'log'
status=
'fail'
>
<td
class=
'status fail'
title=
'fail'
alt=
'fail'
><i
class=
'material-icons'
>
cancel
</i></td>
<td
class=
'timestamp'
>
1:07:32
PM
</td>
<td
class=
'timestamp'
>
2:54:34
PM
</td>
<td
class=
'step-details'
><pre>
java.lang.AssertionError: 会员类型版本判断:判断错误,此版本为保险版 expected [1] but found [2]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494)
...
...
@@ -243,14 +302,8 @@
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:146)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:73)
at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:123)
</pre></td>
</tr>
</tbody>
...
...
@@ -258,17 +311,17 @@
</div>
</div>
</li>
<li
class=
'node level-1 leaf fail'
status=
'fail'
test-id=
'
3
'
>
<li
class=
'node level-1 leaf fail'
status=
'fail'
test-id=
'
5
'
>
<div
class=
'collapsible-header'
>
<div
class=
'node-name'
>
默认付费_切换为保险版会员类型并成功付款
</div>
<span
class=
'node-time'
>
Apr 26, 2020 0
1:07:29
PM
</span>
<span
class=
'node-duration'
>
0h 0m
2s+89
6ms
</span>
<span
class=
'node-time'
>
Apr 26, 2020 0
2:54:30
PM
</span>
<span
class=
'node-duration'
>
0h 0m
3s+92
6ms
</span>
<span
class=
'test-status right fail'
>
fail
</span>
</div>
<div
class=
'collapsible-body'
>
<div
class=
'category-list right'
>
<span
class=
'category label white-text'
>
Surefiresuite
</span>
<span
class=
'category label white-text'
>
Surefiretest
</span>
<span
class=
'category label white-text'
>
客集集-测试结果
</span>
<span
class=
'category label white-text'
>
支付
</span>
</div>
<div
class=
'node-steps'
>
<table
class=
'bordered table-results'
>
...
...
@@ -282,13 +335,13 @@
<tbody>
<tr
class=
'log'
status=
'fail'
>
<td
class=
'status fail'
title=
'fail'
alt=
'fail'
><i
class=
'material-icons'
>
cancel
</i></td>
<td
class=
'timestamp'
>
1:07:32
PM
</td>
<td
class=
'timestamp'
>
2:54:34
PM
</td>
<td
class=
'step-details'
><pre>
java.lang.AssertionError: 会员类型切换:切换失败 expected [OK] but found [用户切换失败,请稍后再试]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertEquals(Assert.java:123)
at org.testng.Assert.assertEquals(Assert.java:176)
at com.kjj.qa.cases.Pay.默认付费_切换为保险版会员类型并成功付款(Pay.java:1
22
)
at com.kjj.qa.cases.Pay.默认付费_切换为保险版会员类型并成功付款(Pay.java:1
19
)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
...
...
@@ -310,14 +363,8 @@
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:146)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:73)
at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:123)
</pre></td>
</tr>
</tbody>
...
...
@@ -325,17 +372,17 @@
</div>
</div>
</li>
<li
class=
'node level-1 leaf fail'
status=
'fail'
test-id=
'
4
'
>
<li
class=
'node level-1 leaf fail'
status=
'fail'
test-id=
'
6
'
>
<div
class=
'collapsible-header'
>
<div
class=
'node-name'
>
分销码_付费页
</div>
<span
class=
'node-time'
>
Apr 26, 2020 0
1:07:30
PM
</span>
<span
class=
'node-duration'
>
0h 0m
2s+641
ms
</span>
<span
class=
'node-time'
>
Apr 26, 2020 0
2:54:31
PM
</span>
<span
class=
'node-duration'
>
0h 0m
3s+493
ms
</span>
<span
class=
'test-status right fail'
>
fail
</span>
</div>
<div
class=
'collapsible-body'
>
<div
class=
'category-list right'
>
<span
class=
'category label white-text'
>
Surefiresuite
</span>
<span
class=
'category label white-text'
>
Surefiretest
</span>
<span
class=
'category label white-text'
>
客集集-测试结果
</span>
<span
class=
'category label white-text'
>
支付
</span>
</div>
<div
class=
'node-steps'
>
<table
class=
'bordered table-results'
>
...
...
@@ -349,13 +396,13 @@
<tbody>
<tr
class=
'log'
status=
'fail'
>
<td
class=
'status fail'
title=
'fail'
alt=
'fail'
><i
class=
'material-icons'
>
cancel
</i></td>
<td
class=
'timestamp'
>
1:07:32
PM
</td>
<td
class=
'timestamp'
>
2:54:34
PM
</td>
<td
class=
'step-details'
><pre>
java.lang.AssertionError: 获取付费价格:价格不是486 expected [486] but found [0.01]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertEquals(Assert.java:123)
at org.testng.Assert.assertEquals(Assert.java:176)
at com.kjj.qa.cases.Pay.分销码_付费页(Pay.java:15
9
)
at com.kjj.qa.cases.Pay.分销码_付费页(Pay.java:15
6
)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
...
...
@@ -377,14 +424,8 @@
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:146)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:73)
at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:123)
</pre></td>
</tr>
</tbody>
...
...
@@ -392,17 +433,17 @@
</div>
</div>
</li>
<li
class=
'node level-1 leaf fail'
status=
'fail'
test-id=
'
5
'
>
<li
class=
'node level-1 leaf fail'
status=
'fail'
test-id=
'
7
'
>
<div
class=
'collapsible-header'
>
<div
class=
'node-name'
>
分销码_切换为保险版会员类型并成功付款
</div>
<span
class=
'node-time'
>
Apr 26, 2020 0
1:07:32
PM
</span>
<span
class=
'node-duration'
>
0h 0m
0s+6
06ms
</span>
<span
class=
'node-time'
>
Apr 26, 2020 0
2:54:33
PM
</span>
<span
class=
'node-duration'
>
0h 0m
1s+2
06ms
</span>
<span
class=
'test-status right fail'
>
fail
</span>
</div>
<div
class=
'collapsible-body'
>
<div
class=
'category-list right'
>
<span
class=
'category label white-text'
>
Surefiresuite
</span>
<span
class=
'category label white-text'
>
Surefiretest
</span>
<span
class=
'category label white-text'
>
客集集-测试结果
</span>
<span
class=
'category label white-text'
>
支付
</span>
</div>
<div
class=
'node-steps'
>
<table
class=
'bordered table-results'
>
...
...
@@ -416,13 +457,13 @@
<tbody>
<tr
class=
'log'
status=
'fail'
>
<td
class=
'status fail'
title=
'fail'
alt=
'fail'
><i
class=
'material-icons'
>
cancel
</i></td>
<td
class=
'timestamp'
>
1:07:32
PM
</td>
<td
class=
'timestamp'
>
2:54:34
PM
</td>
<td
class=
'step-details'
><pre>
java.lang.AssertionError: 会员类型切换:切换失败 expected [OK] but found [用户切换失败,请稍后再试]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertEquals(Assert.java:123)
at org.testng.Assert.assertEquals(Assert.java:176)
at com.kjj.qa.cases.Pay.分销码_切换为保险版会员类型并成功付款(Pay.java:23
3
)
at com.kjj.qa.cases.Pay.分销码_切换为保险版会员类型并成功付款(Pay.java:23
0
)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
...
...
@@ -444,14 +485,8 @@
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:146)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:73)
at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:123)
</pre></td>
</tr>
</tbody>
...
...
@@ -459,17 +494,17 @@
</div>
</div>
</li>
<li
class=
'node level-1 leaf pass'
status=
'pass'
test-id=
'
6
'
>
<li
class=
'node level-1 leaf pass'
status=
'pass'
test-id=
'
8
'
>
<div
class=
'collapsible-header'
>
<div
class=
'node-name'
>
默认付费_待支付
</div>
<span
class=
'node-time'
>
Apr 26, 2020 0
1:07:28
PM
</span>
<span
class=
'node-duration'
>
0h 0m
3s+984
ms
</span>
<span
class=
'node-time'
>
Apr 26, 2020 0
2:54:29
PM
</span>
<span
class=
'node-duration'
>
0h 0m
5s+326
ms
</span>
<span
class=
'test-status right pass'
>
pass
</span>
</div>
<div
class=
'collapsible-body'
>
<div
class=
'category-list right'
>
<span
class=
'category label white-text'
>
Surefiresuite
</span>
<span
class=
'category label white-text'
>
Surefiretest
</span>
<span
class=
'category label white-text'
>
客集集-测试结果
</span>
<span
class=
'category label white-text'
>
支付
</span>
</div>
<div
class=
'node-steps'
>
<table
class=
'bordered table-results'
>
...
...
@@ -483,7 +518,7 @@
<tbody>
<tr
class=
'log'
status=
'pass'
>
<td
class=
'status pass'
title=
'pass'
alt=
'pass'
><i
class=
'material-icons'
>
check_circle
</i></td>
<td
class=
'timestamp'
>
1:07:32
PM
</td>
<td
class=
'timestamp'
>
2:54:34
PM
</td>
<td
class=
'step-details'
>
Test passed
</td>
</tr>
</tbody>
...
...
@@ -491,17 +526,17 @@
</div>
</div>
</li>
<li
class=
'node level-1 leaf pass'
status=
'pass'
test-id=
'
7
'
>
<li
class=
'node level-1 leaf pass'
status=
'pass'
test-id=
'
9
'
>
<div
class=
'collapsible-header'
>
<div
class=
'node-name'
>
默认付费_取消支付
</div>
<span
class=
'node-time'
>
Apr 26, 2020 0
1:07:29
PM
</span>
<span
class=
'node-duration'
>
0h 0m
3s+477
ms
</span>
<span
class=
'node-time'
>
Apr 26, 2020 0
2:54:30
PM
</span>
<span
class=
'node-duration'
>
0h 0m
4s+678
ms
</span>
<span
class=
'test-status right pass'
>
pass
</span>
</div>
<div
class=
'collapsible-body'
>
<div
class=
'category-list right'
>
<span
class=
'category label white-text'
>
Surefiresuite
</span>
<span
class=
'category label white-text'
>
Surefiretest
</span>
<span
class=
'category label white-text'
>
客集集-测试结果
</span>
<span
class=
'category label white-text'
>
支付
</span>
</div>
<div
class=
'node-steps'
>
<table
class=
'bordered table-results'
>
...
...
@@ -515,7 +550,7 @@
<tbody>
<tr
class=
'log'
status=
'pass'
>
<td
class=
'status pass'
title=
'pass'
alt=
'pass'
><i
class=
'material-icons'
>
check_circle
</i></td>
<td
class=
'timestamp'
>
1:07:32
PM
</td>
<td
class=
'timestamp'
>
2:54:34
PM
</td>
<td
class=
'step-details'
>
Test passed
</td>
</tr>
</tbody>
...
...
@@ -523,17 +558,17 @@
</div>
</div>
</li>
<li
class=
'node level-1 leaf pass'
status=
'pass'
test-id=
'
8
'
>
<li
class=
'node level-1 leaf pass'
status=
'pass'
test-id=
'
10
'
>
<div
class=
'collapsible-header'
>
<div
class=
'node-name'
>
分销码_待支付
</div>
<span
class=
'node-time'
>
Apr 26, 2020 0
1:07:30
PM
</span>
<span
class=
'node-duration'
>
0h 0m 2s+
7
ms
</span>
<span
class=
'node-time'
>
Apr 26, 2020 0
2:54:32
PM
</span>
<span
class=
'node-duration'
>
0h 0m 2s+
820
ms
</span>
<span
class=
'test-status right pass'
>
pass
</span>
</div>
<div
class=
'collapsible-body'
>
<div
class=
'category-list right'
>
<span
class=
'category label white-text'
>
Surefiresuite
</span>
<span
class=
'category label white-text'
>
Surefiretest
</span>
<span
class=
'category label white-text'
>
客集集-测试结果
</span>
<span
class=
'category label white-text'
>
支付
</span>
</div>
<div
class=
'node-steps'
>
<table
class=
'bordered table-results'
>
...
...
@@ -547,7 +582,7 @@
<tbody>
<tr
class=
'log'
status=
'pass'
>
<td
class=
'status pass'
title=
'pass'
alt=
'pass'
><i
class=
'material-icons'
>
check_circle
</i></td>
<td
class=
'timestamp'
>
1:07:32
PM
</td>
<td
class=
'timestamp'
>
2:54:34
PM
</td>
<td
class=
'step-details'
>
Test passed
</td>
</tr>
</tbody>
...
...
@@ -555,17 +590,17 @@
</div>
</div>
</li>
<li
class=
'node level-1 leaf pass'
status=
'pass'
test-id=
'
9
'
>
<li
class=
'node level-1 leaf pass'
status=
'pass'
test-id=
'
11
'
>
<div
class=
'collapsible-header'
>
<div
class=
'node-name'
>
分销码_取消支付
</div>
<span
class=
'node-time'
>
Apr 26, 2020 0
1:07:31
PM
</span>
<span
class=
'node-duration'
>
0h 0m
1s+389
ms
</span>
<span
class=
'node-time'
>
Apr 26, 2020 0
2:54:32
PM
</span>
<span
class=
'node-duration'
>
0h 0m
2s+257
ms
</span>
<span
class=
'test-status right pass'
>
pass
</span>
</div>
<div
class=
'collapsible-body'
>
<div
class=
'category-list right'
>
<span
class=
'category label white-text'
>
Surefiresuite
</span>
<span
class=
'category label white-text'
>
Surefiretest
</span>
<span
class=
'category label white-text'
>
客集集-测试结果
</span>
<span
class=
'category label white-text'
>
支付
</span>
</div>
<div
class=
'node-steps'
>
<table
class=
'bordered table-results'
>
...
...
@@ -579,39 +614,7 @@
<tbody>
<tr
class=
'log'
status=
'pass'
>
<td
class=
'status pass'
title=
'pass'
alt=
'pass'
><i
class=
'material-icons'
>
check_circle
</i></td>
<td
class=
'timestamp'
>
1:07:32 PM
</td>
<td
class=
'step-details'
>
Test passed
</td>
</tr>
</tbody>
</table>
</div>
</div>
</li>
<li
class=
'node level-1 leaf pass'
status=
'pass'
test-id=
'10'
>
<div
class=
'collapsible-header'
>
<div
class=
'node-name'
>
JSSDK
</div>
<span
class=
'node-time'
>
Apr 26, 2020 01:07:32 PM
</span>
<span
class=
'node-duration'
>
0h 0m 0s+349ms
</span>
<span
class=
'test-status right pass'
>
pass
</span>
</div>
<div
class=
'collapsible-body'
>
<div
class=
'category-list right'
>
<span
class=
'category label white-text'
>
Surefiresuite
</span>
<span
class=
'category label white-text'
>
Surefiretest
</span>
</div>
<div
class=
'node-steps'
>
<table
class=
'bordered table-results'
>
<thead>
<tr>
<th>
Status
</th>
<th>
Timestamp
</th>
<th>
Details
</th>
</tr>
</thead>
<tbody>
<tr
class=
'log'
status=
'pass'
>
<td
class=
'status pass'
title=
'pass'
alt=
'pass'
><i
class=
'material-icons'
>
check_circle
</i></td>
<td
class=
'timestamp'
>
1:07:32 PM
</td>
<td
class=
'timestamp'
>
2:54:34 PM
</td>
<td
class=
'step-details'
>
Test passed
</td>
</tr>
</tbody>
...
...
@@ -674,15 +677,15 @@
<li
class=
'category displayed active'
>
<div
class=
'category-heading'
>
<span
class=
'category-name'
>
Surefiresuite
</span>
<span
class=
'category-name'
>
客集集-测试结果
</span>
<span
class=
'category-status right'
>
<span
class=
'label pass'
>
5
</span>
<span
class=
'label pass'
>
6
</span>
<span
class=
'label fail'
>
5
</span>
</span>
</div>
<div
class=
'category-content hide'
>
<div
class=
'category-status-counts'
>
<span
class=
'label green accent-4 white-text'
>
Passed:
5
</span>
<span
class=
'label green accent-4 white-text'
>
Passed:
6
</span>
<span
class=
'label red lighten-1 white-text'
>
Failed: 5
</span>
</div>
...
...
@@ -698,53 +701,97 @@
</thead>
<tbody>
<tr>
<td>
Apr 26, 2020 01:07:26 PM
</td>
<td
class=
'linked'
test-id=
'1'
>
Surefire suite
</td>
<td>
Apr 26, 2020 02:54:24 PM
</td>
<td
class=
'linked'
test-id=
'1'
>
首页
</td>
<td><span
class=
'test-status pass'
>
pass
</span></td>
</tr>
<tr>
<td>
Apr 26, 2020 02:54:24 PM
</td>
<td
class=
'linked'
test-id=
'2'
>
首页.JSSDK
</td>
<td><span
class=
'test-status pass'
>
pass
</span></td>
</tr>
<tr>
<td>
Apr 26, 2020 02:54:28 PM
</td>
<td
class=
'linked'
test-id=
'3'
>
支付
</td>
<td><span
class=
'test-status fail'
>
fail
</span></td>
</tr>
<tr>
<td>
Apr 26, 2020 0
1:07:26
PM
</td>
<td
class=
'linked'
test-id=
'
2'
>
Surefire suite
.默认付费_付费页
</td>
<td>
Apr 26, 2020 0
2:54:28
PM
</td>
<td
class=
'linked'
test-id=
'
4'
>
支付
.默认付费_付费页
</td>
<td><span
class=
'test-status fail'
>
fail
</span></td>
</tr>
<tr>
<td>
Apr 26, 2020 0
1:07:29
PM
</td>
<td
class=
'linked'
test-id=
'
3'
>
Surefire suite
.默认付费_切换为保险版会员类型并成功付款
</td>
<td>
Apr 26, 2020 0
2:54:30
PM
</td>
<td
class=
'linked'
test-id=
'
5'
>
支付
.默认付费_切换为保险版会员类型并成功付款
</td>
<td><span
class=
'test-status fail'
>
fail
</span></td>
</tr>
<tr>
<td>
Apr 26, 2020 0
1:07:30
PM
</td>
<td
class=
'linked'
test-id=
'
4'
>
Surefire suite
.分销码_付费页
</td>
<td>
Apr 26, 2020 0
2:54:31
PM
</td>
<td
class=
'linked'
test-id=
'
6'
>
支付
.分销码_付费页
</td>
<td><span
class=
'test-status fail'
>
fail
</span></td>
</tr>
<tr>
<td>
Apr 26, 2020 0
1:07:32
PM
</td>
<td
class=
'linked'
test-id=
'
5'
>
Surefire suite
.分销码_切换为保险版会员类型并成功付款
</td>
<td>
Apr 26, 2020 0
2:54:33
PM
</td>
<td
class=
'linked'
test-id=
'
7'
>
支付
.分销码_切换为保险版会员类型并成功付款
</td>
<td><span
class=
'test-status fail'
>
fail
</span></td>
</tr>
<tr>
<td>
Apr 26, 2020 0
1:07:28
PM
</td>
<td
class=
'linked'
test-id=
'
6'
>
Surefire suite
.默认付费_待支付
</td>
<td>
Apr 26, 2020 0
2:54:29
PM
</td>
<td
class=
'linked'
test-id=
'
8'
>
支付
.默认付费_待支付
</td>
<td><span
class=
'test-status pass'
>
pass
</span></td>
</tr>
<tr>
<td>
Apr 26, 2020 0
1:07:29
PM
</td>
<td
class=
'linked'
test-id=
'
7'
>
Surefire suite
.默认付费_取消支付
</td>
<td>
Apr 26, 2020 0
2:54:30
PM
</td>
<td
class=
'linked'
test-id=
'
9'
>
支付
.默认付费_取消支付
</td>
<td><span
class=
'test-status pass'
>
pass
</span></td>
</tr>
<tr>
<td>
Apr 26, 2020 0
1:07:30
PM
</td>
<td
class=
'linked'
test-id=
'
8'
>
Surefire suite
.分销码_待支付
</td>
<td>
Apr 26, 2020 0
2:54:32
PM
</td>
<td
class=
'linked'
test-id=
'
10'
>
支付
.分销码_待支付
</td>
<td><span
class=
'test-status pass'
>
pass
</span></td>
</tr>
<tr>
<td>
Apr 26, 2020 01:07:31 PM
</td>
<td
class=
'linked'
test-id=
'9'
>
Surefire suite.分销码_取消支付
</td>
<td>
Apr 26, 2020 02:54:32 PM
</td>
<td
class=
'linked'
test-id=
'11'
>
支付.分销码_取消支付
</td>
<td><span
class=
'test-status pass'
>
pass
</span></td>
</tr>
</tbody>
</table>
</div>
</div>
</li>
<li
class=
'category displayed active'
>
<div
class=
'category-heading'
>
<span
class=
'category-name'
>
首页
</span>
<span
class=
'category-status right'
>
<span
class=
'label pass'
>
2
</span>
</span>
</div>
<div
class=
'category-content hide'
>
<div
class=
'category-status-counts'
>
<span
class=
'label green accent-4 white-text'
>
Passed: 2
</span>
</div>
<div
class=
'category-tests'
>
<table
class=
'bordered table-results'
>
<thead>
<tr>
<th>
Timestamp
</th>
<th>
TestName
</th>
<th>
Status
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
Apr 26, 2020 02:54:24 PM
</td>
<td
class=
'linked'
test-id=
'1'
>
首页
</td>
<td><span
class=
'test-status pass'
>
pass
</span></td>
</tr>
<tr>
<td>
Apr 26, 2020 0
1:07:32
PM
</td>
<td
class=
'linked'
test-id=
'
10'
>
Surefire suite
.JSSDK
</td>
<td>
Apr 26, 2020 0
2:54:24
PM
</td>
<td
class=
'linked'
test-id=
'
2'
>
首页
.JSSDK
</td>
<td><span
class=
'test-status pass'
>
pass
</span></td>
</tr>
</tbody>
...
...
@@ -754,15 +801,15 @@
</li>
<li
class=
'category displayed active'
>
<div
class=
'category-heading'
>
<span
class=
'category-name'
>
Surefiretest
</span>
<span
class=
'category-name'
>
支付
</span>
<span
class=
'category-status right'
>
<span
class=
'label pass'
>
5
</span>
<span
class=
'label pass'
>
4
</span>
<span
class=
'label fail'
>
5
</span>
</span>
</div>
<div
class=
'category-content hide'
>
<div
class=
'category-status-counts'
>
<span
class=
'label green accent-4 white-text'
>
Passed:
5
</span>
<span
class=
'label green accent-4 white-text'
>
Passed:
4
</span>
<span
class=
'label red lighten-1 white-text'
>
Failed: 5
</span>
</div>
...
...
@@ -778,53 +825,48 @@
</thead>
<tbody>
<tr>
<td>
Apr 26, 2020 0
1:07:26
PM
</td>
<td
class=
'linked'
test-id=
'
1'
>
Surefire suite
</td>
<td>
Apr 26, 2020 0
2:54:28
PM
</td>
<td
class=
'linked'
test-id=
'
3'
>
支付
</td>
<td><span
class=
'test-status fail'
>
fail
</span></td>
</tr>
<tr>
<td>
Apr 26, 2020 0
1:07:26
PM
</td>
<td
class=
'linked'
test-id=
'
2'
>
Surefire suite
.默认付费_付费页
</td>
<td>
Apr 26, 2020 0
2:54:28
PM
</td>
<td
class=
'linked'
test-id=
'
4'
>
支付
.默认付费_付费页
</td>
<td><span
class=
'test-status fail'
>
fail
</span></td>
</tr>
<tr>
<td>
Apr 26, 2020 0
1:07:29
PM
</td>
<td
class=
'linked'
test-id=
'
3'
>
Surefire suite
.默认付费_切换为保险版会员类型并成功付款
</td>
<td>
Apr 26, 2020 0
2:54:30
PM
</td>
<td
class=
'linked'
test-id=
'
5'
>
支付
.默认付费_切换为保险版会员类型并成功付款
</td>
<td><span
class=
'test-status fail'
>
fail
</span></td>
</tr>
<tr>
<td>
Apr 26, 2020 0
1:07:30
PM
</td>
<td
class=
'linked'
test-id=
'
4'
>
Surefire suite
.分销码_付费页
</td>
<td>
Apr 26, 2020 0
2:54:31
PM
</td>
<td
class=
'linked'
test-id=
'
6'
>
支付
.分销码_付费页
</td>
<td><span
class=
'test-status fail'
>
fail
</span></td>
</tr>
<tr>
<td>
Apr 26, 2020 0
1:07:32
PM
</td>
<td
class=
'linked'
test-id=
'
5'
>
Surefire suite
.分销码_切换为保险版会员类型并成功付款
</td>
<td>
Apr 26, 2020 0
2:54:33
PM
</td>
<td
class=
'linked'
test-id=
'
7'
>
支付
.分销码_切换为保险版会员类型并成功付款
</td>
<td><span
class=
'test-status fail'
>
fail
</span></td>
</tr>
<tr>
<td>
Apr 26, 2020 0
1:07:28
PM
</td>
<td
class=
'linked'
test-id=
'
6'
>
Surefire suite
.默认付费_待支付
</td>
<td>
Apr 26, 2020 0
2:54:29
PM
</td>
<td
class=
'linked'
test-id=
'
8'
>
支付
.默认付费_待支付
</td>
<td><span
class=
'test-status pass'
>
pass
</span></td>
</tr>
<tr>
<td>
Apr 26, 2020 0
1:07:29
PM
</td>
<td
class=
'linked'
test-id=
'
7'
>
Surefire suite
.默认付费_取消支付
</td>
<td>
Apr 26, 2020 0
2:54:30
PM
</td>
<td
class=
'linked'
test-id=
'
9'
>
支付
.默认付费_取消支付
</td>
<td><span
class=
'test-status pass'
>
pass
</span></td>
</tr>
<tr>
<td>
Apr 26, 2020 0
1:07:30
PM
</td>
<td
class=
'linked'
test-id=
'
8'
>
Surefire suite
.分销码_待支付
</td>
<td>
Apr 26, 2020 0
2:54:32
PM
</td>
<td
class=
'linked'
test-id=
'
10'
>
支付
.分销码_待支付
</td>
<td><span
class=
'test-status pass'
>
pass
</span></td>
</tr>
<tr>
<td>
Apr 26, 2020 01:07:31 PM
</td>
<td
class=
'linked'
test-id=
'9'
>
Surefire suite.分销码_取消支付
</td>
<td><span
class=
'test-status pass'
>
pass
</span></td>
</tr>
<tr>
<td>
Apr 26, 2020 01:07:32 PM
</td>
<td
class=
'linked'
test-id=
'10'
>
Surefire suite.JSSDK
</td>
<td>
Apr 26, 2020 02:54:32 PM
</td>
<td
class=
'linked'
test-id=
'11'
>
支付.分销码_取消支付
</td>
<td><span
class=
'test-status pass'
>
pass
</span></td>
</tr>
</tbody>
...
...
@@ -886,8 +928,8 @@
</thead>
<tbody>
<tr>
<td>
Apr 26, 2020 0
1:07:26
PM
</td>
<td
class=
'linked'
test-id=
'
2'
>
Surefire suite
.默认付费_付费页
</td>
<td>
Apr 26, 2020 0
2:54:28
PM
</td>
<td
class=
'linked'
test-id=
'
4'
>
支付
.默认付费_付费页
</td>
<td><pre><pre>
java.lang.AssertionError: 会员类型版本判断:判断错误,此版本为保险版 expected [1] but found [2]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494)
...
...
@@ -915,25 +957,19 @@
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:146)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:73)
at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:123)
</pre></pre></td>
</tr>
<tr>
<td>
Apr 26, 2020 0
1:07:29
PM
</td>
<td
class=
'linked'
test-id=
'
3'
>
Surefire suite
.默认付费_切换为保险版会员类型并成功付款
</td>
<td>
Apr 26, 2020 0
2:54:30
PM
</td>
<td
class=
'linked'
test-id=
'
5'
>
支付
.默认付费_切换为保险版会员类型并成功付款
</td>
<td><pre><pre>
java.lang.AssertionError: 会员类型切换:切换失败 expected [OK] but found [用户切换失败,请稍后再试]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertEquals(Assert.java:123)
at org.testng.Assert.assertEquals(Assert.java:176)
at com.kjj.qa.cases.Pay.默认付费_切换为保险版会员类型并成功付款(Pay.java:1
22
)
at com.kjj.qa.cases.Pay.默认付费_切换为保险版会员类型并成功付款(Pay.java:1
19
)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
...
...
@@ -955,25 +991,19 @@
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:146)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:73)
at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:123)
</pre></pre></td>
</tr>
<tr>
<td>
Apr 26, 2020 0
1:07:30
PM
</td>
<td
class=
'linked'
test-id=
'
4'
>
Surefire suite
.分销码_付费页
</td>
<td>
Apr 26, 2020 0
2:54:31
PM
</td>
<td
class=
'linked'
test-id=
'
6'
>
支付
.分销码_付费页
</td>
<td><pre><pre>
java.lang.AssertionError: 获取付费价格:价格不是486 expected [486] but found [0.01]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertEquals(Assert.java:123)
at org.testng.Assert.assertEquals(Assert.java:176)
at com.kjj.qa.cases.Pay.分销码_付费页(Pay.java:15
9
)
at com.kjj.qa.cases.Pay.分销码_付费页(Pay.java:15
6
)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
...
...
@@ -995,25 +1025,19 @@
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:146)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:73)
at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:123)
</pre></pre></td>
</tr>
<tr>
<td>
Apr 26, 2020 0
1:07:32
PM
</td>
<td
class=
'linked'
test-id=
'
5'
>
Surefire suite
.分销码_切换为保险版会员类型并成功付款
</td>
<td>
Apr 26, 2020 0
2:54:33
PM
</td>
<td
class=
'linked'
test-id=
'
7'
>
支付
.分销码_切换为保险版会员类型并成功付款
</td>
<td><pre><pre>
java.lang.AssertionError: 会员类型切换:切换失败 expected [OK] but found [用户切换失败,请稍后再试]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertEquals(Assert.java:123)
at org.testng.Assert.assertEquals(Assert.java:176)
at com.kjj.qa.cases.Pay.分销码_切换为保险版会员类型并成功付款(Pay.java:23
3
)
at com.kjj.qa.cases.Pay.分销码_切换为保险版会员类型并成功付款(Pay.java:23
0
)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
...
...
@@ -1035,14 +1059,8 @@
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:94)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:146)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:73)
at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:123)
</pre></pre></td>
</tr>
</tbody>
...
...
@@ -1081,19 +1099,19 @@
<div
class=
'col s2'
>
<div
class=
'card-panel r'
>
Start
<div
class=
'panel-lead'
>
Apr 26, 2020 0
1:07:26
PM
</div>
<div
class=
'panel-lead'
>
Apr 26, 2020 0
2:54:24
PM
</div>
</div>
</div>
<div
class=
'col s2'
>
<div
class=
'card-panel r'
>
End
<div
class=
'panel-lead'
>
Apr 26, 2020 0
1:07:32
PM
</div>
<div
class=
'panel-lead'
>
Apr 26, 2020 0
2:54:28
PM
</div>
</div>
</div>
<div
class=
'col s2'
>
<div
class=
'card-panel r'
>
Time Taken
<div
class=
'panel-lead'
>
6,500
ms
</div>
<div
class=
'panel-lead'
>
4,321
ms
</div>
</div>
</div>
<div
class=
'col s4'
>
...
...
@@ -1108,14 +1126,20 @@
<th>
Others
</th>
</tr>
<tr>
<td>
Surefiresuite
</td>
<td>
5
</td>
<td>
客集集-测试结果
</td>
<td>
6
</td>
<td>
5
</td>
<td>
0
</td>
</tr>
<tr>
<td>
Surefiretest
</td>
<td>
5
</td>
<td>
首页
</td>
<td>
2
</td>
<td>
0
</td>
<td>
0
</td>
</tr>
<tr>
<td>
支付
</td>
<td>
4
</td>
<td>
5
</td>
<td>
0
</td>
</tr>
...
...
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