Commit 7f18b900 authored by 龚小红's avatar 龚小红

增加半天计划优化的测试用例

parent 916d2e63
...@@ -121,8 +121,8 @@ public class ExtentTestNGIReporterListener implements IReporter { ...@@ -121,8 +121,8 @@ public class ExtentTestNGIReporterListener implements IReporter {
// 设置静态文件的DNS // 设置静态文件的DNS
//怎么样解决cdn.rawgit.com访问不了的情况 //怎么样解决cdn.rawgit.com访问不了的情况
htmlReporter.config().setResourceCDN(ResourceCDN.EXTENTREPORTS); htmlReporter.config().setResourceCDN(ResourceCDN.EXTENTREPORTS);
htmlReporter.config().setDocumentTitle("客集集-自动化测试报告"); htmlReporter.config().setDocumentTitle("OTO-自动化测试报告");
htmlReporter.config().setReportName("客集集-自动化测试报告"); htmlReporter.config().setReportName("OTO-自动化测试报告");
htmlReporter.config().setChartVisibilityOnOpen(true); htmlReporter.config().setChartVisibilityOnOpen(true);
//报表位置 //报表位置
htmlReporter.config().setTestViewChartLocation(ChartLocation.TOP); htmlReporter.config().setTestViewChartLocation(ChartLocation.TOP);
......
...@@ -23,7 +23,7 @@ public class DingTalkUtils { ...@@ -23,7 +23,7 @@ public class DingTalkUtils {
//测试结果 //测试结果
context = "【接口自动化测试结果反馈】\n" context = "【接口自动化测试结果反馈】\n"
+ context + context
+ "报告地址: http://10.172.58.199/view/kkk/job/oto/HTML_20Report\n"; + "报告地址: http://10.175.236.17//view/kkk/job/oto/HTML_20Report\n";
System.out.println(context); System.out.println(context);
Map<String, Object> contentParams = new HashMap<String, Object>(); Map<String, Object> contentParams = new HashMap<String, Object>();
......
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