style: 全站接入深色主题,按新规则整改界面取值
This commit is contained in:
@@ -79,7 +79,7 @@ test.describe('Task form', () => {
|
||||
await expect(page.getByRole('button', { name: '更新', exact: true })).toBeVisible();
|
||||
|
||||
await page.getByPlaceholder('例如:Vue3 组件通信实践').fill('更新后的任务');
|
||||
await page.getByRole('button', { name: '添加', exact: true }).click();
|
||||
await page.getByRole('button', { name: '更新', exact: true }).click();
|
||||
|
||||
await expect(page).toHaveURL(/\/study/, { timeout: 10_000 });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user