Skip to content

fix(auto-complete): the display effect is abnormal when the option is empty #3925

fix(auto-complete): the display effect is abnormal when the option is empty

fix(auto-complete): the display effect is abnormal when the option is empty #3925

Triggered via pull request January 8, 2025 10:30
Status Failure
Total duration 5m 15s
Artifacts 2

pull-request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
Unhandled error: test/snap/ssr.test.js#L33
Error: Snapshot `ssr snapshot test > renders ./src/upload/_example/base.vue correctly 1` mismatched - Expected + Received - "<div data-server-rendered="true" class="t-space t-space-vertical" style="gap:32px;width:100%;"><div class="t-space-item"><div class="t-space t-space-vertical" style="gap:16px;width:80%;"><div class="t-space-item"><h3>虚拟滚动 - virtual 模式</h3></div><div class="t-space-item"><div class="t-space t-space-horizontal" style="gap:16px;"><div class="t-space-item"><span>动画:</span></div><div class="t-space-item"><div class="t-switch t-size-m t-is-checked"><span class="t-switch__handle"></span><div class="t-switch__content t-size-m"></div></div></div></div></div><div class="t-space-item"><div class="t-space t-space-horizontal" style="gap:16px;"><div class="t-space-item"><span>显示连线:</span></div><div class="t-space-item"><div class="t-switch t-size-m t-is-checked"><span class="t-switch__handle"></span><div class="t-switch__content t-size-m"></div></div></div></div></div><div class="t-space-item"><div class="t-space t-space-horizontal" style="gap:16px;"><div class="t-space-item"><span>显示图标:</span></div><div class="t-space-item"><div class="t-switch t-size-m t-is-checked"><span class="t-switch__handle"></span><div class="t-switch__content t-size-m"></div></div></div></div></div><div class="t-space-item"><div class="t-space t-space-horizontal" style="gap:16px;"><div class="t-space-item"><span>可选:</span></div><div class="t-space-item"><div class="t-switch t-size-m t-is-checked"><span class="t-switch__handle"></span><div class="t-switch__content t-size-m"></div></div></div></div></div><div class="t-space-item"><div class="t-space t-space-horizontal" style="gap:16px;"><div class="t-space-item"><span>可操作:</span></div><div class="t-space-item"><div class="t-switch t-size-m t-is-checked"><span class="t-switch__handle"></span><div class="t-switch__content t-size-m"></div></div></div></div></div><div class="t-space-item"><div class="t-space t-space-horizontal" style="gap:16px;"><div class="t-space-item"><div class="t-input-adornment"><span class="t-input-adornment__prepend"><span class="t-input-adornment__text">插入节点数量:</span></span><div class="t-input__wrap"><div class="t-input"><input autocomplete="" placeholder="请输入" type="text" unselectable="off" value="1" class="t-input__inner"></div></div></div></div></div></div><div class="t-space-item"><div class="t-space t-space-horizontal" style="gap:16px;"><div class="t-space-item"><button type="button" class="t-button t-button--variant-base t-button--theme-primary"><span class="t-button__text">插入根节点</span></button></div></div></div><div class="t-space-item"><div class="t-space t-space-horizontal" style="gap:16px;"><div class="t-space-item"><button type="button" class="t-button t-button--variant-base t-button--theme-primary"><span class="t-button__text">滚动到指定节点</span></button></div></div></div></div></div><div class="t-space-item"><div class="t-tree t-tree--hoverable t-tree--checkable t-tree--transition t-tree__vscroll" style="height:300px;overflow-y:auto;"><div class="t-tree__vscroll-cursor" style="transform:translate(0, 5270px);-ms-transform:translate(0, 5270px);-moz-transform:translate(0, 5270px);-webkit-transform:translate(0, 5270px);"></div><div class="t-tree__list" style="transform:translateY(5270px);-ms-transform:translateY(5270px);-moz-transform:translateY(5270px);-webkit-transform:translateY(5270px);"><div data-value="t1" data-level="0" draggable="false" class="t-tree__item t-tree__item--open t-tree__item--visible" style="--level:0;"><span trigger="expand" ignore="active" class="t-tree__icon t-folder-icon t-tree__icon--default"><svg fill="none" viewBox="0 0 24 24" width="1em" height="1em" class="t-icon t-icon-caret-right-small"><path fill="currentColor" d="M16.5 12l-7-7v14l7-7z"></path></svg></span><label tabindex="0" ignore="expand,active" class="t-checkbox t-tree__label"><input type="checkbox" name="t1" tabindex="-1" class="t-checkbox__former"><span class="t-checkbox__input"></span><span class="t-checkbox__label">t1</span></label><span ignore="active,expand" class="t-t
test/snap/csr.test.js > csr snapshot test > csr test ./src/comment/_example/reply.vue: test/snap/csr.test.js#L20
Error: Snapshot `csr snapshot test > csr test ./src/comment/_example/reply.vue 1` mismatched - Expected + Received @@ -128,11 +128,11 @@ height="1em" viewBox="0 0 24 24" width="1em" > <path - d="M16.5 12l-7-7v14l7-7z" + d="M15 12L9.5 6.5v11L15 12z" data-v-1a7615cf="" fill="currentColor" /> </svg> <span ❯ test/snap/csr.test.js:20:33
test/snap/csr.test.js > csr snapshot test > csr test ./src/config-provider/_example/others.vue: test/snap/csr.test.js#L20
Error: Snapshot `csr snapshot test > csr test ./src/config-provider/_example/others.vue 1` mismatched - Expected + Received @@ -1354,11 +1354,11 @@ height="1em" viewBox="0 0 24 24" width="1em" > <path - d="M16.5 12l-7-7v14l7-7z" + d="M15 12L9.5 6.5v11L15 12z" fill="currentColor" /> </svg> </span> <span @@ -1390,11 +1390,11 @@ height="1em" viewBox="0 0 24 24" width="1em" > <path - d="M16.5 12l-7-7v14l7-7z" + d="M15 12L9.5 6.5v11L15 12z" fill="currentColor" /> </svg> </span> <span ❯ test/snap/csr.test.js:20:33
test/snap/csr.test.js > csr snapshot test > csr test ./src/config-provider/_example/table.vue: test/snap/csr.test.js#L20
Error: Snapshot `csr snapshot test > csr test ./src/config-provider/_example/table.vue 1` mismatched - Expected + Received @@ -60,11 +60,11 @@ style="font-size: 18px;" viewBox="0 0 24 24" width="1em" > <path - d="M12 16.5l7-7H5l7 7z" + d="M12 15l5.5-5.5h-11L12 15z" fill="currentColor" /> </svg> </span> <span @@ -77,11 +77,11 @@ style="font-size: 18px;" viewBox="0 0 24 24" width="1em" > <path - d="M12 16.5l7-7H5l7 7z" + d="M12 15l5.5-5.5h-11L12 15z" fill="currentColor" /> </svg> </span> </div> @@ -162,11 +162,11 @@ style="font-size: 18px;" viewBox="0 0 24 24" width="1em" > <path - d="M12 16.5l7-7H5l7 7z" + d="M12 15l5.5-5.5h-11L12 15z" fill="currentColor" /> </svg> </span> <span @@ -179,11 +179,11 @@ style="font-size: 18px;" viewBox="0 0 24 24" width="1em" > <path - d="M12 16.5l7-7H5l7 7z" + d="M12 15l5.5-5.5h-11L12 15z" fill="currentColor" /> </svg> </span> </div> @@ -308,11 +308,11 @@ style="font-size: 18px;" viewBox="0 0 24 24" width="1em" > <path - d="M12 16.5l7-7H5l7 7z" + d="M12 15l5.5-5.5h-11L12 15z" fill="currentColor" /> </svg> </span> <span @@ -325,11 +325,11 @@ style="font-size: 18px;" viewBox="0 0 24 24" width="1em" > <path - d="M12 16.5l7-7H5l7 7z" + d="M12 15l5.5-5.5h-11L12 15z" fill="currentColor" /> </svg> </span> </div> @@ -410,11 +410,11 @@ style="font-size: 18px;" viewBox="0 0 24 24" width="1em" > <path - d="M12 16.5l7-7H5l7 7z" + d="M12 15l5.5-5.5h-11L12 15z" fill="currentColor" /> </svg> </span> <span @@ -427,11 +427,11 @@ style="font-size: 18px;" viewBox="0 0 24 24" width="1em" >
test/snap/csr.test.js > csr snapshot test > csr test ./src/steps/_example/icon.vue: test/snap/csr.test.js#L20
Error: Snapshot `csr snapshot test > csr test ./src/steps/_example/icon.vue 1` mismatched - Expected + Received @@ -98,11 +98,11 @@ height="1em" viewBox="0 0 24 24" width="1em" > <path - d="M1 3h15a3 3 0 013 3v1h4v14H1V3zm2 6v10h18V9H3zm0-2h14V6a1 1 0 00-1-1H3v2zm13 6h3v2h-3v-2z" + d="M2 5a3 3 0 013-3h15v2H5a1 1 0 000 2h14a3 3 0 013 3v10a3 3 0 01-3 3H2V5zm2 2.83V20h15a1 1 0 001-1V9a1 1 0 00-1-1H5a3 3 0 01-1-.17zM15 13h3v2h-3v-2z" fill="currentColor" /> </svg> </div> <div ❯ test/snap/csr.test.js:20:33
test/snap/csr.test.js > csr snapshot test > csr test ./src/transfer/_example/tree.vue: test/snap/csr.test.js#L20
Error: Snapshot `csr snapshot test > csr test ./src/transfer/_example/tree.vue 1` mismatched - Expected + Received @@ -113,11 +113,11 @@ height="1em" viewBox="0 0 24 24" width="1em" > <path - d="M16.5 12l-7-7v14l7-7z" + d="M15 12L9.5 6.5v11L15 12z" fill="currentColor" /> </svg> </span> <label @@ -194,11 +194,11 @@ height="1em" viewBox="0 0 24 24" width="1em" > <path - d="M16.5 12l-7-7v14l7-7z" + d="M15 12L9.5 6.5v11L15 12z" fill="currentColor" /> </svg> </span> <label @@ -241,11 +241,11 @@ height="1em" viewBox="0 0 24 24" width="1em" > <path - d="M16.5 12l-7-7v14l7-7z" + d="M15 12L9.5 6.5v11L15 12z" fill="currentColor" /> </svg> </span> <label @@ -356,11 +356,11 @@ height="1em" viewBox="0 0 24 24" width="1em" > <path - d="M16.5 12l-7-7v14l7-7z" + d="M15 12L9.5 6.5v11L15 12z" fill="currentColor" /> </svg> </span> <label @@ -694,11 +694,11 @@ height="1em" viewBox="0 0 24 24" width="1em" > <path - d="M16.5 12l-7-7v14l7-7z" + d="M15 12L9.5 6.5v11L15 12z" fill="currentColor" /> </svg> </span> <label @@ -775,11 +775,11 @@ height="1em" viewBox="0 0 24 24" width="1em" > <path - d="M16.5 12l-7-7v14l7-7z" + d="M15 12L9.5 6.5v11L15 12z" fill="currentColor" /> </svg> </span> <label @@ -822,11 +822,11 @@ height="1em" viewBox="0 0 24 24" width="1em" > <path - d="M16.5 12l-7-7v14l7-7z" + d="M15 12L9.5 6.5v11L15 12z" fill="currentColor" /> </svg> </span> <label @@ -937,11 +937,11 @@ height="1em" viewBox="0 0 24 24" width="1em" > <path - d="M16.5 12l-7-7v14l7-7z" + d="M15 12L9.5 6.5v11L15 12z" fill="currentColor" /> </svg> </span> <label ❯ test/snap/csr.test.js:20:33
test/snap/csr.test.js > csr snapshot test > csr test ./src/tree/_example/activable.vue: test/snap/csr.test.js#L20
Error: Snapshot `csr snapshot test > csr test ./src/tree/_example/activable.vue 1` mismatched - Expected + Received @@ -120,11 +120,11 @@ height="1em" viewBox="0 0 24 24" width="1em" > <path - d="M16.5 12l-7-7v14l7-7z" + d="M15 12L9.5 6.5v11L15 12z" fill="currentColor" /> </svg> </span> <span @@ -202,11 +202,11 @@ height="1em" viewBox="0 0 24 24" width="1em" > <path - d="M16.5 12l-7-7v14l7-7z" + d="M15 12L9.5 6.5v11L15 12z" fill="currentColor" /> </svg> </span> <span ❯ test/snap/csr.test.js:20:33
test/snap/csr.test.js > csr snapshot test > csr test ./src/tree/_example/base.vue: test/snap/csr.test.js#L20
Error: Snapshot `csr snapshot test > csr test ./src/tree/_example/base.vue 1` mismatched - Expected + Received @@ -30,11 +30,11 @@ height="1em" viewBox="0 0 24 24" width="1em" > <path - d="M16.5 12l-7-7v14l7-7z" + d="M15 12L9.5 6.5v11L15 12z" fill="currentColor" /> </svg> </span> <span @@ -66,11 +66,11 @@ height="1em" viewBox="0 0 24 24" width="1em" > <path - d="M16.5 12l-7-7v14l7-7z" + d="M15 12L9.5 6.5v11L15 12z" fill="currentColor" /> </svg> </span> <span @@ -102,11 +102,11 @@ height="1em" viewBox="0 0 24 24" width="1em" > <path - d="M16.5 12l-7-7v14l7-7z" + d="M15 12L9.5 6.5v11L15 12z" fill="currentColor" /> </svg> </span> <span @@ -138,11 +138,11 @@ height="1em" viewBox="0 0 24 24" width="1em" > <path - d="M16.5 12l-7-7v14l7-7z" + d="M15 12L9.5 6.5v11L15 12z" fill="currentColor" /> </svg> </span> <span ❯ test/snap/csr.test.js:20:33
test/snap/csr.test.js > csr snapshot test > csr test ./src/tree/_example/checkable.vue: test/snap/csr.test.js#L20
Error: Snapshot `csr snapshot test > csr test ./src/tree/_example/checkable.vue 1` mismatched - Expected + Received @@ -197,11 +197,11 @@ height="1em" viewBox="0 0 24 24" width="1em" > <path - d="M16.5 12l-7-7v14l7-7z" + d="M15 12L9.5 6.5v11L15 12z" fill="currentColor" /> </svg> </span> <label @@ -244,11 +244,11 @@ height="1em" viewBox="0 0 24 24" width="1em" > <path - d="M16.5 12l-7-7v14l7-7z" + d="M15 12L9.5 6.5v11L15 12z" fill="currentColor" /> </svg> </span> <label @@ -291,11 +291,11 @@ height="1em" viewBox="0 0 24 24" width="1em" > <path - d="M16.5 12l-7-7v14l7-7z" + d="M15 12L9.5 6.5v11L15 12z" fill="currentColor" /> </svg> </span> <label @@ -406,11 +406,11 @@ height="1em" viewBox="0 0 24 24" width="1em" > <path - d="M16.5 12l-7-7v14l7-7z" + d="M15 12L9.5 6.5v11L15 12z" fill="currentColor" /> </svg> </span> <label @@ -521,11 +521,11 @@ height="1em" viewBox="0 0 24 24" width="1em" > <path - d="M16.5 12l-7-7v14l7-7z" + d="M15 12L9.5 6.5v11L15 12z" fill="currentColor" /> </svg> </span> <label @@ -568,11 +568,11 @@ height="1em" viewBox="0 0 24 24" width="1em" > <path - d="M16.5 12l-7-7v14l7-7z" + d="M15 12L9.5 6.5v11L15 12z" fill="currentColor" /> </svg> </span> <label @@ -683,11 +683,11 @@ height="1em" viewBox="0 0 24 24" width="1em" > <path - d="M16.5 12l-7-7v14l7-7z" + d="M15 12L9.5 6.5v11L15 12z" fill="currentColor" /> </svg> </span> <label @@ -798,11 +798,11 @@ height="1em" viewBox="0 0 24 24" width="1em" > <path - d="M16.5 12l-7-7v14l7-7z" + d="M15 12L9.5 6.5v11L15 12z" fill="currentColor" /> </svg> </span> <label ❯ test/snap/csr.test.js:20:33
test/snap/csr.test.js > csr snapshot test > csr test ./src/tree/_example/controlled.vue: test/snap/csr.test.js#L20
Error: Snapshot `csr snapshot test > csr test ./src/tree/_example/controlled.vue 1` mismatched - Expected + Received @@ -315,11 +315,11 @@ height="1em" viewBox="0 0 24 24" width="1em" > <path - d="M16.5 12l-7-7v14l7-7z" + d="M15 12L9.5 6.5v11L15 12z" fill="currentColor" /> </svg> </span> <label @@ -363,11 +363,11 @@ height="1em" viewBox="0 0 24 24" width="1em" > <path - d="M16.5 12l-7-7v14l7-7z" + d="M15 12L9.5 6.5v11L15 12z" fill="currentColor" /> </svg> </span> <label @@ -478,11 +478,11 @@ height="1em" viewBox="0 0 24 24" width="1em" > <path - d="M16.5 12l-7-7v14l7-7z" + d="M15 12L9.5 6.5v11L15 12z" fill="currentColor" /> </svg> </span> <label @@ -525,11 +525,11 @@ height="1em" viewBox="0 0 24 24" width="1em" > <path - d="M16.5 12l-7-7v14l7-7z" + d="M15 12L9.5 6.5v11L15 12z" fill="currentColor" /> </svg> </span> <span ❯ test/snap/csr.test.js:20:33
call-test-build / check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
call-test-build / site
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
call-test-build / build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
call-test-build / test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
_site Expired
3.49 MB
pr
139 Bytes