完整关口收尾:端点认证头重名只标后加的那一行(原有的那行本身没错);check-apps 实例状态只认状态标签本身(标签里嵌着带 data-status 的图标);check-app-editor 选人输入框挂了候选列表,角色是 combobox,按输入框定位

This commit is contained in:
ThearchyHelios
2026-10-15 07:27:57 +08:00
parent 941723b17c
commit 77cd95901a
3 changed files with 8 additions and 6 deletions
+2 -1
View File
@@ -585,7 +585,8 @@ await section('岗位与授权:三档各写标题和说明;搭建者从名
&& (await rows.nth(1).innerText()).includes('全部实例') && (await rows.nth(2).innerText()).includes('编辑、发布'))
const use = rows.first()
check('已选的名录里没有:标签上标出来', await waitFor(page, async () => await use.locator('[data-principal-problem="missing"]').count() === 1))
const input = use.getByRole('textbox')
// 挂了候选列表(list)的输入框角色是 combobox,不是 textbox
const input = use.locator('input').first()
const chips = () => use.locator('li[data-principal]').count()
await input.fill('nobody')
await input.press('Enter')