Skip to content

armgit / peach

Public Imported from GitHub
0

Peach: Local-first video metadata scraper and media manager.

test(ui): 诊断页去处按链接量对齐

longmeidao4a414d77e3e9
diff --git a/frontend/e2e/diagnostics.test.ts b/frontend/e2e/diagnostics.test.ts
index 736cc3067..696001d2e 100644
--- a/frontend/e2e/diagnostics.test.ts
+++ b/frontend/e2e/diagnostics.test.ts
@@ -126,7 +126,7 @@ describe('配置中的系统诊断', () => {
const shown = await row.evaluate(element => {
const title = element.querySelector('h3')!;
const reason = element.querySelector('[data-check-reason]')!;
- const button = element.querySelector('button')!;
+ const button = element.querySelector('a[href]')!;
const box = element.getBoundingClientRect();
const action = button.getBoundingClientRect();
return { titleWeight: getComputedStyle(title).fontWeight, reasonWeight: getComputedStyle(reason).fontWeight,