test: semantically splits admin e2e (#10213)
Improves the admin e2e test splitting by grouping them by type with semantic names as opposed to numerically. This will provide much needed clarity to exactly _where_ new admin tests should be written and help to quickly distinguish the areas of failure within the CI overview.
This commit is contained in:
@@ -68,16 +68,14 @@ const createFirstUser = async ({
|
||||
.not.toContain('create-first-user')
|
||||
}
|
||||
|
||||
describe('auth-basic', () => {
|
||||
describe('Auth (Basic)', () => {
|
||||
let page: Page
|
||||
let url: AdminUrlUtil
|
||||
let serverURL: string
|
||||
let apiURL: string
|
||||
|
||||
beforeAll(async ({ browser }, testInfo) => {
|
||||
testInfo.setTimeout(TEST_TIMEOUT_LONG)
|
||||
;({ payload, serverURL } = await initPayloadE2ENoConfig<Config>({ dirname }))
|
||||
apiURL = `${serverURL}/api`
|
||||
url = new AdminUrlUtil(serverURL, 'users')
|
||||
|
||||
const context = await browser.newContext()
|
||||
|
||||
Reference in New Issue
Block a user