Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
A
auto-test-case
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
黄承天
auto-test-case
Commits
fa8a57cf
提交
fa8a57cf
authored
12月 04, 2020
作者:
黄承天
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[feature]
前端页面更新
上级
c6fb351f
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
6 行增加
和
3 行删除
+6
-3
SeleniumExecutor.java
...main/java/com/zjty/autotest/service/SeleniumExecutor.java
+2
-1
index.html
src/main/resources/adapter/index.html
+2
-2
app.2a82befe.css
src/main/resources/adapter/static/css/app.2a82befe.css
+2
-0
chunk-vendors.fef80702.css
...n/resources/adapter/static/css/chunk-vendors.fef80702.css
+0
-0
app.08c5d19d.js
src/main/resources/adapter/static/js/app.08c5d19d.js
+0
-0
app.08c5d19d.js.map
src/main/resources/adapter/static/js/app.08c5d19d.js.map
+0
-0
chunk-vendors.dda05319.js
...ain/resources/adapter/static/js/chunk-vendors.dda05319.js
+0
-0
chunk-vendors.dda05319.js.map
...resources/adapter/static/js/chunk-vendors.dda05319.js.map
+0
-0
没有找到文件。
src/main/java/com/zjty/autotest/service/SeleniumExecutor.java
浏览文件 @
fa8a57cf
...
@@ -89,6 +89,7 @@ public class SeleniumExecutor {
...
@@ -89,6 +89,7 @@ public class SeleniumExecutor {
public
Report
execute
(
TestCase
testCase
,
String
browser
,
List
<
Param
>
params
,
Boolean
headless
)
{
public
Report
execute
(
TestCase
testCase
,
String
browser
,
List
<
Param
>
params
,
Boolean
headless
)
{
//重置测试报告数据
//重置测试报告数据
clear
();
clear
();
log
.
info
(
"静默模式:{}"
,
headless
);
try
{
try
{
start
();
start
();
startTime
=
new
Date
();
startTime
=
new
Date
();
...
@@ -425,7 +426,7 @@ public class SeleniumExecutor {
...
@@ -425,7 +426,7 @@ public class SeleniumExecutor {
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
error
(
e
.
getLocalizedMessage
());
log
.
error
(
e
.
getLocalizedMessage
());
Arrays
.
stream
(
e
.
getStackTrace
()).
forEach
(
System
.
out
::
println
);
Arrays
.
stream
(
e
.
getStackTrace
()).
forEach
(
System
.
out
::
println
);
message
=
e
.
getMessage
();
message
=
e
.
get
Localized
Message
();
costTime
=
System
.
currentTimeMillis
()
-
stepStartTime
;
costTime
=
System
.
currentTimeMillis
()
-
stepStartTime
;
success
=
false
;
success
=
false
;
}
}
...
...
src/main/resources/adapter/index.html
浏览文件 @
fa8a57cf
<!DOCTYPE html>
<html
lang=
"en"
><head><meta
charset=
"utf-8"
><meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
><meta
name=
"viewport"
content=
"width=device-width,initial-scale=1"
><link
rel=
"icon"
href=
"favicon.ico"
><title>
seleniumide1
</title><link
href=
"static/css/app.52163bfd.css"
rel=
"preload"
as=
"style"
crossorigin
><link
href=
"static/css/chunk-vendors.fef80702.css"
rel=
"preload"
as=
"style"
crossorigin
><link
href=
"static/js/app.386e4ded.js"
rel=
"preload"
as=
"script"
crossorigin
><link
href=
"static/js/chunk-vendors.dda05319.js"
rel=
"preload"
as=
"script"
crossorigin
><link
href=
"static/css/chunk-vendors.fef80702.css"
rel=
"stylesheet"
crossorigin
><link
href=
"static/css/app.52163bfd.css"
rel=
"stylesheet"
crossorigin
></head><body
style=
"background-color: #eef1fa;"
><div
id=
"app"
></div><script
src=
"static/js/chunk-vendors.dda05319.js"
crossorigin
></script><script
src=
"static/js/app.386e4ded.js"
crossorigin
></script></body></html>
<!DOCTYPE html>
<html
lang=
"en"
><head><meta
charset=
"utf-8"
><meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
><meta
name=
"viewport"
content=
"width=device-width,initial-scale=1"
><link
rel=
"icon"
href=
"favicon.ico"
><title>
seleniumide1
</title><link
href=
"static/css/app.2a82befe.css"
rel=
"preload"
as=
"style"
crossorigin
><link
href=
"static/css/chunk-vendors.fef80702.css"
rel=
"preload"
as=
"style"
crossorigin
><link
href=
"static/js/app.08c5d19d.js"
rel=
"preload"
as=
"script"
crossorigin
><link
href=
"static/js/chunk-vendors.dda05319.js"
rel=
"preload"
as=
"script"
crossorigin
><link
href=
"static/css/chunk-vendors.fef80702.css"
rel=
"stylesheet"
crossorigin
><link
href=
"static/css/app.2a82befe.css"
rel=
"stylesheet"
crossorigin
></head><body
style=
"background-color: #eef1fa;"
><div
id=
"app"
></div><script
src=
"static/js/chunk-vendors.dda05319.js"
crossorigin
></script><script
src=
"static/js/app.08c5d19d.js"
crossorigin
></script></body></html>
\ No newline at end of file
\ No newline at end of file
src/main/resources/adapter/static/css/app.2a82befe.css
0 → 100755
浏览文件 @
fa8a57cf
#app
{
font-family
:
Avenir
,
Helvetica
,
Arial
,
sans-serif
;
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
text-align
:
center
;
margin
:
0
;
padding
:
0
;
box-sizing
:
border-box
;
color
:
#2c3e50
}
#app
/
deep
/
.el-header
{
padding
:
0
;
height
:
.447917rem
;
background-color
:
#fff
;
width
:
100vw
;
display
:
flex
;
align-items
:
center
}
.title
{
font-size
:
.177083rem
;
color
:
#383874
}
.back
,
.title
{
font-weight
:
bolder
;
padding-left
:
3%
;
cursor
:
pointer
}
.back
{
font-size
:
.130208rem
;
letter-spacing
:
.005208rem
;
z-index
:
1000
}
.back
img
{
padding-bottom
:
.026042rem
}
#nav
{
padding
:
.15625rem
}
#nav
a
{
font-weight
:
700
;
color
:
#2c3e50
}
#nav
a
.router-link-exact-active
{
color
:
#42b983
}
.input
{
float
:
right
;
margin-bottom
:
3%
}
.input
/
deep
/
.el-button
{
background-color
:
#383874
;
color
:
#fff
;
letter-spacing
:
.005208rem
;
font-size
:
.104167rem
}
.table
/
deep
/
.el-table
.el-link
{
margin-right
:
.052083rem
}
.table
/
deep
/
.el-dialog__wrapper
{
display
:
flex
;
justify-content
:
center
;
align-items
:
center
}
.table
/
deep
/
.el-dialog
.el-dialog__header
{
display
:
flex
;
margin-left
:
5%
;
padding-left
:
0
;
width
:
90%
;
border-bottom
:
.005208rem
solid
#5059d5
}
.table
/
deep
/
.el-dialog
.el-dialog__header
/
deep
/
.el-dialog__title
{
color
:
#383874
;
font-size
:
.078125rem
;
font-weight
:
bolder
;
letter-spacing
:
.005208rem
}
.table
/
deep
/
.el-dialog
.el-dialog__footer
/
deep
/
.dialog-footer
.el-button
{
height
:
.177083rem
;
width
:
.416667rem
;
color
:
#fff
;
border-radius
:
.041667rem
;
border
:
none
}
.table
/
deep
/
.el-dialog
.el-dialog__footer
/
deep
/
.dialog-footer
.el-button--default
{
background-color
:
#383874
}
.table
/
deep
/
.el-dialog
.el-dialog__footer
/
deep
/
.dialog-footer
.el-button--primary
{
background-color
:
#ee4b4a
}
.table
/
deep
/
.el-table
.el-table__header
.has-gutter
tr
th
{
background-color
:
#383874
;
color
:
#fff
;
letter-spacing
:
.005208rem
}
#components-layout-demo-basic
[
data-v-1ed0b193
]
{
text-align
:
center
}
.ant-layout-header
[
data-v-1ed0b193
]
{
font-size
:
2em
;
background-color
:
#fff
;
text-align
:
left
}
.tableTitle
[
data-v-1ed0b193
]
{
display
:
inline-block
;
margin-left
:
45%
;
color
:
#383874
;
font-weight
:
700
}
.ant-layout-footer
[
data-v-1ed0b193
]
{
line-height
:
1.5
}
.middle
[
data-v-1ed0b193
]
{
background-color
:
#e7e4e4
}
.ant-layout-sider
[
data-v-1ed0b193
]
{
background-color
:
#fff
;
line-height
:
.208333rem
;
height
:
4.583333rem
;
margin-top
:
.052083rem
}
.testExampleList
[
data-v-1ed0b193
]
{
height
:
1.25rem
;
overflow
:
auto
;
overflow-y
:
overlay
}
.ant-layout-content
[
data-v-1ed0b193
]
{
color
:
#fff
;
height
:
4.6875rem
;
line-height
:
.3125rem
;
position
:
relative
;
margin-left
:
.104167rem
}
.ant-layout
[
data-v-1ed0b193
]
{
margin-bottom
:
.25rem
}
.ant-layout
[
data-v-1ed0b193
]
:last-child
{
margin
:
0
}
.script
[
data-v-1ed0b193
]
{
display
:
inline-block
;
font-size
:
2em
;
color
:
#383874
;
font-weight
:
700
}
.uploadScript
[
data-v-1ed0b193
]
{
height
:
.208333rem
;
width
:
.520833rem
;
line-height
:
.208333rem
;
margin-left
:
90%
;
margin-top
:
.078125rem
;
margin-bottom
:
.104167rem
;
border-radius
:
5%
;
border
:
none
;
background-color
:
#383874
;
cursor
:
pointer
}
.exampleHeader
[
data-v-1ed0b193
]
{
height
:
.15625rem
;
width
:
70%
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
float
:
right
;
margin-top
:
.052083rem
;
margin-right
:
15%
;
border-bottom
:
.005208rem
solid
#383874
}
.square
[
data-v-1ed0b193
]
{
height
:
.0625rem
;
width
:
.0625rem
;
background-color
:
#383874
}
.testExampleTitle
[
data-v-1ed0b193
]
{
width
:
70%
;
margin-left
:
.026042rem
;
margin-right
:
.026042rem
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
text-align
:
left
}
.testExampleTitle
[
data-v-1ed0b193
]
:hover
{
cursor
:
pointer
;
color
:
#00bfff
}
.allPlay
[
data-v-1ed0b193
]
{
height
:
.104167rem
;
width
:
.104167rem
;
cursor
:
pointer
}
.example
[
data-v-1ed0b193
]
{
height
:
auto
;
width
:
60%
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
float
:
right
;
margin-right
:
15%
;
border-bottom
:
.005208rem
dashed
#383874
}
.circle
[
data-v-1ed0b193
]
{
height
:
.041667rem
;
width
:
.041667rem
;
background-color
:
#383874
;
border-radius
:
50%
}
.exampleName
[
data-v-1ed0b193
]
{
width
:
60%
;
margin-left
:
5%
;
text-align
:
left
;
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
}
.exampleName
[
data-v-1ed0b193
]
:hover
{
color
:
#00bfff
;
cursor
:
pointer
}
.playBtn
[
data-v-1ed0b193
]
{
margin-left
:
5%
;
height
:
.078125rem
;
width
:
.078125rem
;
cursor
:
pointer
}
[
data-v-1ed0b193
]
.ant-table-header
{
background-color
:
#383874
}
[
data-v-1ed0b193
]
.ant-table-header
.ant-table-thead
th
{
color
:
#fff
;
background-color
:
#383874
;
text-align
:
center
}
[
data-v-1ed0b193
]
.ant-table-tbody
td
{
text-align
:
center
}
[
data-v-1ed0b193
]
.ant-modal
{
width
:
30%
!important
}
.ant-form-item
[
data-v-1ed0b193
]
{
display
:
flex
;
justify-items
:
center
}
[
data-v-1ed0b193
]
.ant-form-item
.ant-form-item-label
{
display
:
inline-block
;
width
:
40%
;
text-align
:
left
}
[
data-v-1ed0b193
]
.ant-form-item
.ant-form-item-label
label
{
color
:
#383874
}
[
data-v-1ed0b193
]
.ant-form-item
.ant-form-item-control-wrapper
{
display
:
inline-block
;
width
:
60%
}
.cookieTitle
[
data-v-1ed0b193
]
{
margin-left
:
2%
;
color
:
#383874
}
.ant-radio-group
label
[
data-v-1ed0b193
]
{
color
:
#383874
}
[
data-v-1ed0b193
]
.ant-modal-footer
{
display
:
flex
;
justify-content
:
center
}
[
data-v-1ed0b193
]
.cookieKey
.ant-form-explain
{
margin-left
:
5%
}
.testNameTitle
[
data-v-1ed0b193
]
{
margin-left
:
10%
}
.scriptUploadTitle
[
data-v-1ed0b193
]
{
margin-top
:
10%
;
margin-bottom
:
10%
;
margin-left
:
30%
}
.testName
[
data-v-1ed0b193
]
{
width
:
.520833rem
;
text-align
:
center
;
display
:
inline-block
;
color
:
#383874
}
.testNameInp
[
data-v-1ed0b193
]
{
width
:
1.302083rem
;
border
:
none
;
border-radius
:
0
;
border-bottom
:
.005208rem
solid
#383874
;
display
:
inline-block
}
.scriptUpload
[
data-v-1ed0b193
]
{
width
:
.520833rem
;
text-align
:
center
;
display
:
inline-block
;
color
:
#383874
}
.uploadBtn
[
data-v-1ed0b193
]
{
border-radius
:
.052083rem
;
border-color
:
#383874
;
background-color
:
#fff
;
color
:
#383874
}
[
data-v-1ed0b193
]
.upload
.ant-upload-list-item-info
{
margin-left
:
22%
}
[
data-v-1ed0b193
]
.upload
.ant-upload-list-item-card-actions
{
right
:
50%
}
.dataCountBtn
[
data-v-1ed0b193
]
{
height
:
.208333rem
;
width
:
.520833rem
;
margin-left
:
90%
;
background-color
:
#383874
;
color
:
#fff
}
.cookie
[
data-v-1ed0b193
]
{
margin-top
:
10%
;
margin-left
:
10%
}
.cookieText
[
data-v-1ed0b193
]
{
display
:
inline-block
}
.cookieInp
[
data-v-1ed0b193
]
{
display
:
inline-block
;
width
:
.78125rem
;
margin-left
:
5%
}
.readBtn
[
data-v-9b5897ee
]
{
margin-right
:
10%
;
color
:
#383874
;
background-color
:
#fff
;
border
:
none
}
.readBtn
[
data-v-9b5897ee
]
:hover
{
color
:
#00bfff
}
.deleteBtn
[
data-v-9b5897ee
]
{
color
:
red
;
border
:
none
}
.return
[
data-v-c0192548
]
{
text-align
:
left
;
margin-left
:
3%
;
color
:
#383874
;
font-size
:
1.5em
;
font-weight
:
700
}
.content
[
data-v-c0192548
]
{
height
:
100%
;
width
:
80%
;
margin-top
:
.104167rem
;
margin-left
:
10%
;
text-align
:
left
}
h1
[
data-v-c0192548
]
{
color
:
#383874
;
font-weight
:
700
}
.infoTitle
[
data-v-c0192548
]
{
margin-top
:
.052083rem
}
.icon
[
data-v-c0192548
]
{
display
:
inline-block
;
height
:
.052083rem
;
width
:
.026042rem
;
background-color
:
#383874
}
.baseInfo
[
data-v-c0192548
]
{
margin-left
:
.026042rem
;
color
:
#383874
;
display
:
inline-block
}
.mainLine
[
data-v-c0192548
]
{
margin-top
:
.052083rem
;
color
:
#383874
}
.secondLine
[
data-v-c0192548
]
{
margin-top
:
.052083rem
}
.detailInfo
[
data-v-c0192548
]
{
width
:
1.041667rem
;
margin-right
:
.520833rem
;
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
}
.ant-table-wrapper
[
data-v-c0192548
]
{
margin-top
:
.104167rem
}
[
data-v-c0192548
]
.ant-table-header
{
background-color
:
#383874
}
[
data-v-c0192548
]
.ant-table-wrapper
.ant-table-thead
th
{
text-align
:
center
;
background-color
:
#383874
;
color
:
#fff
}
[
data-v-c0192548
]
.ant-table-wrapper
td
{
text-align
:
center
}
[
data-v-c0192548
]
.ant-modal-content
{
width
:
100%
;
height
:
auto
}
.process-left
/
deep
/
.el-table
.el-table__body
.el-table__row
td
{
font-size
:
.104167rem
;
letter-spacing
:
.005208rem
;
overflow
:
hidden
;
word-wrap
:
nowrap
}
.process-left
/
deep
/
.el-table
.el-table__body
.el-table__row
td
:first-child
{
color
:
#383874
;
font-weight
:
bolder
}
.process
{
display
:
flex
;
justify-content
:
space-around
;
margin-top
:
.182292rem
}
.process-left
{
position
:
relative
;
width
:
1.166667rem
}
.process-left
.left-tabel
{
height
:
100%
;
overflow-y
:
scroll
;
width
:
100%
}
.process-left
.single
{
background-color
:
#fff
}
.process-left
ul
{
height
:
.28125rem
;
padding
:
0
;
margin
:
0
;
width
:
100%
;
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
font-size
:
.104167rem
;
font-weight
:
bolder
}
.process-left
ul
li
{
cursor
:
pointer
;
width
:
50%
;
list-style
:
none
;
text-align
:
center
}
.process-left
ul
.success
{
color
:
#15b769
}
.process-left
ul
.wait
{
color
:
#bbb
}
.process-right
{
color
:
#383874
;
font-weight
:
bolder
;
font-size
:
.104167rem
;
width
:
8.020833rem
;
height
:
4.859375rem
;
flex-direction
:
column
}
.process-right
,
.process-right
.right-header
{
display
:
flex
;
justify-content
:
space-between
}
.process-right
.right-content
{
height
:
4.296875rem
;
width
:
100%
;
background-color
:
#2a2a30
;
color
:
#1f7d24
;
overflow-y
:
scroll
}
.process-right
.right-content
.font-content
{
margin
:
.104167rem
;
text-align
:
start
;
font-size
:
.130208rem
;
letter-spacing
:
.005208rem
}
.process-right
.right-content
.font-content
span
{
margin-right
:
.052083rem
}
.process-right
.right-bottom
{
display
:
flex
;
justify-content
:
flex-end
}
.process-right
.right-bottom
.bottom-font
{
margin-left
:
.625rem
;
color
:
#7778a3
}
#dataCount
[
data-v-d6e0efc2
]
{
height
:
auto
;
width
:
50%
;
margin
:
5%
auto
;
padding-top
:
.1%
;
padding-left
:
2%
;
padding-bottom
:
5%
;
background-color
:
#fff
}
h1
[
data-v-d6e0efc2
]
{
margin-top
:
10%
;
text-align
:
left
;
color
:
#383874
;
font-weight
:
700
;
font-size
:
3em
}
.performanceTitle
[
data-v-d6e0efc2
]
{
margin-top
:
10%
}
.exampleCountTitle
[
data-v-d6e0efc2
]
{
text-align
:
left
;
color
:
#383874
;
font-weight
:
700
;
font-size
:
1.5em
}
.square
[
data-v-d6e0efc2
]
{
display
:
inline-block
;
height
:
.078125rem
;
width
:
.5%
;
background-color
:
#383874
}
.exampleCountText
[
data-v-d6e0efc2
]
{
margin-left
:
1%
;
display
:
inline-block
;
color
:
#383874
}
.detail
[
data-v-d6e0efc2
]
{
width
:
90%
;
margin-left
:
12%
;
text-align
:
left
}
.detailData
[
data-v-d6e0efc2
]
{
display
:
inline-block
;
width
:
24%
;
text-align
:
left
;
font-size
:
2em
;
color
:
#383874
}
[
data-v-d6e0efc2
]
.ant-table-header
{
background-color
:
#383874
}
[
data-v-d6e0efc2
]
.ant-table-thead
th
{
color
:
#fff
;
background-color
:
#383874
;
text-align
:
center
}
[
data-v-d6e0efc2
]
.ant-table-thead
td
{
text-align
:
center
}
\ No newline at end of file
src/main/resources/adapter/static/css/chunk-vendors.fef80702.css
0 → 100755
浏览文件 @
fa8a57cf
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/main/resources/adapter/static/js/app.08c5d19d.js
0 → 100755
浏览文件 @
fa8a57cf
差异被折叠。
点击展开。
src/main/resources/adapter/static/js/app.08c5d19d.js.map
0 → 100755
浏览文件 @
fa8a57cf
差异被折叠。
点击展开。
src/main/resources/adapter/static/js/chunk-vendors.dda05319.js
0 → 100755
浏览文件 @
fa8a57cf
差异被折叠。
点击展开。
src/main/resources/adapter/static/js/chunk-vendors.dda05319.js.map
0 → 100755
浏览文件 @
fa8a57cf
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论