chore: converts e2e suites to new pattern
This commit is contained in:
@@ -10,7 +10,6 @@ import type { Page as PayloadPage } from './payload-types.js'
|
||||
import { initPageConsoleErrorCatch } from '../helpers.js'
|
||||
import { AdminUrlUtil } from '../helpers/adminUrlUtil.js'
|
||||
import { initPayloadE2E } from '../helpers/initPayloadE2E.js'
|
||||
import config from './config.js'
|
||||
import { mediaSlug } from './shared.js'
|
||||
|
||||
const filename = fileURLToPath(import.meta.url)
|
||||
@@ -24,7 +23,7 @@ let id: string
|
||||
|
||||
describe('SEO Plugin', () => {
|
||||
beforeAll(async ({ browser }) => {
|
||||
const { serverURL, payload } = await initPayloadE2E({ config, dirname })
|
||||
const { serverURL, payload } = await initPayloadE2E({ dirname })
|
||||
url = new AdminUrlUtil(serverURL, 'pages')
|
||||
|
||||
const context = await browser.newContext()
|
||||
|
||||
Reference in New Issue
Block a user