chore: fix typescript error

This commit is contained in:
leejooy96 committed 2025-04-26 21:32:12 +09:00
1 parent 9694d40a4a
commit eb5a3b04fa
7 files changed
+13 -11

No files matched your search

+1
View File
@@ -64,6 +64,7 @@ export const test = base.test.extend({
page: async ({}, use) => {
await use(page)
},
// @ts-ignore
util: async ({ page }, use, testInfo) => {
await use(new TestUtil(page, testInfo, __testScreenshotPath))
}
+3 -1
View File
@@ -1,8 +1,9 @@
import { test, expect, beforeAll, afterAll } from '../fixtures.mts'
import { test, expect, beforeAll, afterAll } from '../fixtures.mjs'
test.beforeAll(beforeAll)
test.afterAll(afterAll)
// @ts-ignore
test('Document element check', async ({ page, util }) => {
try {
await expect(
@@ -20,6 +21,7 @@ test('Document element check', async ({ page, util }) => {
}
})
// @ts-ignore
test('Counter button click check', async ({ page, util }) => {
try {
await page.getByTestId('btn-counter').click({ clickCount: 10, delay: 50 })