This commit is contained in:
fuenmao
2026-10-19 16:47:24 +08:00
parent e977a988b2
commit e3727d40bd
14 changed files with 171 additions and 32 deletions
+2
View File
@@ -76,6 +76,7 @@ try{
await page.getByRole('button',{name:'导入 Excel',exact:true}).click()
await expect(page.getByText('已选择 3 条',{exact:true})).toBeVisible()
await expect(page.getByText('待修改',{exact:true})).toBeVisible()
await page.locator('.group-review-heading').click()
const group=page.getByRole('checkbox',{name:'选择分组:某某学校 / 初二年级 / 秋季学期服务费',exact:true})
await group.uncheck();await expect(page.getByText('已选择 2 条',{exact:true})).toBeVisible()
await expect(page.getByRole('checkbox',{name:'选择分组:某某学校',exact:true})).toHaveJSProperty('indeterminate',true)
@@ -149,6 +150,7 @@ try{
await page.getByRole('button',{name:'收据工作台',exact:true}).click()
await page.locator('.panel-heading [data-task="import"]').click()
await expect(page.getByText('已选择 60 条',{exact:true})).toBeVisible()
await page.locator('.group-review-heading').click()
await expect(page.locator('.group-tree-root > .receipt-group-node')).toHaveCount(50)
await page.getByRole('button',{name:'显示更多分组(还有 10 项)',exact:true}).click()
await expect(page.locator('.group-tree-root > .receipt-group-node')).toHaveCount(60)