Commit fd981554 by zhaihuitao

update

parent 62d90780
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="d0064643-2990-4ed3-bfb0-875849b30f4e" name="Default" comment="">
<list default="true" id="d0064643-2990-4ed3-bfb0-875849b30f4e" name="Default" comment="update">
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/config/envcfg.py" afterPath="$PROJECT_DIR$/config/envcfg.py" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/config/prod/params.py" afterPath="$PROJECT_DIR$/config/prod/params.py" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/report/result.html" afterPath="$PROJECT_DIR$/report/result.html" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/testcase/android_click/test_click.py" afterPath="$PROJECT_DIR$/testcase/android_click/test_click.py" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/testcase/run_all_cases.py" afterPath="$PROJECT_DIR$/testcase/run_all_cases.py" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="TRACKING_ENABLED" value="true" />
......@@ -85,14 +83,14 @@
<file leaf-file-name="envcfg.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/config/envcfg.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="255">
<caret line="19" column="0" lean-forward="false" selection-start-line="19" selection-start-column="0" selection-end-line="19" selection-end-column="0" />
<state relative-caret-position="-834">
<caret line="4" column="22" lean-forward="true" selection-start-line="4" selection-start-column="22" selection-end-line="4" selection-end-column="22" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="test_click.py" pinned="false" current-in-tab="true">
<file leaf-file-name="test_click.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/testcase/android_click/test_click.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="105">
......@@ -102,11 +100,27 @@
</provider>
</entry>
</file>
<file leaf-file-name="result.html" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/report/result.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="165">
<caret line="11" column="38" lean-forward="true" selection-start-line="11" selection-start-column="38" selection-end-line="11" selection-end-column="38" />
<folding>
<element signature="e#211#215#0" expanded="true" />
<element signature="e#225#229#0" expanded="true" />
<element signature="n#style#0;n#h1#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="e#3653#3657#0" expanded="true" />
<element signature="e#3667#3671#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="params.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/config/prod/params.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="326">
<caret line="27" column="49" lean-forward="true" selection-start-line="27" selection-start-column="49" selection-end-line="27" selection-end-column="49" />
<state relative-caret-position="132">
<caret line="75" column="22" lean-forward="false" selection-start-line="75" selection-start-column="0" selection-end-line="76" selection-end-column="0" />
<folding />
</state>
</provider>
......@@ -125,7 +139,7 @@
<file leaf-file-name="test_install.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/testcase/android_events/test_install.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="240">
<state relative-caret-position="330">
<caret line="22" column="29" lean-forward="false" selection-start-line="22" selection-start-column="29" selection-end-line="22" selection-end-column="29" />
<folding>
<element signature="e#102#117#0" expanded="true" />
......@@ -134,11 +148,11 @@
</provider>
</entry>
</file>
<file leaf-file-name="run_all_cases.py" pinned="false" current-in-tab="false">
<file leaf-file-name="run_all_cases.py" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/testcase/run_all_cases.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="105">
<caret line="7" column="0" lean-forward="false" selection-start-line="7" selection-start-column="0" selection-end-line="7" selection-end-column="0" />
<state relative-caret-position="285">
<caret line="44" column="39" lean-forward="false" selection-start-line="44" selection-start-column="39" selection-end-line="44" selection-end-column="39" />
<folding>
<element signature="e#105#120#0" expanded="true" />
</folding>
......@@ -178,16 +192,6 @@
</provider>
</entry>
</file>
<file leaf-file-name="test_startup.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/testcase/android_events/test_startup.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="210">
<caret line="18" column="22" lean-forward="false" selection-start-line="18" selection-start-column="22" selection-end-line="18" selection-end-column="22" />
<folding />
</state>
</provider>
</entry>
</file>
</leaf>
</component>
<component name="FileTemplateManagerImpl">
......@@ -214,6 +218,7 @@
<find>prod_click_url</find>
<find>stringIO</find>
<find>report</find>
<find>os</find>
</findStrings>
<replaceStrings>
<replace />
......@@ -250,8 +255,6 @@
<option value="$PROJECT_DIR$/testcase/android_events/test_gettime.py" />
<option value="/anaconda3/lib/python3.6/HTMLTestReportCN.py" />
<option value="/anaconda3/lib/python3.6/site-packages/HTMLTestRunner.py" />
<option value="$PROJECT_DIR$/report/result.html" />
<option value="$PROJECT_DIR$/testcase/run_all_cases.py" />
<option value="$PROJECT_DIR$/testcase/android_events/test_adclick.py" />
<option value="$PROJECT_DIR$/testcase/android_events/test_adshow.py" />
<option value="$PROJECT_DIR$/testcase/android_events/test_appduration.py" />
......@@ -267,6 +270,8 @@
<option value="$PROJECT_DIR$/config/envcfg.py" />
<option value="$PROJECT_DIR$/config/prod/params.py" />
<option value="$PROJECT_DIR$/testcase/android_click/test_click.py" />
<option value="$PROJECT_DIR$/report/result.html" />
<option value="$PROJECT_DIR$/testcase/run_all_cases.py" />
</list>
</option>
</component>
......@@ -422,6 +427,20 @@
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="interfaceTest" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="interfaceTest" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="common" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
</PATH_ELEMENT>
</PATH>
</subPane>
</pane>
<pane id="Scratches" />
......@@ -737,13 +756,6 @@
<updated>1596505503233</updated>
<workItem from="1596786333197" duration="228000" />
</task>
<task id="LOCAL-00026" summary="add install enevt">
<created>1597657655934</created>
<option name="number" value="00026" />
<option name="presentableId" value="LOCAL-00026" />
<option name="project" value="LOCAL" />
<updated>1597657655935</updated>
</task>
<task id="LOCAL-00027" summary="add install enevt">
<created>1597658753991</created>
<option name="number" value="00027" />
......@@ -1080,7 +1092,14 @@
<option name="project" value="LOCAL" />
<updated>1604903882354</updated>
</task>
<option name="localTasksCounter" value="75" />
<task id="LOCAL-00075" summary="update">
<created>1604906142053</created>
<option name="number" value="00075" />
<option name="presentableId" value="LOCAL-00075" />
<option name="project" value="LOCAL" />
<updated>1604906142054</updated>
</task>
<option name="localTasksCounter" value="76" />
<servers />
</component>
<component name="TestHistory">
......@@ -1132,7 +1151,7 @@
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32838285" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32838285" sideWeight="0.5072698" order="7" side_tool="true" content_ui="tabs" />
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32956383" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Run" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.328125" sideWeight="0.4927302" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.328125" sideWeight="0.4927302" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32838285" sideWeight="0.5" order="10" side_tool="false" content_ui="tabs" />
<window_info id="Python Console" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32838285" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.24959612" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
......@@ -1334,6 +1353,7 @@
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="210">
<caret line="14" column="0" lean-forward="true" selection-start-line="14" selection-start-column="0" selection-end-line="14" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
......@@ -1363,6 +1383,7 @@
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
......@@ -1378,6 +1399,7 @@
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
......@@ -1389,13 +1411,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/report/result.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
</state>
</provider>
</entry>
<entry file="file:///anaconda3/lib/python3.6/ntpath.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-83">
......@@ -1407,6 +1422,7 @@
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="1004">
<caret line="548" column="8" lean-forward="false" selection-start-line="548" selection-start-column="8" selection-end-line="548" selection-end-column="8" />
<folding />
</state>
</provider>
</entry>
......@@ -1414,6 +1430,7 @@
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="2550">
<caret line="175" column="0" lean-forward="false" selection-start-line="175" selection-start-column="0" selection-end-line="175" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
......@@ -1523,47 +1540,61 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcase/android_events/test_install.py">
<entry file="file://$PROJECT_DIR$/testcase/android_click/test_click.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="240">
<caret line="22" column="29" lean-forward="false" selection-start-line="22" selection-start-column="29" selection-end-line="22" selection-end-column="29" />
<folding>
<element signature="e#102#117#0" expanded="true" />
</folding>
<state relative-caret-position="105">
<caret line="7" column="0" lean-forward="true" selection-start-line="7" selection-start-column="0" selection-end-line="7" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcase/run_all_cases.py">
<entry file="file://$PROJECT_DIR$/config/envcfg.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="105">
<caret line="7" column="0" lean-forward="false" selection-start-line="7" selection-start-column="0" selection-end-line="7" selection-end-column="0" />
<state relative-caret-position="-834">
<caret line="4" column="22" lean-forward="true" selection-start-line="4" selection-start-column="22" selection-end-line="4" selection-end-column="22" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/report/result.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="165">
<caret line="11" column="38" lean-forward="true" selection-start-line="11" selection-start-column="38" selection-end-line="11" selection-end-column="38" />
<folding>
<element signature="e#105#120#0" expanded="true" />
<element signature="e#211#215#0" expanded="true" />
<element signature="e#225#229#0" expanded="true" />
<element signature="n#style#0;n#h1#0;n#div#0;n#body#0;n#html#0;n#!!top" expanded="true" />
<element signature="e#3653#3657#0" expanded="true" />
<element signature="e#3667#3671#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/config/envcfg.py">
<entry file="file://$PROJECT_DIR$/testcase/android_events/test_install.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="255">
<caret line="19" column="0" lean-forward="false" selection-start-line="19" selection-start-column="0" selection-end-line="19" selection-end-column="0" />
<folding />
<state relative-caret-position="330">
<caret line="22" column="29" lean-forward="false" selection-start-line="22" selection-start-column="29" selection-end-line="22" selection-end-column="29" />
<folding>
<element signature="e#102#117#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/config/prod/params.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="326">
<caret line="27" column="49" lean-forward="true" selection-start-line="27" selection-start-column="49" selection-end-line="27" selection-end-column="49" />
<state relative-caret-position="132">
<caret line="75" column="22" lean-forward="false" selection-start-line="75" selection-start-column="0" selection-end-line="76" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/testcase/android_click/test_click.py">
<entry file="file://$PROJECT_DIR$/testcase/run_all_cases.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="105">
<caret line="7" column="0" lean-forward="true" selection-start-line="7" selection-start-column="0" selection-end-line="7" selection-end-column="0" />
<folding />
<state relative-caret-position="285">
<caret line="44" column="39" lean-forward="false" selection-start-line="44" selection-start-column="39" selection-end-line="44" selection-end-column="39" />
<folding>
<element signature="e#105#120#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
......
......@@ -123,8 +123,8 @@ function html_escape(s) {
<div class='heading'>
<h1 style="font-family: Microsoft YaHei">&lt;TKIO接口监控报告&gt;</h1>
<p class='attribute'><strong>测试人员 : </strong> 翟会涛</p>
<p class='attribute'><strong>开始时间 : </strong> 2020-11-09 15:15:10</p>
<p class='attribute'><strong>合计耗时 : </strong> 0:00:07.359393</p>
<p class='attribute'><strong>开始时间 : </strong> 2020-11-12 10:55:51</p>
<p class='attribute'><strong>合计耗时 : </strong> 0:00:02.217408</p>
<p class='attribute'><strong>测试结果 : </strong> 共 14,通过 14,通过率= 100.00%</p>
<p class='description'>TKIO接口自动化测试用例</p>
......@@ -177,283 +177,7 @@ function html_escape(s) {
<div id='div_pt1_1' class="collapse in">
<pre>
pt1_1: &lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta charset="utf-8"&gt;
&lt;title&gt;TrackingIO&lt;/title&gt;
&lt;meta name="keywords" content="热云数据 TrackingIO" /&gt;
&lt;meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"&gt;
&lt;meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0" name="viewport"&gt;
&lt;link rel="shortcut icon" href="favicon.ico" type="image/x-icon"&gt;
&lt;link rel="stylesheet" href="styles/index.css?r=0.866073161829263"&gt;
&lt;script src="scripts/change.js?r=0.5787849386688322"&gt;&lt;/script&gt;
&lt;script src="scripts/com.js?r=0.32109934743493795"&gt;&lt;/script&gt;
&lt;script src="scripts/app.js?r=0.922922644065693"&gt;&lt;/script&gt;
&lt;script src="scripts/ui.js?r=0.024402349023148417"&gt;&lt;/script&gt;
&lt;/head&gt;
&lt;body ng-app="app" ng-controller="indexCtrl" ng-class="{'noreport':backReport}"&gt;
&lt;div class="mainBody"&gt;
&lt;div class="header" ng-class="{'channelTop': channelAlert &amp;&amp; isChannelU}"&gt;
&lt;div class="leftHeader bdRight"&gt;
&lt;a href="home.html"&gt;
&lt;div ng-show="doMainType == 0" class="iconfont icon-logo"&gt;&lt;/div&gt;
&lt;!--&lt;img ng-cloak ng-show="doMainType == 1" class="rlogo_xinhua" src="./images/logo_xinhua.png" alt=""&gt;--&gt;
&lt;img ng-cloak ng-show="doMainType == 1" class="rlogo_xinhua" ng-src="{{otherCompanyInfo.indexLogo}}" alt=""&gt;
&lt;/a&gt;
&lt;/div&gt;
&lt;div class="rightHeader clearfix"&gt;
&lt;!--&lt;div class="toggleBtn" ng-if="!showGoHomeBtn() &amp;&amp; doMainType == 0"&gt;&lt;a href="{{ioUrl}}" target="_blank" ng-cloak&gt;{{'进入灵犀' | translate}}&lt;/a&gt;&lt;/div&gt;--&gt;
&lt;div class="toggleBtnBack" ng-click="goPage('collect.dashboard')" ng-if="showGoHomeBtn()&amp;&amp;applistInfo.length&gt;0"&gt;&lt;a target="_blank" ng-cloak&gt;{{'返回主页' | translate}}&lt;/a&gt;&lt;/div&gt;
&lt;div class="toggleBtnBack" ng-click="goPage('collect.app')" ng-if="showGoHomeBtn()&amp;&amp;applistInfo.length&lt;=0"&gt;&lt;a target="_blank" ng-cloak&gt;{{'返回主页' | translate}}&lt;/a&gt;&lt;/div&gt;
&lt;div ng-click="goPage('collect.advancedServices')" class="as" style="line-height: 34px;" ng-cloak&gt;
&lt;span class="dia_icon" title="{{'高级服务' | translate}}"&gt;&lt;/span&gt;
&lt;span style="margin-left: 6px;"&gt;{{'高级服务' | translate}}&lt;/span&gt;
&lt;/div&gt;
&lt;div class="flowinfo"&gt;
&lt;div class="flowCircle" ng-if="flowKnow &amp;&amp; !flowRestrict"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="userinfo tran" style="margin-left: 18px;" ng-mouseenter="showTran=true" ng-mouseleave="showTran=false" ng-show="showLang"&gt;
&lt;span ng-class="{'tranEnIconN': $root.getLang() =='en_US','tranZhIconN': $root.getLang() =='zh_CN'}"&gt;&lt;/span&gt;
&lt;div class="userInfoWrap tranPDiv" ng-show="showTran" style=""&gt;
&lt;div class="tranSDiv" ng-click="setLang(1);showTran=false;"&gt;{{'中文' | translate}}&lt;/div&gt;
&lt;div class="tranSDiv" ng-click="setLang(0);showTran=false;"&gt;{{'英文' | translate}}&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="userinfo headeruserinfo" ng-mouseenter="showinfo=true;" ng-mouseleave="closeImformation()" ng-class="{'active':showinfo}" ng-cloak&gt;
&lt;span class="userIconN"&gt;&lt;/span&gt;
&lt;!--更改下面隐藏的弹窗闪屏问题,去掉ng-show="showinfo" 判断显示隐藏,改用.headeruserinfo css hover判断。--&gt;
&lt;div class="userInfoWrap" ng-class="{'userInfoWrapFlow':byflow &amp;&amp; !flowRestrict &amp;&amp; (isSuper || isManage)}"&gt;
&lt;div class="userInfoDetail"&gt;
&lt;div class="itemInfo"&gt;
&lt;div class="userflowText"&gt;&lt;span class="userIcon"&gt;&lt;/span&gt;{{loginuserName}}&lt;/div&gt;
&lt;div style="width: auto;background-size: 474px 122px;background-position: -344px -8px;" ng-if="!flowRestrict &amp;&amp; (isSuper || isManage)" class="userflowType flowType" ng-class="{'flowTypeRed':flowLevel==5,'flowTypeRedLong':flowLevel==6,'userflowTypeLong':flowLevel==6}"&gt;
&lt;p style="text-indent: 14px;" class="small-font smallsize-font"&gt;{{flowName | translate}}&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="itemInfo light" ng-if="flowRestrict"&gt;
&lt;span class="userPrizeIcon regPrize"&gt;&lt;/span&gt;
&lt;span class="mr10"&gt;{{ '注册会员' | translate}}&lt;/span&gt;
&lt;!-- cuPrize suPrize goldPrize damPrize--&gt;
&lt;span style="cursor: default;"&gt;{{ '升级套餐,请联系商务' | translate}}&lt;/span&gt;
&lt;/div&gt;
&lt;!--按年--&gt;
&lt;div class="itemInfo light" ng-if="!byflow &amp;&amp; !flowRestrict &amp;&amp; (isSuper || isManage)"&gt;
{{ '广告效果监控:' | translate}} {{trackUsed}}K {{'已使用流量'| translate}}
&lt;/div&gt;
&lt;!--按流量--&gt;
&lt;div class="itemInfo light" ng-if="byflow &amp;&amp; !flowRestrict &amp;&amp; (isSuper || isManage)"&gt;
&lt;div class="userflowText"&gt;{{ '广告效果监控(年流量):' | translate}}&amp;nbsp;&lt;/div&gt;
&lt;div class="allflow"&gt;
&lt;div class="useflow" ng-class="{'useflowRed': trackPercent &gt;= 0.8}" style="width: {{trackPercent*70}}px; max-width: 70px"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="userflowText"&gt;{{trackUsed}}K/{{trackAll}}K&lt;/div&gt;
&lt;/div&gt;
&lt;div class="userflowText" style="margin-top: -15px;display: block;color: #666;"&gt;{{'流量 = 点击流量 + 展示流量' | translate}}&lt;/div&gt;
&lt;div class="itemInfo light" ng-if="!preStatus"&gt;
{{ '有效期至:' | translate}}&amp;nbsp;&lt;span ng-class="{'error':pastLong &lt;= 0}"&gt;{{userPastDate}}&lt;/span&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="userInfoBottom" ng-class="{'third':isSuper || isManage,'byflow':byflow &amp;&amp; !flowRestrict &amp;&amp; (isSuper || isManage)}" ng-style="{'en':{'height':'unset','line-height':'unset'}}[lang]"&gt;
&lt;div class="itemBtn light" ng-click="goPage('collect.userinfo')" ng-class="{'impItemBtn': lang=='en'}"&gt;
{{ '账号管理' | translate}}
&lt;/div&gt;
&lt;!--&lt;div class="itemBtn light" ng-click="goPage('collect.auth')" ng-if="!demoU &amp;&amp; showMenu('auth')" ng-class="{'impItemBtn': lang=='en'}"&gt;
{{ '成员管理' | translate}}
&lt;/div&gt;&lt;br ng-if="lang=='en'"&gt;&lt;div class="itemBtn light" ng-click="goPage('collect.authrole')" ng-if="!demoU &amp;&amp; (isSuper || isManage)" ng-class="{'impItemBtn': lang=='en'}"&gt;
{{ '权限管理' | translate}}
&lt;/div&gt;--&gt;
&lt;div class="itemBtn light" ng-click="goPage('collect.auth')" ng-if="showMenu('auth')" ng-class="{'impItemBtn': lang=='en'}"&gt;
{{ '成员管理' | translate}}
&lt;/div&gt;&lt;br ng-if="lang=='en'"&gt;
&lt;div class="itemBtn light" ng-click="goPage('collect.authrole')" ng-if="isSuper || isManage|| demoU" ng-class="{'impItemBtn': lang=='en'}"&gt;
{{ '权限管理' | translate}}
&lt;/div&gt;
&lt;div class="itemBtn light" ng-mouseenter="lgo = true;" ng-mouseleave="lgo = false;" ng-click="userLogout()" ng-class="{'impItemBtn': lang=='en'}"&gt;
{{ '注销' | translate}}
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!--&lt;a ng-if="!preStatus &amp;&amp; doMainType == 0" class="wapSetInfo" ng-click="goHelp()" target="_blank" title="{{ '帮助中心' | translate}}"&gt;&lt;span class="helpIconN"&gt;&lt;/span&gt;&lt;/a&gt;--&gt;
&lt;a ng-if="!preStatus" class="wapSetInfo" ng-click="goHelp()" target="_blank" title="{{ '帮助中心' | translate}}"&gt;&lt;span class="helpIconN"&gt;&lt;/span&gt;&lt;/a&gt;
&lt;!-- 消息公告 --&gt;
&lt;noticenews&gt;&lt;/noticenews&gt;
&lt;div class="userinfo" ng-if="!isChannelU" ng-mouseenter="showset=true;" ng-mouseleave="showset=false" ng-class="{'active':showset}" ng-cloak&gt;
&lt;span class="setIcon"&gt;&lt;/span&gt;
&lt;ul class="setInfoWrap" ng-show="showset" ng-style="{'en':{'width':'200px'}}[lang]"&gt;
&lt;li ng-click="goPage('collect.channel','manage')"&gt;{{ '投放账号管理' | translate}}&lt;/li&gt;
&lt;li ng-click="goPage('collect.customchannel','manage')"&gt;{{ '自定义渠道管理' | translate}}&lt;/li&gt;
&lt;li ng-click="goPage('collect.deviceManage','manage')"&gt;{{ '设备管理' | translate}}&lt;/li&gt;
&lt;!-- &lt;li ng-click="goPage('collect.deeplink','manage')" ng-show="isSuper"&gt;{{ 'Deeplink参数设置' | translate}}&lt;/li&gt; --&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;!--产品下拉列表--&gt;
&lt;div class="wapSetInfo p" ng-show="noLeftMenus.indexOf(pagePath)==-1"&gt;
&lt;select-list meau-info="applistInfo" meau-id="appid" meau-data="appidInit" meau-refresh="appfresh" class="appWrap" icon-type="white"&gt;&lt;/select-list&gt;
&lt;/div&gt;
&lt;!-- &lt;div class="wapSetInfo p" ng-click="goPage('collect.app')"&gt;
&lt;span class="app_icon" title="全部产品"&gt;&lt;/span&gt;
&lt;label ng-show="noLeftMenus.indexOf(pagePath)&gt;-1"&gt;全部产品&lt;/label&gt;
&lt;/div&gt; --&gt;
&lt;!-- &lt;div class="wapSetInfoBox"&gt; --&gt;
&lt;!--所有地区--&gt;
&lt;!-- &lt;div class="wapSetInfo p rg0" &gt;
&lt;select-list meau-info="appArealistInfo" meau-placeholder="{{'按地理位置搜索' | translate}}" meau-id="appAreaId" meau-data="appAreaIdInit" keyid="regionKey" keyname="showValue" class="appWrap appWrap_border" class="appWrap" icon-type="white"&gt;&lt;/select-list&gt;
&lt;/div&gt; --&gt;
&lt;!--产品下拉列表--&gt;
&lt;!-- &lt;div class="wapSetInfo p rg0 wap_bd" ng-show="noLeftMenus.indexOf(pagePath)==-1"&gt;
&lt;select-list meau-info="applistInfo" meau-id="appid" meau-data="appidInit" meau-refresh="appfresh" class="appWrap appWrap_border" icon-type="white"&gt;&lt;/select-list&gt;
&lt;/div&gt; --&gt;
&lt;!-- &lt;/div&gt; --&gt;
&lt;div class="wapSetInfo p" ng-click="goPage('collect.app')"&gt;
&lt;span class="app_icon" title="{{'全部产品' | translate}}"&gt;&lt;/span&gt;
&lt;label ng-show="noLeftMenus.indexOf(pagePath)&gt;-1"&gt;{{'全部产品' | translate}}&lt;/label&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="contentWrap"&gt;
&lt;div class="newsTips" ng-if="showDashboardTip &amp;&amp; appOnlineTips"&gt;
尊敬的用户:距离您的产品 &lt;span class="fs14"&gt;"{{appName}}" &lt;/span&gt;上线还有 &lt;span&gt;{{appOnlineRemindDays}}&lt;/span&gt; 天,如您已在App Store修改了预计上线日期,请将最新的产品上线日期同步更新至TrackingIO,&lt;a class="hover" ng-click="goAppDetailpage()" href=""&gt;点击进入产品设置&lt;/a&gt;
&lt;a class="fakeAlertWarn" href="" ng-click="closeNewsTip()"&gt;不再提醒&lt;/a&gt;
&lt;div class="fakeAlertClose" ng-click="closeHint()"&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="alphaDiv" id="sysLoad" style="display: none;z-index: 999;"&gt;
&lt;div class="spinner"&gt;
&lt;div class="rect1"&gt;&lt;/div&gt;
&lt;div class="rect2"&gt;&lt;/div&gt;
&lt;div class="rect3"&gt;&lt;/div&gt;
&lt;div class="rect4"&gt;&lt;/div&gt;
&lt;div class="rect5"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="alphaDiv" id="alpLoad" style="display: none;z-index: 99;"&gt;&lt;/div&gt;
&lt;!-- &lt;div class="infoTips spin-toggle" ng-if="operShow"&gt;{{operMsg}}&lt;/div&gt; --&gt;
&lt;div class="infoTips toggle" ng-if="operShow" ng-cloak&gt;{{operMsg}}&lt;/div&gt;
&lt;div class="leftSidebar slide-down" ng-show="noLeftMenus.indexOf(pagePath)==-1"&gt;
&lt;!----&gt;
&lt;div ui-view&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="rightWrap"&gt;
&lt;div class="rightContent slide-top" ui-view="content" ng-style="resizeStyle()" ng-if="!hasPermission"&gt;
&lt;/div&gt;
&lt;!--&lt;div class="rightContent slide-top" ng-style="resizeStyle()" ng-if="hasPermission"&gt;&lt;p class="pageNoaccess"&gt;暂无权限&lt;/p&gt;&lt;/div&gt;--&gt;
&lt;div class="rightContent slide-top" ng-style="resizeStyle()" ng-if="hasPermission"&gt;
&lt;no-permission page-path="pagePath" desc="currentPageTips['页面描述']"&gt;
&lt;!--&lt;no-permission-desc&gt;{{currentPageTips['页面描述']}}&lt;/no-permission-desc&gt;--&gt;
&lt;!--&lt;no-permission-title&gt;{{currentPageTips['DAU趋势']}}&lt;/no-permission-title&gt;--&gt;
&lt;/no-permission&gt;
&lt;/div&gt;
&lt;div class="copyright" ng-style="resizeStyle()" ng-show="doMainType == 0"&gt;
2019 TrackingIO.com All Rights Reserved &lt;a href="http://www.miitbeian.gov.cn/" target="_blank"&gt;{{'京ICP备14021832号'| translate}}&lt;/a&gt;
&lt;/div&gt;
&lt;div class="copyright" ng-style="resizeStyle()" ng-show="doMainType == 1"&gt;
&lt;!--{{'京ICP备17012310号'| translate}}--&gt;
&lt;p style="padding-top: 20px;"&gt;{{otherCompanyInfo.icpNumber| translate}}&lt;/p&gt;
&lt;p&gt;技术支持:北京热云科技有限公司&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!--广告监测 流量用户--&gt;
&lt;div class="openTipWin" ng-if="trafficReminderShow" ng-controller="collectCtrl" ng-cloak style="z-index: 1001;"&gt;
&lt;div class="closeGray" ng-click="closeFlow('trackAlert')"&gt;&lt;/div&gt;
&lt;div class="tipCont" style="height: 100px;"&gt;
&lt;p&gt;{{trafficReminderTip}}&lt;/p&gt;
&lt;!--&lt;p ng-if="trackPercentRel &gt; 0.05 &amp;&amp; trackPercentRel &lt;= 0.2"&gt;
&amp;lt;!&amp;ndash;{{ '您购买的广告效果监控“' | translate}}{{flowName}}{{ '”中的' | translate}}{{trackAll}}K{{ '点击已经使用' | translate}}{{trackUsed}}K{{ ',按照您近期的使用量,预计剩余流量将在' | translate}}{{trackRemainDay}}{{ '天内用尽,请关注您的套餐流量使用情况,并联系商务续订服务。' | translate}}&amp;ndash;&amp;gt;
&lt;ANY translate="您购买的广告效果监控“X”中的Y K点击已经使用,按照您近期的使用量,预计剩余流量将在'Z'天内用尽,请关注您的套餐流量使用情况,并联系商务续订服务。" translate-values="{X: flowName,Y: trackAll,Z: trackRemainDay}" &gt;&lt;/ANY&gt;
&lt;/p&gt;
&lt;p ng-if="trackPercentRel &gt; 0 &amp;&amp; trackPercentRel &lt;= 0.05"&gt;
&amp;lt;!&amp;ndash;{{ '您购买的广告效果监控“' | translate}}{{flowName}}{{ '”中的' | translate}}{{trackAll}}K{{ '点击已经使用' | translate}}{{trackUsed}}K{{ ',为了不影响您的正常使用,请尽快联系商务续订服务。流量用尽后我们将会继续支持您的数据上报和接收,但数据展示服务将暂时无法使用。' | translate}}&amp;ndash;&amp;gt;
&lt;ANY translate="您购买的广告效果监控“X”中的Y K点击已经使用,为了不影响您的正常使用,请尽快联系商务续订服务。流量用尽后我们将会继续支持您的数据上报和接收,但数据展示服务将暂时无法使用。" translate-values="{X: flowName,Y: trackAll}" &gt;&lt;/ANY&gt;
&lt;/p&gt;
&lt;p ng-if="trackPercentRel &lt;= 0"&gt;
&lt;span ng-hide="behaviorAuth &amp;&amp; trackPercentRel &lt;= 0 &amp;&amp; ioPercentRel &lt;= -0.05"&gt;
&amp;lt;!&amp;ndash;{{ '您购买的广告效果监控“' | translate}}{{flowName}}{{ '”中的' | translate}}{{trackAll}}K{{ '点击已经用完,为了不影响您的正常使用,请尽快联系商务续订服务。流量用尽后我们将会继续支持您的数据上报和接收,但数据展示服务将暂时无法使用。' | translate}}&amp;ndash;&amp;gt;
&lt;ANY translate="您购买的广告效果监控“X”中的Y K点击已经用完,为了不影响您的正常使用,请尽快联系商务续订服务。流量用尽后我们将会继续支持您的数据上报和接收,但数据展示服务将暂时无法使用。" translate-values="{X: flowName,Y: trackAll}" &gt;&lt;/ANY&gt;
&lt;/span&gt;
&lt;span ng-show="behaviorAuth &amp;&amp; trackPercentRel &lt;= 0 &amp;&amp; ioPercentRel &lt;= -0.05"&gt;{{ '您购买的“' | translate}}{{flowName}}{{ '”已经用完,账号将自动退出,为了不影响您的正常使用,请尽快联系商务续订服务。流量用尽后我们将会继续支持您的数据上报和接收,但数据展示服务将暂时无法使用。' | translate}}&lt;br&gt;&amp;nbsp;&lt;/span&gt;
&lt;/p&gt;--&gt;
&lt;/div&gt;
&lt;div class="openBtnGroup clearfix"&gt;
&lt;div class="btn8" ng-click="closeFlow('trackAlert')" style="margin-left: 65px;"&gt;
{{ '我知道了' | translate}}
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!--广告监测 流量用户到期--&gt;
&lt;div class="openTipWin" ng-if="trackDateAlert &amp;&amp; pastLong &lt;= 30 &amp;&amp; !flowRestrict" ng-controller="collectCtrl" ng-cloak style="z-index: 1000;"&gt;
&lt;div class="closeGray" ng-click="closeFlow('trackDateAlert')"&gt;&lt;/div&gt;
&lt;div class="tipCont" style="height: 100px;"&gt;
&lt;p ng-if="pastLong &gt; 0 &amp;&amp; pastLong &lt;= 30"&gt;{{ '您购买的广告效果监控“' | translate}}{{flowName}}{{ '”将在' | translate}}&lt;span ng-if="pastLong!= 30"&gt;{{pastLong}}{{ '天' | translate}}&lt;/span&gt;&lt;span ng-if="pastLong== 30"&gt;{{ '一个月' | translate}}&lt;/span&gt;{{ '后(' | translate}}{{userPastDate}}{{ ')到期,为了不影响您的正常使用,请尽快联系商务续订服务。服务到期后我们将会继续支持您的数据上报和接收,但数据展示服务将暂时无法使用。'
| translate}}&lt;/p&gt;
&lt;p ng-if="pastLong ==0"&gt;{{ '您购买的广告效果监控“' | translate}}{{flowName}}{{ '”将在明天过期,为了不影响您的正常使用,请尽快联系商务续订服务。服务到期后我们将会继续支持您的数据上报和接收,但数据展示服务将暂时无法使用。' | translate}}&lt;/p&gt;
&lt;p ng-if="pastLong &lt; 0"&gt;{{ '您购买的广告效果监控“包年套餐' | translate}}{{flowName}}{{ '”已经到期,为了不影响您的正常使用,请尽快联系商务续订服务。服务到期后我们将会继续支持您的数据上报和接收,但数据展示服务将暂时无法使用。' | translate}}&lt;/p&gt;
&lt;/div&gt;
&lt;div class="openBtnGroup clearfix"&gt;
&lt;div class="btn8" ng-click="closeFlow('trackDateAlert')" style="margin-left: 65px;"&gt;{{ '我知道了' | translate}}&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!--渠道账号到期或流量用尽--&gt;
&lt;div class="openTipWin" ng-if="channelAlert &amp;&amp; isChannelU" ng-controller="collectCtrl" ng-cloak&gt;
&lt;div class="closeGray" style="background: none"&gt;&lt;/div&gt;
&lt;div class="tipCont"&gt;
&lt;p ng-if="trackAndIoBothExhaust &amp;&amp; !mainAccountExpire" style="text-align: center; padding-bottom: 20px;"&gt;{{ '当前产品的套餐流量已用尽,待客户续费后可以恢复查看' | translate}}&lt;/p&gt;
&lt;p ng-if="mainAccountExpire || (trackAndIoBothExhaust &amp;&amp; mainAccountExpire)" style="text-align: center; padding-bottom: 20px;"&gt;{{ '当前产品的服务已到期,待客户续费后可以恢复查看' | translate}}&lt;/p&gt;
&lt;/div&gt;
&lt;!-- &lt;div class="openBtnGroup clearfix"&gt;
&lt;div class="btn8" ng-click="closeFlow()" style="margin-left: 65px;"&gt;我知道了&lt;/div&gt;
&lt;/div&gt; --&gt;
&lt;/div&gt;
&lt;!--广告监测 流量用户--&gt;
&lt;div class="openTipWin" ng-if="(isSuper || isManage) &amp;&amp; clickshowWin" ng-cloak&gt;
&lt;div class="closeGray" ng-click="closeClickShowWin()"&gt;&lt;/div&gt;
&lt;div class="tipCont"&gt;
&lt;p&gt;{{ 'TrackingIO已经支持展示的监测,创建推广活动后会生成点击和展示监测短链,请将对应的链接添加至广告平台的监测地址栏中。如果您需要对展示做归因,请在“推广参数管理”中进行设置。' | translate}}&lt;/p&gt;
&lt;/div&gt;
&lt;div class="openBtnGroup clearfix"&gt;
&lt;div class="btn8" ng-click="closeClickShowWin()" style="margin-left: 65px;"&gt;
{{ '我知道了' | translate}}
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- &lt;notice&gt;&lt;/notice&gt; --&gt;
&lt;/div&gt;
&lt;div class="helpTipWrap winTips" id="winTC"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;!--&lt;div class="alphaDiv" ng-if="trackAlert &amp;&amp; byflow &amp;&amp; trackPercentRel &lt;= 0.2 &amp;&amp; !flowRestrict" style="z-index: 997"&gt;&lt;/div&gt;--&gt;
&lt;div class="alphaDiv" ng-if="trafficReminderShow" style="z-index: 997"&gt;&lt;/div&gt;
&lt;div class="alphaDiv" ng-if="trackDateAlert &amp;&amp; pastLong &lt;= 30 &amp;&amp; !flowRestrict" style="z-index: 997"&gt;&lt;/div&gt;
&lt;div class="alphaDiv" ng-if="channelAlert &amp;&amp; isChannelU" style="z-index: 997"&gt;&lt;/div&gt;
&lt;div class="alphaDiv" ng-if="(isSuper || isManage) &amp;&amp; clickshowWin" style="z-index: 997"&gt;&lt;/div&gt;
&lt;!--首页面遮盖层--&gt;
&lt;div class="cover tac" ng-show="$root.showCover"&gt;&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;script type="text/javascript"&gt;
TrackingIO.init("e0b3000ebd3f54b791a405f68d3e520c");
&lt;/script&gt;
pt1_1: 200
</pre>
......@@ -628,7 +352,7 @@ pt6_1: custom{"status":0}
<div id='div_pt7_1' class="collapse in">
<pre>
pt7_1: {"ts":1604906115600,"status":0}
pt7_1: {"ts":1605149753560,"status":0}
</pre>
......
......@@ -42,7 +42,7 @@ if __name__ == "__main__":
)
runner.run(all_case())
"""在控制台打印日志"""
unittest.TextTestRunner(verbosity=2).run(all_case())
unittest.TextTestRunner(verbosity=1).run(all_case())
fp.close()
......
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