test: order quick identity titles · openclaw/openclaw@9bfa2d0
shakkernerd
·
2026-05-12
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -177,8 +177,7 @@ describe("renderQuickSettings", () => {
|
177 | 177 | const titles = Array.from(container.querySelectorAll(".qs-identity-card__title")).map((node) => |
178 | 178 | node.textContent?.trim(), |
179 | 179 | ); |
180 | | -expect(titles).toContain("You"); |
181 | | -expect(titles).toContain("Nova"); |
| 180 | +expect(titles).toEqual(["You", "Nova"]); |
182 | 181 | expect(container.querySelector('input[placeholder="You"]')).toBeNull(); |
183 | 182 | expect( |
184 | 183 | Array.from(container.querySelectorAll(".qs-row__label")).some( |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。