feat: 添加 eslint-plugin-unicorn 依赖,更新 ESLint 配置以支持新规则
This commit is contained in:
@ -13,6 +13,6 @@ test('页面加载正常', async ({ page }, testInfo) => {
|
||||
// 查找包含"commit:"文本的元素
|
||||
const commitElement = page.locator('text=commit:').first();
|
||||
// 获取元素的文本内容
|
||||
const innerText = await commitElement.innerText();
|
||||
const innerText = await commitElement.textContent();
|
||||
consola.debug(`Commit 文本内容: "${innerText}"`);
|
||||
});
|
||||
|
Reference in New Issue
Block a user