SeldomQA / seldom

Seldom automation testing framework based on unittest
https://seldomqa.github.io/
Apache License 2.0
803 stars 328 forks source link

【建议】img.itest.info用的是http协议不支持https,报告在https上打开时cdn会因为不安全无法加载 #236

Closed qingdog closed 2 months ago

qingdog commented 2 months ago
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>接口自动化测试报告</title>
  <meta name="generator" content="XTestRunner 1.7.4"/>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/echarts/5.4.2/echarts.min.js"></script>
  <link rel="stylesheet" href="http://img.itest.info/seldom-main.css"/>
  <link rel="stylesheet" href="http://img.itest.info/seldom-utilities.css"/>
defnngj commented 2 months ago

@qingdog

XTestRunner 报告已经将CSS 资源的 http 替换为了 https。

请单独升级 pip install XTestRunenr==1.7.5 版本。

qingdog commented 2 months ago

image

jquery 还是http。不过似乎报告模板似乎没有用到,即便加载失败了,也不影响查看。