From 302a754f5bfbdae4b3adc676f346ea9cc68c44de Mon Sep 17 00:00:00 2001 From: q4speed Date: Fri, 25 Sep 2020 18:20:52 +0800 Subject: [PATCH 1/5] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):?= =?UTF-8?q?=20=E4=BF=AE=E5=A4=8D=E5=88=A0=E9=99=A4=E6=9C=80=E5=90=8E?= =?UTF-8?q?=E4=B8=80=E4=B8=AA=E5=9C=BA=E6=99=AF=E5=90=8E=E5=BC=B9=E5=87=BA?= =?UTF-8?q?=E5=B7=B2=E6=9C=89=E5=9C=BA=E6=99=AF=E5=88=97=E8=A1=A8=E7=9A=84?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/api/test/components/ApiScenarioConfig.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/business/components/api/test/components/ApiScenarioConfig.vue b/frontend/src/business/components/api/test/components/ApiScenarioConfig.vue index 08dd8f9f49..ada1e09293 100644 --- a/frontend/src/business/components/api/test/components/ApiScenarioConfig.vue +++ b/frontend/src/business/components/api/test/components/ApiScenarioConfig.vue @@ -147,6 +147,7 @@ export default { deleteScenario(index) { this.scenarios.splice(index, 1); if (this.scenarios.length === 0) { + this.type = this.types.CREATE; this.createScenario(); this.select(this.scenarios[0]); } From 23867d8a390b6c127be17ef5d23251e24376dae5 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Sun, 27 Sep 2020 10:43:13 +0800 Subject: [PATCH 2/5] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):?= =?UTF-8?q?=20python=20=E5=90=8E=E7=BD=AE=E5=A4=84=E7=90=86=E5=99=A8?= =?UTF-8?q?=E6=A8=A1=E7=89=88=E5=8E=BB=E6=8E=89=E5=88=86=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/test/components/processor/Jsr233Processor.vue | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/frontend/src/business/components/api/test/components/processor/Jsr233Processor.vue b/frontend/src/business/components/api/test/components/processor/Jsr233Processor.vue index 08d97579e0..3991e120fc 100644 --- a/frontend/src/business/components/api/test/components/processor/Jsr233Processor.vue +++ b/frontend/src/business/components/api/test/components/processor/Jsr233Processor.vue @@ -34,7 +34,7 @@ codeTemplates: [ { title: this.$t('api_test.request.processor.code_template_get_variable'), - value: 'vars.get("variable_name");', + value: 'vars.get("variable_name")', }, { title: this.$t('api_test.request.processor.code_template_set_variable'), @@ -42,17 +42,17 @@ }, { title: this.$t('api_test.request.processor.code_template_get_response_header'), - value: 'prev.getResponseHeaders();', + value: 'prev.getResponseHeaders()', disabled: this.isPreProcessor }, { title: this.$t('api_test.request.processor.code_template_get_response_code'), - value: 'prev.getResponseCode();', + value: 'prev.getResponseCode()', disabled: this.isPreProcessor }, { title: this.$t('api_test.request.processor.code_template_get_response_result'), - value: 'prev.getResponseDataAsString();', + value: 'prev.getResponseDataAsString()', disabled: this.isPreProcessor } ], @@ -93,6 +93,9 @@ this.jsr223Processor.script = ""; } this.jsr223Processor.script += template.value; + if (this.jsr223Processor.language === 'beanshell') { + this.jsr223Processor.script += ';'; + } this.reload(); }, reload() { From 7addde0db258cdcd3fe24e1949591517cdcb7060 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Sun, 27 Sep 2020 11:01:39 +0800 Subject: [PATCH 3/5] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):?= =?UTF-8?q?=20=E5=AF=BC=E5=87=BA=E6=8A=A5=E6=96=87=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../track/plan/view/comonents/TestCaseReportExport.vue | 2 +- frontend/src/common/js/utils.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/business/components/track/plan/view/comonents/TestCaseReportExport.vue b/frontend/src/business/components/track/plan/view/comonents/TestCaseReportExport.vue index 6f0090c645..b2b88dac63 100644 --- a/frontend/src/business/components/track/plan/view/comonents/TestCaseReportExport.vue +++ b/frontend/src/business/components/track/plan/view/comonents/TestCaseReportExport.vue @@ -1,5 +1,5 @@