Commit f1b19809 authored by Su-Yi's avatar Su-Yi

更新tku

parent 640fea81
...@@ -24,11 +24,6 @@ public class Home { ...@@ -24,11 +24,6 @@ public class Home {
network.agentCookies.put("acw_tc","76b20ff215756198852864366e248d9e6bfb989ae8f073e81a05f23e6ef703"); network.agentCookies.put("acw_tc","76b20ff215756198852864366e248d9e6bfb989ae8f073e81a05f23e6ef703");
network.agentHeaders.put("Content-Type","application/json"); 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 方法执行优先级 @Test (description = "JSSDK",priority = 1) //priorty 方法执行优先级
......
...@@ -21,8 +21,7 @@ public class Pay { ...@@ -21,8 +21,7 @@ public class Pay {
@BeforeClass @BeforeClass
public void setUp() { public void setUp() {
// 代理人 cookies // 代理人 cookies
network.agentCookies.put("tku","T3gM31f18jAXArVsnK4WomzkQTYdtMrQ7mddH1s4VLCViss4CrYGFX5CU5er74RDeCBz1JtxDMKpsX4m9H"); network.agentCookies.put("tku","T3gM31f18jAXAwJJQPrjuY6xCJQThg3dXxpzkv8X5w3oZZn5yXB41EQad3CuY5A8USk26gxjQvUn7hWekU");
// network.agentCookies.put("acw_tc","76b20fe315823353519212714e7eb372f83a4dd118d1a883b8a62aa4907755");
network.agentHeaders.put("Content-Type","application/json"); network.agentHeaders.put("Content-Type","application/json");
} }
...@@ -56,7 +55,6 @@ public class Pay { ...@@ -56,7 +55,6 @@ public class Pay {
String actualPayMoney = actualPayMoneyResponse.jsonPath().getString("data[0].actualPayMoney"); String actualPayMoney = actualPayMoneyResponse.jsonPath().getString("data[0].actualPayMoney");
Assert.assertEquals(actualPayMoney,"586","获取付费价格:价格不是586"); Assert.assertEquals(actualPayMoney,"586","获取付费价格:价格不是586");
System.out.println(1);
} }
@Test (description = "默认付费_待支付",priority = 2) @Test (description = "默认付费_待支付",priority = 2)
...@@ -74,7 +72,6 @@ public class Pay { ...@@ -74,7 +72,6 @@ public class Pay {
String appId = orderAppId.jsonPath().getString("data.appId"); String appId = orderAppId.jsonPath().getString("data.appId");
Assert.assertEquals(appId,"wxcb8c36279dd7dff2","拉起支付:拉起微信支付失败"); //判断返回的微信调起参数中appId是否正确 Assert.assertEquals(appId,"wxcb8c36279dd7dff2","拉起支付:拉起微信支付失败"); //判断返回的微信调起参数中appId是否正确
System.out.println(2);
} }
@Test (description = "默认付费_取消支付",priority = 3) @Test (description = "默认付费_取消支付",priority = 3)
...@@ -97,7 +94,6 @@ public class Pay { ...@@ -97,7 +94,6 @@ public class Pay {
Response resultResponse = network.getResponse(cancelParams,"/kjy/order/cancel"); Response resultResponse = network.getResponse(cancelParams,"/kjy/order/cancel");
String result = resultResponse.jsonPath().getString("desc"); String result = resultResponse.jsonPath().getString("desc");
Assert.assertEquals(result,"OK","取消支付:取消支付失败"); //判断返回的微信调起参数中appId是否正确 Assert.assertEquals(result,"OK","取消支付:取消支付失败"); //判断返回的微信调起参数中appId是否正确
System.out.println(3);
} }
// @Test (description = "默认付费_成功支付",priority = 4) // @Test (description = "默认付费_成功支付",priority = 4)
......
...@@ -30,11 +30,12 @@ public class ExtentTestNGIReporterListener implements IReporter { ...@@ -30,11 +30,12 @@ public class ExtentTestNGIReporterListener implements IReporter {
boolean createSuiteNode = false; boolean createSuiteNode = false;
//判断执行用例的队列是否有多个 //判断执行用例的队列是否有多个
if (suites.size() > 0) { if (suites.size() == 0) {
createSuiteNode = true; createSuiteNode = true;
} }
for (ISuite suite : suites) { for (ISuite suite : suites) {
Map<String, ISuiteResult> result = suite.getResults(); Map<String, ISuiteResult> result = suite.getResults();
// 如果suite里面没有任何用例,直接跳过,不在报告里生成 // 如果suite里面没有任何用例,直接跳过,不在报告里生成
if (result.size() == 0) { if (result.size() == 0) {
continue; continue;
...@@ -49,6 +50,7 @@ public class ExtentTestNGIReporterListener implements IReporter { ...@@ -49,6 +50,7 @@ public class ExtentTestNGIReporterListener implements IReporter {
suiteTest = extent.createTest(suite.getName()).assignCategory(suite.getName()); suiteTest = extent.createTest(suite.getName()).assignCategory(suite.getName());
} }
boolean createSuiteResultNode = false; boolean createSuiteResultNode = false;
if (result.size() > 1) { if (result.size() > 1) {
createSuiteResultNode = true; createSuiteResultNode = true;
} }
...@@ -99,7 +101,7 @@ public class ExtentTestNGIReporterListener implements IReporter { ...@@ -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 { try {
DingTalkUtil.sendVal(context); DingTalkUtil.sendVal(context);
} catch (Exception e) { } catch (Exception e) {
......
...@@ -26,27 +26,17 @@ public class NetworkOperation { ...@@ -26,27 +26,17 @@ public class NetworkOperation {
public Map<String, Object> getAgentHeaders() { return agentHeaders; } public Map<String, Object> getAgentHeaders() { return agentHeaders; }
public void setAgentHeaders(Map<String, Object> agentHeaders) { this.agentHeaders = 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 // 钉钉的 headers
public Map<String, Object> dingTalkHeaders = new HashMap<String, Object>(); public Map<String, Object> dingTalkHeaders = new HashMap<String, Object>();
public Map<String, Object> getDingTalkHeaders() { return dingTalkHeaders; } public Map<String, Object> getDingTalkHeaders() { return dingTalkHeaders; }
public void setDingTalkHeaders(Map<String, Object> dingTalkHeaders) { this.dingTalkHeaders = 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.duiba.com.cn"; //线上
private static String host = "https://kjj.m.duibatest.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 不带参请求 // get 不带参请求
public Response getResponse(String path) { public Response getResponse(String path) {
...@@ -93,16 +83,6 @@ public class NetworkOperation { ...@@ -93,16 +83,6 @@ public class NetworkOperation {
.post(dingtalkPath); .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) { public static void main(String[] args) {
// NetworkOperation network = new NetworkOperation(); // NetworkOperation network = new NetworkOperation();
// //
...@@ -113,9 +93,6 @@ public class NetworkOperation { ...@@ -113,9 +93,6 @@ public class NetworkOperation {
// text.put("content","报告 :"); // text.put("content","报告 :");
// json.put("text",text); // json.put("text",text);
// Response res = network.dingTalkRobot(json); // Response res = network.dingTalkRobot(json);
} }
} }
...@@ -6,13 +6,13 @@ import java.util.HashMap; ...@@ -6,13 +6,13 @@ import java.util.HashMap;
public class DingTalkUtil { public class DingTalkUtil {
//通过钉钉机器人发送消息到钉钉群中 //通过钉钉机器人发送消息到钉钉群中
public static void sendVal(String context)throws Exception{ public static void sendVal(String context)throws Exception{
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+"'}}"; String entityString ="{'msgtype': 'text', 'text': {'content': '【测试结果】\n"+context+"'}}";
System.out.println(entityString); System.out.println(entityString);
// NetworkOperation network = new NetworkOperation(); NetworkOperation network = new NetworkOperation();
// network.dingTalkRobot(entityString); //发起请求 network.dingTalkRobot(entityString); //发起请求
} }
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
<ul id='nav-mobile' class='right hide-on-med-and-down nav-right'> <ul id='nav-mobile' class='right hide-on-med-and-down nav-right'>
<li> <li>
<a href='#!'> <a href='#!'>
<span class='label suite-start-time blue darken-3'>Apr 26, 2020 01:07:26 PM</span> <span class='label suite-start-time blue darken-3'>Apr 26, 2020 02:54:24 PM</span>
</a> </a>
</li> </li>
<li> <li>
...@@ -88,8 +88,9 @@ ...@@ -88,8 +88,9 @@
<i class='material-icons'>local_offer</i> Category <i class='material-icons'>local_offer</i> Category
</a> </a>
<ul id='category-toggle' class='dropdown-content'> <ul id='category-toggle' class='dropdown-content'>
<li><a href='#'>Surefiresuite</a></li> <li><a href='#'>客集集-测试结果</a></li>
<li><a href='#'>Surefiretest</a></li> <li><a href='#'>首页</a></li>
<li><a href='#'>支付</a></li>
<li class='divider'></li> <li class='divider'></li>
<li class='clear'><a href='#!' clear='true'>Clear Filters</a></li> <li class='clear'><a href='#!' clear='true'>Clear Filters</a></li>
</ul> </ul>
...@@ -170,38 +171,96 @@ ...@@ -170,38 +171,96 @@
<ul id='test-collection' class='test-collection'> <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'> <div class='test-heading'>
<span class='test-name'>Surefire suite : Surefire test</span> <span class='test-name'>客集集-测试结果 : 首页</span>
<span class='test-time'>Apr 26, 2020 01:07:26 PM</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> <span class='test-status right fail'>fail</span>
</div> </div>
<div class='test-content hide'> <div class='test-content hide'>
<div class='test-time-info'> <div class='test-time-info'>
<span class='label start-time'>Apr 26, 2020 01:07:26 PM</span> <span class='label start-time'>Apr 26, 2020 02:54:28 PM</span>
<span class='label end-time'>Apr 26, 2020 01:07:32 PM</span> <span class='label end-time'>Apr 26, 2020 02:54:34 PM</span>
<span class='label time-taken grey lighten-1 white-text'>0h 0m 6s+500ms</span> <span class='label time-taken grey lighten-1 white-text'>0h 0m 6s+297ms</span>
</div> </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='test-attributes'>
<div class='category-list'> <div class='category-list'>
<span class='category label white-text'>Surefiresuite</span> <span class='category label white-text'>客集集-测试结果</span>
<span class='category label white-text'>Surefiretest</span> <span class='category label white-text'>支付</span>
</div> </div>
</div> </div>
<ul class='collapsible node-list' data-collapsible='accordion'> <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='collapsible-header'>
<div class='node-name'>默认付费_付费页</div> <div class='node-name'>默认付费_付费页</div>
<span class='node-time'>Apr 26, 2020 01:07:26 PM</span> <span class='node-time'>Apr 26, 2020 02:54:28 PM</span>
<span class='node-duration'>0h 0m 6s+648ms</span> <span class='node-duration'>0h 0m 6s+389ms</span>
<span class='test-status right fail'>fail</span> <span class='test-status right fail'>fail</span>
</div> </div>
<div class='collapsible-body'> <div class='collapsible-body'>
<div class='category-list right'> <div class='category-list right'>
<span class='category label white-text'>Surefiresuite</span> <span class='category label white-text'>客集集-测试结果</span>
<span class='category label white-text'>Surefiretest</span> <span class='category label white-text'>支付</span>
</div> </div>
<div class='node-steps'> <div class='node-steps'>
<table class='bordered table-results'> <table class='bordered table-results'>
...@@ -215,7 +274,7 @@ ...@@ -215,7 +274,7 @@
<tbody> <tbody>
<tr class='log' status='fail'> <tr class='log' status='fail'>
<td class='status fail' title='fail' alt='fail'><i class='material-icons'>cancel</i></td> <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] <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.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494) at org.testng.Assert.failNotEquals(Assert.java:494)
...@@ -243,14 +302,8 @@ ...@@ -243,14 +302,8 @@
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057) at org.testng.TestNG.run(TestNG.java:1057)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135) at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:73)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193) at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:123)
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)
</pre></td> </pre></td>
</tr> </tr>
</tbody> </tbody>
...@@ -258,17 +311,17 @@ ...@@ -258,17 +311,17 @@
</div> </div>
</div> </div>
</li> </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='collapsible-header'>
<div class='node-name'>默认付费_切换为保险版会员类型并成功付款</div> <div class='node-name'>默认付费_切换为保险版会员类型并成功付款</div>
<span class='node-time'>Apr 26, 2020 01:07:29 PM</span> <span class='node-time'>Apr 26, 2020 02:54:30 PM</span>
<span class='node-duration'>0h 0m 2s+896ms</span> <span class='node-duration'>0h 0m 3s+926ms</span>
<span class='test-status right fail'>fail</span> <span class='test-status right fail'>fail</span>
</div> </div>
<div class='collapsible-body'> <div class='collapsible-body'>
<div class='category-list right'> <div class='category-list right'>
<span class='category label white-text'>Surefiresuite</span> <span class='category label white-text'>客集集-测试结果</span>
<span class='category label white-text'>Surefiretest</span> <span class='category label white-text'>支付</span>
</div> </div>
<div class='node-steps'> <div class='node-steps'>
<table class='bordered table-results'> <table class='bordered table-results'>
...@@ -282,13 +335,13 @@ ...@@ -282,13 +335,13 @@
<tbody> <tbody>
<tr class='log' status='fail'> <tr class='log' status='fail'>
<td class='status fail' title='fail' alt='fail'><i class='material-icons'>cancel</i></td> <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 [用户切换失败,请稍后再试] <td class='step-details'><pre>java.lang.AssertionError: 会员类型切换:切换失败 expected [OK] but found [用户切换失败,请稍后再试]
at org.testng.Assert.fail(Assert.java:94) at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494) at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertEquals(Assert.java:123) at org.testng.Assert.assertEquals(Assert.java:123)
at org.testng.Assert.assertEquals(Assert.java:176) at org.testng.Assert.assertEquals(Assert.java:176)
at com.kjj.qa.cases.Pay.默认付费_切换为保险版会员类型并成功付款(Pay.java:122) at com.kjj.qa.cases.Pay.默认付费_切换为保险版会员类型并成功付款(Pay.java:119)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
...@@ -310,14 +363,8 @@ ...@@ -310,14 +363,8 @@
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057) at org.testng.TestNG.run(TestNG.java:1057)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135) at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:73)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193) at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:123)
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)
</pre></td> </pre></td>
</tr> </tr>
</tbody> </tbody>
...@@ -325,17 +372,17 @@ ...@@ -325,17 +372,17 @@
</div> </div>
</div> </div>
</li> </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='collapsible-header'>
<div class='node-name'>分销码_付费页</div> <div class='node-name'>分销码_付费页</div>
<span class='node-time'>Apr 26, 2020 01:07:30 PM</span> <span class='node-time'>Apr 26, 2020 02:54:31 PM</span>
<span class='node-duration'>0h 0m 2s+641ms</span> <span class='node-duration'>0h 0m 3s+493ms</span>
<span class='test-status right fail'>fail</span> <span class='test-status right fail'>fail</span>
</div> </div>
<div class='collapsible-body'> <div class='collapsible-body'>
<div class='category-list right'> <div class='category-list right'>
<span class='category label white-text'>Surefiresuite</span> <span class='category label white-text'>客集集-测试结果</span>
<span class='category label white-text'>Surefiretest</span> <span class='category label white-text'>支付</span>
</div> </div>
<div class='node-steps'> <div class='node-steps'>
<table class='bordered table-results'> <table class='bordered table-results'>
...@@ -349,13 +396,13 @@ ...@@ -349,13 +396,13 @@
<tbody> <tbody>
<tr class='log' status='fail'> <tr class='log' status='fail'>
<td class='status fail' title='fail' alt='fail'><i class='material-icons'>cancel</i></td> <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] <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.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494) at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertEquals(Assert.java:123) at org.testng.Assert.assertEquals(Assert.java:123)
at org.testng.Assert.assertEquals(Assert.java:176) at org.testng.Assert.assertEquals(Assert.java:176)
at com.kjj.qa.cases.Pay.分销码_付费页(Pay.java:159) at com.kjj.qa.cases.Pay.分销码_付费页(Pay.java:156)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
...@@ -377,14 +424,8 @@ ...@@ -377,14 +424,8 @@
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057) at org.testng.TestNG.run(TestNG.java:1057)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135) at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:73)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193) at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:123)
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)
</pre></td> </pre></td>
</tr> </tr>
</tbody> </tbody>
...@@ -392,17 +433,17 @@ ...@@ -392,17 +433,17 @@
</div> </div>
</div> </div>
</li> </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='collapsible-header'>
<div class='node-name'>分销码_切换为保险版会员类型并成功付款</div> <div class='node-name'>分销码_切换为保险版会员类型并成功付款</div>
<span class='node-time'>Apr 26, 2020 01:07:32 PM</span> <span class='node-time'>Apr 26, 2020 02:54:33 PM</span>
<span class='node-duration'>0h 0m 0s+606ms</span> <span class='node-duration'>0h 0m 1s+206ms</span>
<span class='test-status right fail'>fail</span> <span class='test-status right fail'>fail</span>
</div> </div>
<div class='collapsible-body'> <div class='collapsible-body'>
<div class='category-list right'> <div class='category-list right'>
<span class='category label white-text'>Surefiresuite</span> <span class='category label white-text'>客集集-测试结果</span>
<span class='category label white-text'>Surefiretest</span> <span class='category label white-text'>支付</span>
</div> </div>
<div class='node-steps'> <div class='node-steps'>
<table class='bordered table-results'> <table class='bordered table-results'>
...@@ -416,13 +457,13 @@ ...@@ -416,13 +457,13 @@
<tbody> <tbody>
<tr class='log' status='fail'> <tr class='log' status='fail'>
<td class='status fail' title='fail' alt='fail'><i class='material-icons'>cancel</i></td> <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 [用户切换失败,请稍后再试] <td class='step-details'><pre>java.lang.AssertionError: 会员类型切换:切换失败 expected [OK] but found [用户切换失败,请稍后再试]
at org.testng.Assert.fail(Assert.java:94) at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494) at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertEquals(Assert.java:123) at org.testng.Assert.assertEquals(Assert.java:123)
at org.testng.Assert.assertEquals(Assert.java:176) at org.testng.Assert.assertEquals(Assert.java:176)
at com.kjj.qa.cases.Pay.分销码_切换为保险版会员类型并成功付款(Pay.java:233) at com.kjj.qa.cases.Pay.分销码_切换为保险版会员类型并成功付款(Pay.java:230)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
...@@ -444,14 +485,8 @@ ...@@ -444,14 +485,8 @@
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057) at org.testng.TestNG.run(TestNG.java:1057)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135) at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:73)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193) at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:123)
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)
</pre></td> </pre></td>
</tr> </tr>
</tbody> </tbody>
...@@ -459,17 +494,17 @@ ...@@ -459,17 +494,17 @@
</div> </div>
</div> </div>
</li> </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='collapsible-header'>
<div class='node-name'>默认付费_待支付</div> <div class='node-name'>默认付费_待支付</div>
<span class='node-time'>Apr 26, 2020 01:07:28 PM</span> <span class='node-time'>Apr 26, 2020 02:54:29 PM</span>
<span class='node-duration'>0h 0m 3s+984ms</span> <span class='node-duration'>0h 0m 5s+326ms</span>
<span class='test-status right pass'>pass</span> <span class='test-status right pass'>pass</span>
</div> </div>
<div class='collapsible-body'> <div class='collapsible-body'>
<div class='category-list right'> <div class='category-list right'>
<span class='category label white-text'>Surefiresuite</span> <span class='category label white-text'>客集集-测试结果</span>
<span class='category label white-text'>Surefiretest</span> <span class='category label white-text'>支付</span>
</div> </div>
<div class='node-steps'> <div class='node-steps'>
<table class='bordered table-results'> <table class='bordered table-results'>
...@@ -483,7 +518,7 @@ ...@@ -483,7 +518,7 @@
<tbody> <tbody>
<tr class='log' status='pass'> <tr class='log' status='pass'>
<td class='status pass' title='pass' alt='pass'><i class='material-icons'>check_circle</i></td> <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> <td class='step-details'>Test passed</td>
</tr> </tr>
</tbody> </tbody>
...@@ -491,17 +526,17 @@ ...@@ -491,17 +526,17 @@
</div> </div>
</div> </div>
</li> </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='collapsible-header'>
<div class='node-name'>默认付费_取消支付</div> <div class='node-name'>默认付费_取消支付</div>
<span class='node-time'>Apr 26, 2020 01:07:29 PM</span> <span class='node-time'>Apr 26, 2020 02:54:30 PM</span>
<span class='node-duration'>0h 0m 3s+477ms</span> <span class='node-duration'>0h 0m 4s+678ms</span>
<span class='test-status right pass'>pass</span> <span class='test-status right pass'>pass</span>
</div> </div>
<div class='collapsible-body'> <div class='collapsible-body'>
<div class='category-list right'> <div class='category-list right'>
<span class='category label white-text'>Surefiresuite</span> <span class='category label white-text'>客集集-测试结果</span>
<span class='category label white-text'>Surefiretest</span> <span class='category label white-text'>支付</span>
</div> </div>
<div class='node-steps'> <div class='node-steps'>
<table class='bordered table-results'> <table class='bordered table-results'>
...@@ -515,7 +550,7 @@ ...@@ -515,7 +550,7 @@
<tbody> <tbody>
<tr class='log' status='pass'> <tr class='log' status='pass'>
<td class='status pass' title='pass' alt='pass'><i class='material-icons'>check_circle</i></td> <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> <td class='step-details'>Test passed</td>
</tr> </tr>
</tbody> </tbody>
...@@ -523,17 +558,17 @@ ...@@ -523,17 +558,17 @@
</div> </div>
</div> </div>
</li> </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='collapsible-header'>
<div class='node-name'>分销码_待支付</div> <div class='node-name'>分销码_待支付</div>
<span class='node-time'>Apr 26, 2020 01:07:30 PM</span> <span class='node-time'>Apr 26, 2020 02:54:32 PM</span>
<span class='node-duration'>0h 0m 2s+7ms</span> <span class='node-duration'>0h 0m 2s+820ms</span>
<span class='test-status right pass'>pass</span> <span class='test-status right pass'>pass</span>
</div> </div>
<div class='collapsible-body'> <div class='collapsible-body'>
<div class='category-list right'> <div class='category-list right'>
<span class='category label white-text'>Surefiresuite</span> <span class='category label white-text'>客集集-测试结果</span>
<span class='category label white-text'>Surefiretest</span> <span class='category label white-text'>支付</span>
</div> </div>
<div class='node-steps'> <div class='node-steps'>
<table class='bordered table-results'> <table class='bordered table-results'>
...@@ -547,7 +582,7 @@ ...@@ -547,7 +582,7 @@
<tbody> <tbody>
<tr class='log' status='pass'> <tr class='log' status='pass'>
<td class='status pass' title='pass' alt='pass'><i class='material-icons'>check_circle</i></td> <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> <td class='step-details'>Test passed</td>
</tr> </tr>
</tbody> </tbody>
...@@ -555,17 +590,17 @@ ...@@ -555,17 +590,17 @@
</div> </div>
</div> </div>
</li> </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='collapsible-header'>
<div class='node-name'>分销码_取消支付</div> <div class='node-name'>分销码_取消支付</div>
<span class='node-time'>Apr 26, 2020 01:07:31 PM</span> <span class='node-time'>Apr 26, 2020 02:54:32 PM</span>
<span class='node-duration'>0h 0m 1s+389ms</span> <span class='node-duration'>0h 0m 2s+257ms</span>
<span class='test-status right pass'>pass</span> <span class='test-status right pass'>pass</span>
</div> </div>
<div class='collapsible-body'> <div class='collapsible-body'>
<div class='category-list right'> <div class='category-list right'>
<span class='category label white-text'>Surefiresuite</span> <span class='category label white-text'>客集集-测试结果</span>
<span class='category label white-text'>Surefiretest</span> <span class='category label white-text'>支付</span>
</div> </div>
<div class='node-steps'> <div class='node-steps'>
<table class='bordered table-results'> <table class='bordered table-results'>
...@@ -579,39 +614,7 @@ ...@@ -579,39 +614,7 @@
<tbody> <tbody>
<tr class='log' status='pass'> <tr class='log' status='pass'>
<td class='status pass' title='pass' alt='pass'><i class='material-icons'>check_circle</i></td> <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>
</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='step-details'>Test passed</td> <td class='step-details'>Test passed</td>
</tr> </tr>
</tbody> </tbody>
...@@ -674,15 +677,15 @@ ...@@ -674,15 +677,15 @@
<li class='category displayed active'> <li class='category displayed active'>
<div class='category-heading'> <div class='category-heading'>
<span class='category-name'>Surefiresuite</span> <span class='category-name'>客集集-测试结果</span>
<span class='category-status right'> <span class='category-status right'>
<span class='label pass'>5</span> <span class='label pass'>6</span>
<span class='label fail'>5</span> <span class='label fail'>5</span>
</span> </span>
</div> </div>
<div class='category-content hide'> <div class='category-content hide'>
<div class='category-status-counts'> <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> <span class='label red lighten-1 white-text'>Failed: 5</span>
</div> </div>
...@@ -698,53 +701,97 @@ ...@@ -698,53 +701,97 @@
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td>Apr 26, 2020 01:07:26 PM</td> <td>Apr 26, 2020 02:54:24 PM</td>
<td class='linked' test-id='1'>Surefire suite</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> <td><span class='test-status fail'>fail</span></td>
</tr> </tr>
<tr> <tr>
<td>Apr 26, 2020 01:07:26 PM</td> <td>Apr 26, 2020 02:54:28 PM</td>
<td class='linked' test-id='2'>Surefire suite.默认付费_付费页</td> <td class='linked' test-id='4'>支付.默认付费_付费页</td>
<td><span class='test-status fail'>fail</span></td> <td><span class='test-status fail'>fail</span></td>
</tr> </tr>
<tr> <tr>
<td>Apr 26, 2020 01:07:29 PM</td> <td>Apr 26, 2020 02:54:30 PM</td>
<td class='linked' test-id='3'>Surefire suite.默认付费_切换为保险版会员类型并成功付款</td> <td class='linked' test-id='5'>支付.默认付费_切换为保险版会员类型并成功付款</td>
<td><span class='test-status fail'>fail</span></td> <td><span class='test-status fail'>fail</span></td>
</tr> </tr>
<tr> <tr>
<td>Apr 26, 2020 01:07:30 PM</td> <td>Apr 26, 2020 02:54:31 PM</td>
<td class='linked' test-id='4'>Surefire suite.分销码_付费页</td> <td class='linked' test-id='6'>支付.分销码_付费页</td>
<td><span class='test-status fail'>fail</span></td> <td><span class='test-status fail'>fail</span></td>
</tr> </tr>
<tr> <tr>
<td>Apr 26, 2020 01:07:32 PM</td> <td>Apr 26, 2020 02:54:33 PM</td>
<td class='linked' test-id='5'>Surefire suite.分销码_切换为保险版会员类型并成功付款</td> <td class='linked' test-id='7'>支付.分销码_切换为保险版会员类型并成功付款</td>
<td><span class='test-status fail'>fail</span></td> <td><span class='test-status fail'>fail</span></td>
</tr> </tr>
<tr> <tr>
<td>Apr 26, 2020 01:07:28 PM</td> <td>Apr 26, 2020 02:54:29 PM</td>
<td class='linked' test-id='6'>Surefire suite.默认付费_待支付</td> <td class='linked' test-id='8'>支付.默认付费_待支付</td>
<td><span class='test-status pass'>pass</span></td> <td><span class='test-status pass'>pass</span></td>
</tr> </tr>
<tr> <tr>
<td>Apr 26, 2020 01:07:29 PM</td> <td>Apr 26, 2020 02:54:30 PM</td>
<td class='linked' test-id='7'>Surefire suite.默认付费_取消支付</td> <td class='linked' test-id='9'>支付.默认付费_取消支付</td>
<td><span class='test-status pass'>pass</span></td> <td><span class='test-status pass'>pass</span></td>
</tr> </tr>
<tr> <tr>
<td>Apr 26, 2020 01:07:30 PM</td> <td>Apr 26, 2020 02:54:32 PM</td>
<td class='linked' test-id='8'>Surefire suite.分销码_待支付</td> <td class='linked' test-id='10'>支付.分销码_待支付</td>
<td><span class='test-status pass'>pass</span></td> <td><span class='test-status pass'>pass</span></td>
</tr> </tr>
<tr> <tr>
<td>Apr 26, 2020 01:07:31 PM</td> <td>Apr 26, 2020 02:54:32 PM</td>
<td class='linked' test-id='9'>Surefire suite.分销码_取消支付</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> <td><span class='test-status pass'>pass</span></td>
</tr> </tr>
<tr> <tr>
<td>Apr 26, 2020 01:07:32 PM</td> <td>Apr 26, 2020 02:54:24 PM</td>
<td class='linked' test-id='10'>Surefire suite.JSSDK</td> <td class='linked' test-id='2'>首页.JSSDK</td>
<td><span class='test-status pass'>pass</span></td> <td><span class='test-status pass'>pass</span></td>
</tr> </tr>
</tbody> </tbody>
...@@ -754,15 +801,15 @@ ...@@ -754,15 +801,15 @@
</li> </li>
<li class='category displayed active'> <li class='category displayed active'>
<div class='category-heading'> <div class='category-heading'>
<span class='category-name'>Surefiretest</span> <span class='category-name'>支付</span>
<span class='category-status right'> <span class='category-status right'>
<span class='label pass'>5</span> <span class='label pass'>4</span>
<span class='label fail'>5</span> <span class='label fail'>5</span>
</span> </span>
</div> </div>
<div class='category-content hide'> <div class='category-content hide'>
<div class='category-status-counts'> <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> <span class='label red lighten-1 white-text'>Failed: 5</span>
</div> </div>
...@@ -778,53 +825,48 @@ ...@@ -778,53 +825,48 @@
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td>Apr 26, 2020 01:07:26 PM</td> <td>Apr 26, 2020 02:54:28 PM</td>
<td class='linked' test-id='1'>Surefire suite</td> <td class='linked' test-id='3'>支付</td>
<td><span class='test-status fail'>fail</span></td> <td><span class='test-status fail'>fail</span></td>
</tr> </tr>
<tr> <tr>
<td>Apr 26, 2020 01:07:26 PM</td> <td>Apr 26, 2020 02:54:28 PM</td>
<td class='linked' test-id='2'>Surefire suite.默认付费_付费页</td> <td class='linked' test-id='4'>支付.默认付费_付费页</td>
<td><span class='test-status fail'>fail</span></td> <td><span class='test-status fail'>fail</span></td>
</tr> </tr>
<tr> <tr>
<td>Apr 26, 2020 01:07:29 PM</td> <td>Apr 26, 2020 02:54:30 PM</td>
<td class='linked' test-id='3'>Surefire suite.默认付费_切换为保险版会员类型并成功付款</td> <td class='linked' test-id='5'>支付.默认付费_切换为保险版会员类型并成功付款</td>
<td><span class='test-status fail'>fail</span></td> <td><span class='test-status fail'>fail</span></td>
</tr> </tr>
<tr> <tr>
<td>Apr 26, 2020 01:07:30 PM</td> <td>Apr 26, 2020 02:54:31 PM</td>
<td class='linked' test-id='4'>Surefire suite.分销码_付费页</td> <td class='linked' test-id='6'>支付.分销码_付费页</td>
<td><span class='test-status fail'>fail</span></td> <td><span class='test-status fail'>fail</span></td>
</tr> </tr>
<tr> <tr>
<td>Apr 26, 2020 01:07:32 PM</td> <td>Apr 26, 2020 02:54:33 PM</td>
<td class='linked' test-id='5'>Surefire suite.分销码_切换为保险版会员类型并成功付款</td> <td class='linked' test-id='7'>支付.分销码_切换为保险版会员类型并成功付款</td>
<td><span class='test-status fail'>fail</span></td> <td><span class='test-status fail'>fail</span></td>
</tr> </tr>
<tr> <tr>
<td>Apr 26, 2020 01:07:28 PM</td> <td>Apr 26, 2020 02:54:29 PM</td>
<td class='linked' test-id='6'>Surefire suite.默认付费_待支付</td> <td class='linked' test-id='8'>支付.默认付费_待支付</td>
<td><span class='test-status pass'>pass</span></td> <td><span class='test-status pass'>pass</span></td>
</tr> </tr>
<tr> <tr>
<td>Apr 26, 2020 01:07:29 PM</td> <td>Apr 26, 2020 02:54:30 PM</td>
<td class='linked' test-id='7'>Surefire suite.默认付费_取消支付</td> <td class='linked' test-id='9'>支付.默认付费_取消支付</td>
<td><span class='test-status pass'>pass</span></td> <td><span class='test-status pass'>pass</span></td>
</tr> </tr>
<tr> <tr>
<td>Apr 26, 2020 01:07:30 PM</td> <td>Apr 26, 2020 02:54:32 PM</td>
<td class='linked' test-id='8'>Surefire suite.分销码_待支付</td> <td class='linked' test-id='10'>支付.分销码_待支付</td>
<td><span class='test-status pass'>pass</span></td> <td><span class='test-status pass'>pass</span></td>
</tr> </tr>
<tr> <tr>
<td>Apr 26, 2020 01:07:31 PM</td> <td>Apr 26, 2020 02:54:32 PM</td>
<td class='linked' test-id='9'>Surefire suite.分销码_取消支付</td> <td class='linked' test-id='11'>支付.分销码_取消支付</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><span class='test-status pass'>pass</span></td> <td><span class='test-status pass'>pass</span></td>
</tr> </tr>
</tbody> </tbody>
...@@ -886,8 +928,8 @@ ...@@ -886,8 +928,8 @@
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td>Apr 26, 2020 01:07:26 PM</td> <td>Apr 26, 2020 02:54:28 PM</td>
<td class='linked' test-id='2'>Surefire suite.默认付费_付费页</td> <td class='linked' test-id='4'>支付.默认付费_付费页</td>
<td><pre><pre>java.lang.AssertionError: 会员类型版本判断:判断错误,此版本为保险版 expected [1] but found [2] <td><pre><pre>java.lang.AssertionError: 会员类型版本判断:判断错误,此版本为保险版 expected [1] but found [2]
at org.testng.Assert.fail(Assert.java:94) at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494) at org.testng.Assert.failNotEquals(Assert.java:494)
...@@ -915,25 +957,19 @@ ...@@ -915,25 +957,19 @@
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057) at org.testng.TestNG.run(TestNG.java:1057)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135) at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:73)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193) at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:123)
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)
</pre></pre></td> </pre></pre></td>
</tr> </tr>
<tr> <tr>
<td>Apr 26, 2020 01:07:29 PM</td> <td>Apr 26, 2020 02:54:30 PM</td>
<td class='linked' test-id='3'>Surefire suite.默认付费_切换为保险版会员类型并成功付款</td> <td class='linked' test-id='5'>支付.默认付费_切换为保险版会员类型并成功付款</td>
<td><pre><pre>java.lang.AssertionError: 会员类型切换:切换失败 expected [OK] but found [用户切换失败,请稍后再试] <td><pre><pre>java.lang.AssertionError: 会员类型切换:切换失败 expected [OK] but found [用户切换失败,请稍后再试]
at org.testng.Assert.fail(Assert.java:94) at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494) at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertEquals(Assert.java:123) at org.testng.Assert.assertEquals(Assert.java:123)
at org.testng.Assert.assertEquals(Assert.java:176) at org.testng.Assert.assertEquals(Assert.java:176)
at com.kjj.qa.cases.Pay.默认付费_切换为保险版会员类型并成功付款(Pay.java:122) at com.kjj.qa.cases.Pay.默认付费_切换为保险版会员类型并成功付款(Pay.java:119)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
...@@ -955,25 +991,19 @@ ...@@ -955,25 +991,19 @@
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057) at org.testng.TestNG.run(TestNG.java:1057)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135) at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:73)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193) at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:123)
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)
</pre></pre></td> </pre></pre></td>
</tr> </tr>
<tr> <tr>
<td>Apr 26, 2020 01:07:30 PM</td> <td>Apr 26, 2020 02:54:31 PM</td>
<td class='linked' test-id='4'>Surefire suite.分销码_付费页</td> <td class='linked' test-id='6'>支付.分销码_付费页</td>
<td><pre><pre>java.lang.AssertionError: 获取付费价格:价格不是486 expected [486] but found [0.01] <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.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494) at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertEquals(Assert.java:123) at org.testng.Assert.assertEquals(Assert.java:123)
at org.testng.Assert.assertEquals(Assert.java:176) at org.testng.Assert.assertEquals(Assert.java:176)
at com.kjj.qa.cases.Pay.分销码_付费页(Pay.java:159) at com.kjj.qa.cases.Pay.分销码_付费页(Pay.java:156)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
...@@ -995,25 +1025,19 @@ ...@@ -995,25 +1025,19 @@
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057) at org.testng.TestNG.run(TestNG.java:1057)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135) at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:73)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193) at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:123)
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)
</pre></pre></td> </pre></pre></td>
</tr> </tr>
<tr> <tr>
<td>Apr 26, 2020 01:07:32 PM</td> <td>Apr 26, 2020 02:54:33 PM</td>
<td class='linked' test-id='5'>Surefire suite.分销码_切换为保险版会员类型并成功付款</td> <td class='linked' test-id='7'>支付.分销码_切换为保险版会员类型并成功付款</td>
<td><pre><pre>java.lang.AssertionError: 会员类型切换:切换失败 expected [OK] but found [用户切换失败,请稍后再试] <td><pre><pre>java.lang.AssertionError: 会员类型切换:切换失败 expected [OK] but found [用户切换失败,请稍后再试]
at org.testng.Assert.fail(Assert.java:94) at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494) at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertEquals(Assert.java:123) at org.testng.Assert.assertEquals(Assert.java:123)
at org.testng.Assert.assertEquals(Assert.java:176) at org.testng.Assert.assertEquals(Assert.java:176)
at com.kjj.qa.cases.Pay.分销码_切换为保险版会员类型并成功付款(Pay.java:233) at com.kjj.qa.cases.Pay.分销码_切换为保险版会员类型并成功付款(Pay.java:230)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
...@@ -1035,14 +1059,8 @@ ...@@ -1035,14 +1059,8 @@
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057) at org.testng.TestNG.run(TestNG.java:1057)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:135) at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:73)
at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:193) at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:123)
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)
</pre></pre></td> </pre></pre></td>
</tr> </tr>
</tbody> </tbody>
...@@ -1081,19 +1099,19 @@ ...@@ -1081,19 +1099,19 @@
<div class='col s2'> <div class='col s2'>
<div class='card-panel r'> <div class='card-panel r'>
Start Start
<div class='panel-lead'>Apr 26, 2020 01:07:26 PM</div> <div class='panel-lead'>Apr 26, 2020 02:54:24 PM</div>
</div> </div>
</div> </div>
<div class='col s2'> <div class='col s2'>
<div class='card-panel r'> <div class='card-panel r'>
End End
<div class='panel-lead'>Apr 26, 2020 01:07:32 PM</div> <div class='panel-lead'>Apr 26, 2020 02:54:28 PM</div>
</div> </div>
</div> </div>
<div class='col s2'> <div class='col s2'>
<div class='card-panel r'> <div class='card-panel r'>
Time Taken Time Taken
<div class='panel-lead'>6,500ms</div> <div class='panel-lead'>4,321ms</div>
</div> </div>
</div> </div>
<div class='col s4'> <div class='col s4'>
...@@ -1108,14 +1126,20 @@ ...@@ -1108,14 +1126,20 @@
<th>Others</th> <th>Others</th>
</tr> </tr>
<tr> <tr>
<td>Surefiresuite</td> <td>客集集-测试结果</td>
<td>5</td> <td>6</td>
<td>5</td> <td>5</td>
<td>0</td> <td>0</td>
</tr> </tr>
<tr> <tr>
<td>Surefiretest</td> <td>首页</td>
<td>5</td> <td>2</td>
<td>0</td>
<td>0</td>
</tr>
<tr>
<td>支付</td>
<td>4</td>
<td>5</td> <td>5</td>
<td>0</td> <td>0</td>
</tr> </tr>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment