chore: correctly ignore ts rules
This commit is contained in:
1 parent
5918ab4c76
commit
e5ce304081
2 files changed
+3
-3
No files matched your search
+1
-1
@@ -64,7 +64,7 @@ export const test = base.test.extend({
|
|||||||
page: async ({}, use) => {
|
page: async ({}, use) => {
|
||||||
await use(page)
|
await use(page)
|
||||||
},
|
},
|
||||||
// @ts-ignore
|
// @ts-expect-error: `util` is not using types in playwright
|
||||||
util: async ({ page }, use, testInfo) => {
|
util: async ({ page }, use, testInfo) => {
|
||||||
await use(new TestUtil(page, testInfo, __testScreenshotPath))
|
await use(new TestUtil(page, testInfo, __testScreenshotPath))
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import { test, expect, beforeAll, afterAll } from '../fixtures.mjs'
|
|||||||
test.beforeAll(beforeAll)
|
test.beforeAll(beforeAll)
|
||||||
test.afterAll(afterAll)
|
test.afterAll(afterAll)
|
||||||
|
|
||||||
// @ts-ignore
|
// @ts-expect-error: `util` is not using types in playwright
|
||||||
test('Document element check', async ({ page, util }) => {
|
test('Document element check', async ({ page, util }) => {
|
||||||
try {
|
try {
|
||||||
await expect(
|
await expect(
|
||||||
@@ -21,7 +21,7 @@ test('Document element check', async ({ page, util }) => {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
// @ts-ignore
|
// @ts-expect-error: `util` is not using types in playwright
|
||||||
test('Counter button click check', async ({ page, util }) => {
|
test('Counter button click check', async ({ page, util }) => {
|
||||||
try {
|
try {
|
||||||
await page.getByTestId('btn-counter').click({ clickCount: 10, delay: 50 })
|
await page.getByTestId('btn-counter').click({ clickCount: 10, delay: 50 })
|
||||||
|
|||||||
Reference in new issue
Block a user