From 373b7ff6f113b7d177d205f30c352f17a7ae1fa9 Mon Sep 17 00:00:00 2001 From: ZhouYixun <291028775@qq.com> Date: Wed, 29 Dec 2021 21:18:50 +0800 Subject: [PATCH 01/10] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=8A=AA=E6=AF=94?= =?UTF-8?q?=E4=BA=9A=E3=80=81=E6=AD=A5=E6=AD=A5=E9=AB=98logo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/img/BBK.jpg | Bin 0 -> 2060 bytes src/assets/img/nubia.jpg | Bin 0 -> 10140 bytes src/views/Devices.vue | 4 +++- 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 src/assets/img/BBK.jpg create mode 100644 src/assets/img/nubia.jpg diff --git a/src/assets/img/BBK.jpg b/src/assets/img/BBK.jpg new file mode 100644 index 0000000000000000000000000000000000000000..04a268bb57fb636733137a6b5846239f5a583700 GIT binary patch literal 2060 zcmaJ?X;f2Z8jb>*$WnqD7Qx;G1`#D21V{`pSpb8LK!_5pRYP)>fXR(XAOVFIydBxX z00vQtgD4y~WcAQ8Sdd6yz!|Hh(2lZ*jsh-&fQVAmxv^sB$1wNYd%xv8&-1?D`#$G< z*-=}=ZCALgK%r2!yvD-kvd#SGCY#gar&1H^&*Wr`reL`xe1 zkV%6Gu{1uJujGL7vdyU~FeY`YP?DM`p-TxN!2naoKm_EVMhxiW2NY_CE{O16mx0X9 z+av<;9->JMBK($=h#v)TAQcGEi2gnjiZ2xipc5%HIyKO5BS0ln{7Ga#5{2$V@ns;d z9~t=Y5Rhmp={|;l8}=ag>2wmAN}^JI5QL99MWGSv zd=zT;1qCjsmZ)S(jSNx%W<_xvl%xqFAesJl1iA8~tU~>vOh~~h zXaGAj%r}hX$D#PM*iaGhfFRj_upd<=K0RG3Md7X_zf0QKZqD9s70EaY_DAa!%_v@CaPuw8j039V@|6auqL5eSw$V z+WtB?Bk)7m!84}V8-P?oOA9h{S@81H$(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*zr^TDNmbOVx(Aqdkm%Pq-@dYJ_{eUPR(MM6n^RA5csTE@ZP)XMgs46X z_>2zwXY~s0ac}P24rDEz7JD$`2r?&+g0dT@T zf3ns$m-n;M@=OPZpmuxELTNrgR=X%?0SU8Fk{@Vbw(QmZ>2ml)R}~u}kIGOHs3orX zIH=5)uj)HP&Djg*=SFTfqL!x|fuvcyWG{uv!$y5<8SC$+;a|3$0UpG~JXm+c3O^-q(#Gc6%8QY%gE lC!v}#|NcfsmTw7*U&FT$1h-y$_4n&Hbro&p@+Vdy{{>cVD}4X} literal 0 HcmV?d00001 diff --git a/src/views/Devices.vue b/src/views/Devices.vue index aec3662f..3bf95999 100644 --- a/src/views/Devices.vue +++ b/src/views/Devices.vue @@ -61,7 +61,9 @@ const manufacturer = ref([ "asus", "GIONEE", "Lenovo", - "HTC" + "HTC", + "BBK", + "nubia" ]); const statusList = ref([ { From 71ca57bd57407d5936be795f0335311c44f5abd8 Mon Sep 17 00:00:00 2001 From: ZhouYixun <291028775@qq.com> Date: Fri, 31 Dec 2021 10:00:59 +0800 Subject: [PATCH 02/10] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=9C=9F=E6=88=91logo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/img/realme.jpg | Bin 0 -> 9927 bytes src/views/Devices.vue | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 src/assets/img/realme.jpg diff --git a/src/assets/img/realme.jpg b/src/assets/img/realme.jpg new file mode 100644 index 0000000000000000000000000000000000000000..51619182fd9b5ee32f447ad3a8409447c6d5a7e0 GIT binary patch literal 9927 zcmdUV^;29;u=e5-+!hJ0f#42{1QrkOPJ%7Lb#VeDxWfhrnkB*A-Q6X)1`7mP+~wn~ z?+>`Y-Ktxs&NB{?h)5iT?5oJs+ri zc_F!LDaZiI$6xQi2&lI2RNnyrRq?MLKA^qGST2f&?f?K@&wn@4fODbMODFnA6$LQh z`M)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B=E9=99=A4=E6=97=A0=E7=94=A8?= =?UTF-8?q?=E5=BC=95=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Index.vue | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/views/Index.vue b/src/views/Index.vue index 9754671a..3256e169 100644 --- a/src/views/Index.vue +++ b/src/views/Index.vue @@ -1,13 +1,5 @@ - {{ item.model }} + + multiple placeholder="请选择测试用例,可输入用例名称筛选"> Date: Sat, 8 Jan 2022 00:17:31 +0800 Subject: [PATCH 06/10] =?UTF-8?q?fix:=20=E5=A4=84=E7=90=86select=E5=88=87?= =?UTF-8?q?=E6=8D=A2=E6=9C=AA=E8=AF=B7=E6=B1=82=E6=8E=A5=E5=8F=A3=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/TestCaseList.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/components/TestCaseList.vue b/src/components/TestCaseList.vue index c6c75d63..67507f7e 100644 --- a/src/components/TestCaseList.vue +++ b/src/components/TestCaseList.vue @@ -17,7 +17,9 @@ const pageSize = ref(15); const name = ref("") const caseId = ref(0) const dialogVisible = ref(false) +const tableLoading = ref(false) const getTestCaseList = (pageNum, pSize) => { + tableLoading.value = true axios.get("/controller/testCases/list", { params: { projectId: props.projectId, @@ -28,6 +30,7 @@ const getTestCaseList = (pageNum, pSize) => { } }).then(resp => { pageData.value = resp.data + tableLoading.value = false }) } const deleteCase = (id) => { @@ -58,6 +61,11 @@ watch(dialogVisible, (newValue, oldValue) => { caseId.value = 0 } }) +watch( + () => props.projectId, + () => { + getTestCaseList(); +}) const editCase = async (id) => { caseId.value = id await open() @@ -78,7 +86,7 @@ defineExpose({open}) :case-id="caseId" :platform="platform" @flush="flush"/> - From 0166267bf4f1a844054cd5b766fb16fe0dcec2d4 Mon Sep 17 00:00:00 2001 From: Lewage59 <920576696@qq.com> Date: Sun, 9 Jan 2022 01:09:37 +0800 Subject: [PATCH 07/10] =?UTF-8?q?fix:=20=E5=A4=84=E7=90=86select=E5=88=87?= =?UTF-8?q?=E6=8D=A2=E6=9C=AA=E8=AF=B7=E6=B1=82=E6=8E=A5=E5=8F=A3=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Devices.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/views/Devices.vue b/src/views/Devices.vue index 621bb24c..25e55af9 100644 --- a/src/views/Devices.vue +++ b/src/views/Devices.vue @@ -31,6 +31,7 @@ const checkAllStatus = ref(false); const isAllStatus = ref(false); const pageData = ref({}); const pageSize = ref(12); +const currDevicesPage = ref(1) const checkMan = ref([]); const name = ref(""); const androidSystem = ref([]); @@ -293,6 +294,13 @@ const findAll = (pageNum, pSize) => { clearInterval(timer.value); }); }; +// 根据接口返回页数处理 +const handleFindAll = (pageNum, pageSize) => { + if (pageNum) { + currDevicesPage.value = pageNum + } + findAll(currDevicesPage.value, pageSize) +} const findAgentById = (id) => { let result = '未知' for (let i in agentList.value) { @@ -417,7 +425,7 @@ const findTemper = () => { const refresh = () => { refreshTime.value++; getFilterOption(); - findAll(); + handleFindAll(); getAllAgents(); findTemper(); if (refreshTime.value === 2) { From 3d3a84bf188d9e3bcd39aed774bd7570a96595ff Mon Sep 17 00:00:00 2001 From: ZhouYixun <291028775@qq.com> Date: Sun, 9 Jan 2022 01:33:47 +0800 Subject: [PATCH 08/10] =?UTF-8?q?=E5=A5=97=E4=BB=B6=E8=AE=BE=E5=A4=87?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E6=96=B0=E5=A2=9Etag=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E3=80=81step=E7=BC=96=E8=BE=91=E5=8E=BB=E9=99=A4=E5=9B=BE?= =?UTF-8?q?=E5=83=8F=E7=9B=91=E5=90=AC=E5=99=A8=E3=80=81xpath=E6=8E=A8?= =?UTF-8?q?=E8=8D=90=E4=B8=8Ens=E6=8E=A8=E8=8D=90=E3=80=81=E8=BF=9C?= =?UTF-8?q?=E7=A8=8Bwda?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ElementUpdate.vue | 10 +- src/components/StepUpdate.vue | 17 +--- src/components/TestSuiteUpdate.vue | 40 +++++--- src/views/RemoteEmulator/AndroidRemote.vue | 35 ++++++- src/views/RemoteEmulator/IOSRemote.vue | 109 +++++++++++++++++---- 5 files changed, 157 insertions(+), 54 deletions(-) diff --git a/src/components/ElementUpdate.vue b/src/components/ElementUpdate.vue index 1c4ed9aa..886b924d 100644 --- a/src/components/ElementUpdate.vue +++ b/src/components/ElementUpdate.vue @@ -99,19 +99,19 @@ onMounted(() => { v-model="element.eleType" placeholder="请选择定位类型" > - + - - + - - + + + diff --git a/src/components/StepUpdate.vue b/src/components/StepUpdate.vue index 8e61fb3c..c942a91e 100644 --- a/src/components/StepUpdate.vue +++ b/src/components/StepUpdate.vue @@ -86,10 +86,6 @@ const monkey = ref({ name: "isOpenNetworkListener", value: true, }, - { - name: "isOpenImageListener", - value: true, - }, ], }) const monkeyOptions = { @@ -137,10 +133,6 @@ const monkeyOptions = { label: "网络状态监听器", des: "检测设备是否处于飞行模式和WIFI网络", }, - isOpenImageListener: { - label: "图像静止监听器", - des: "检测当前图像是否长期处于静止", - }, } const stepForm = ref(null) const changeType = (e) => { @@ -153,8 +145,7 @@ const isShowInputNumber = (data) => { if (data === "isOpenH5Listener" || data === "isOpenPackageListener" || data === "isOpenActivityListener" - || data === "isOpenNetworkListener" - || data === "isOpenImageListener") { + || data === "isOpenNetworkListener") { return false; } else { return true; @@ -417,7 +408,8 @@ const androidOptions = ref([ }, { value: "readText", - label: "图像文字识别", + label: "图像文字识别(暂时关闭)", + disabled: true }, ], }, @@ -614,7 +606,8 @@ const iOSOptions = ref([ }, { value: "readText", - label: "图像文字识别", + label: "图像文字识别(暂时关闭)", + disabled: true }, ], }, diff --git a/src/components/TestSuiteUpdate.vue b/src/components/TestSuiteUpdate.vue index 019d51d0..d3c26fe3 100644 --- a/src/components/TestSuiteUpdate.vue +++ b/src/components/TestSuiteUpdate.vue @@ -4,6 +4,7 @@ import axios from "../http/axios"; import {ElMessage} from "element-plus"; import {useRoute} from "vue-router"; import RenderDeviceName from "./RenderDeviceName.vue"; +import RenderStatus from "./RenderStatus.vue"; const route = useRoute() const props = defineProps({ @@ -190,14 +191,16 @@ onMounted(() => { - - + + { + {{ item['udId'] }} + + - - + + { return (data.label.indexOf(value) !== -1) || (data.detail['resource-id'] ? data.detail['resource-id'].indexOf(value) !== -1 : false); }; +const findBestXpath = (elementDetail) => { + let result = [] + if (elementDetail['resource-id']) { + result.push('//' + elementDetail['class'] + + '[@resource-id=\'' + elementDetail['resource-id'] + '\']'); + } + if (elementDetail['text']) { + result.push('//' + elementDetail['class'] + + '[@text=\'' + elementDetail['text'] + '\']'); + result.push('//' + elementDetail['class'] + + '[contains(@text,\'' + elementDetail['text'] + '\')]'); + } + if (elementDetail['content-desc']) { + result.push('//' + elementDetail['class'] + + '[@content-desc=\'' + elementDetail['content-desc'] + '\']'); + result.push('//' + elementDetail['class'] + + '[contains(@content-desc,\'' + elementDetail['content-desc'] + '\')]'); + } + return result; +} const downloadImg = (url) => { let time = new Date().getTime(); let link = document.createElement('a'); @@ -1686,7 +1706,7 @@ onMounted(() => { - +
{ > {{ elementDetail['resource-id'] }} - + + + + + + + + {{ elementDetail['xpath'] }} { const filterNode = (value, data) => { if (!value) return true; return (data.label.indexOf(value) !== -1) || - (data.detail['resource-id'] ? data.detail['resource-id'].indexOf(value) !== -1 : false); + (data.detail['name'] ? data.detail['name'].indexOf(value) !== -1 : false); }; +const findBestNS = (elementDetail) => { + let result = [] + if (!elementDetail['name']) { + return result; + } + let r = "name CONTAINS \'" + elementDetail['name'] + "\'"; + if (elementDetail['label']) { + r += (' AND label CONTAINS \'' + elementDetail['label'] + '\''); + } + if (elementDetail['enabled']) { + r += (' AND enabled == ' + elementDetail['enabled']); + } + if (elementDetail['visible']) { + r += (' AND visible == ' + elementDetail['visible']); + } + result.push(r) + return result; +} +const findBestXpath = (elementDetail) => { + let result = [] + if (elementDetail['name']) { + result.push('//' + elementDetail['type'] + + '[@name=\'' + elementDetail['name'] + '\']'); + result.push('//' + elementDetail['type'] + + '[contains(@name,\'' + elementDetail['name'] + '\')]'); + } + if (elementDetail['label']) { + result.push('//' + elementDetail['type'] + + '[@label=\'' + elementDetail['label'] + '\']'); + result.push('//' + elementDetail['type'] + + '[contains(@label,\'' + elementDetail['label'] + '\')]'); + } + return result; +} const downloadImg = () => { window.open(imgUrl.value, '_blank'); }; @@ -280,6 +315,7 @@ const websocketOnmessage = (message) => { } case 'picFinish': { sid.value = JSON.parse(message.data).port + remoteWDAPort.value = JSON.parse(message.data).wda loading.value = false; break; } @@ -832,16 +868,17 @@ onMounted(() => {
- + { > - +