自动化回归测试:新增对通过颜色对对比结果分级 · MTBug/APIJSONAuto@6edcec4 · GitHub
Skip to content

Commit 6edcec4

Browse files
committed
自动化回归测试:新增对通过颜色对对比结果分级
1 parent 1c7f711 commit 6edcec4

3 files changed

Lines changed: 136 additions & 3 deletions

File tree

apijson/JSONResponse.js

Lines changed: 118 additions & 0 deletions

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
<ul v-show="isRemoteShow" class="historys" style="width: 100%;height: 100%;overflow: hidden;overflow-y: scroll;padding-bottom: 50px">
9696
<li v-for="(item, index) in remotes" >
9797
<a href="javascript:void(0)" @click="restore(item)" > {{(item.version > 0 ? 'V' + item.version : 'V*') + ' ' + item.name + ' ' + item.url}}</a>
98-
<div v-show="item.compare != null && item.compare > 0" style="position: absolute;right: 30px;display: inline-block;">
98+
<div :style="{ background: item.compareColor }" v-show="item.compare != null && item.compare > 0" style="position: absolute;right: 30px;display: inline-block;">
9999
<button @click="handleTest(false, index, item)" style="position: relative;color: red">错误,已解决</button>
100100
<svg class="icon" style="position: relative;margin-left: 10px" @click="downloadTest(index, item)">
101101
<use xlink:href="svg/icon.svg#export-txt"></use>

js/main.js

Lines changed: 17 additions & 2 deletions

0 commit comments

Comments
 (0)