chore: 整理
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { test } from '@playwright/test';
|
||||
import { expect, test } from '@playwright/test';
|
||||
import { consola } from 'consola';
|
||||
|
||||
test('页面加载正常', async ({ page }, testInfo) => {
|
||||
@@ -14,4 +14,5 @@ test('页面加载正常', async ({ page }, testInfo) => {
|
||||
// 获取元素的文本内容
|
||||
const innerText = await commitElement.textContent();
|
||||
consola.debug(`Commit 文本内容: "${innerText}"`);
|
||||
expect(innerText).toContain('commit:');
|
||||
});
|
||||
|
Reference in New Issue
Block a user