chore: converts e2e suites to new pattern
This commit is contained in:
@@ -18,7 +18,6 @@ import {
|
||||
import { AdminUrlUtil } from '../helpers/adminUrlUtil.js'
|
||||
import { initPayloadE2E } from '../helpers/initPayloadE2E.js'
|
||||
import { POLL_TOPASS_TIMEOUT } from '../playwright.config.js'
|
||||
import config from './config.js'
|
||||
import {
|
||||
docLevelAccessSlug,
|
||||
readOnlySlug,
|
||||
@@ -50,7 +49,7 @@ describe('access control', () => {
|
||||
let serverURL: string
|
||||
|
||||
beforeAll(async ({ browser }) => {
|
||||
;({ payload, serverURL } = await initPayloadE2E({ config, dirname }))
|
||||
;({ payload, serverURL } = await initPayloadE2E({ dirname }))
|
||||
|
||||
url = new AdminUrlUtil(serverURL, slug)
|
||||
restrictedUrl = new AdminUrlUtil(serverURL, restrictedSlug)
|
||||
|
||||
Reference in New Issue
Block a user