test: expect config section titles · openclaw/openclaw@a728e6a
openclaw
·
2026-05-13
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -523,7 +523,11 @@ describe("config view", () => {
|
523 | 523 | }, |
524 | 524 | }); |
525 | 525 | |
526 | | -expect(container.querySelectorAll(".config-section-card__header").length).toBeGreaterThan(0); |
| 526 | +expect( |
| 527 | +[...container.querySelectorAll(".config-section-card__title")].map((title) => |
| 528 | +title.textContent?.trim(), |
| 529 | +), |
| 530 | +).toEqual(["Authentication", "Gateway"]); |
527 | 531 | }); |
528 | 532 | |
529 | 533 | it("clears the active search query", () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。