fix(UI自动化): 新建环境-填写域名后配置UI配置-域名被自动清空

--bug=1020946 --user=张大海 【项目设置】环境管理-新建环境-填写域名后配置UI配置-域名被自动清空 https://www.tapd.cn/55049933/s/1320008
This commit is contained in:
zhangdahai112 2022-12-27 16:56:43 +08:00 committed by zhangdahai112
parent 95c8bc9732
commit d3f7d0086b
2 changed files with 3 additions and 1 deletions

View File

@ -58,7 +58,7 @@
</form-section>
<!-- UI 配置 -->
<form-section :title="$t('commons.ui_test')" :init-active=false v-if="condition.type !== 'MODULE'">
<form-section :title="$t('commons.ui_test')" :init-active=false v-if="condition.type !== 'MODULE'" v-xpack>
<el-row :gutter="10" style="padding-top: 10px;">
<el-col :span="6">
<!-- 浏览器驱动 -->

View File

@ -85,6 +85,8 @@ export class HttpConfig extends BaseConfig {
this.port = undefined;
this.conditions = [];
this.cookie = options.cookie ? options.cookie : [new Cookie()];
this.browser = "CHROME";
this.headlessEnabled = true;
this.isMock = false;
this.description = "";
this.set(options);