🐳 修改 e2e 配置.

This commit is contained in:
lijiahang
2025-03-26 15:26:30 +08:00
parent 3359d163fb
commit 5de22e4b41
3 changed files with 5 additions and 5 deletions

View File

@@ -78,7 +78,7 @@ services:
build: build:
context: ./docker/e2e context: ./docker/e2e
environment: environment:
SERVER: http://service:80 SERVER: http://service:9200
depends_on: depends_on:
service: service:
condition: service_healthy condition: service_healthy

View File

@@ -2,7 +2,7 @@
# yaml-language-server: $schema=https://linuxsuren.github.io/api-testing/api-testing-schema.json # yaml-language-server: $schema=https://linuxsuren.github.io/api-testing/api-testing-schema.json
name: orion-visor name: orion-visor
api: | api: |
{{default "http://orion-visor-service:9200" (env "SERVER")}} {{default "http://service:9200" (env "SERVER")}}
items: items:
- name: login - name: login
request: request:

View File

@@ -55,7 +55,7 @@
{{ dateFormat(new Date(record.updateTime)) }} {{ dateFormat(new Date(record.updateTime)) }}
</a-descriptions-item> </a-descriptions-item>
<!-- 执行主机 --> <!-- 执行主机 -->
<a-descriptions-item :span="3"> <a-descriptions-item :span="2">
<template #label> <template #label>
<span class="host-label">执行主机</span> <span class="host-label">执行主机</span>
</template> </template>
@@ -67,7 +67,7 @@
</a-space> </a-space>
</a-descriptions-item> </a-descriptions-item>
<!-- 执行命令 --> <!-- 执行命令 -->
<a-descriptions-item label="执行命令" :span="3"> <a-descriptions-item label="执行命令" :span="2">
<editor v-model="record.command" <editor v-model="record.command"
language="shell" language="shell"
theme="vs-dark" theme="vs-dark"
@@ -78,7 +78,7 @@
<!-- 执行参数 --> <!-- 执行参数 -->
<a-descriptions-item v-if="record.parameterSchema" <a-descriptions-item v-if="record.parameterSchema"
label="执行参数" label="执行参数"
:span="3"> :span="2">
<editor v-model="record.parameterSchema" <editor v-model="record.parameterSchema"
language="json" language="json"
theme="vs-dark" theme="vs-dark"