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:
Jacob Fletcher
2024-12-28 00:28:37 -05:00
committed by GitHub
parent 466ea292b9
commit 0be1a1d880
18 changed files with 1720 additions and 1755 deletions

View File

@@ -4,7 +4,6 @@ import type { SanitizedConfig } from 'payload'
import { expect, test } from '@playwright/test'
import { devUser } from 'credentials.js'
import path from 'path'
import { wait } from 'payload/shared'
import { fileURLToPath } from 'url'
import { v4 as uuid } from 'uuid'
@@ -82,7 +81,7 @@ const createFirstUser = async ({
.not.toContain('create-first-user')
}
describe('auth', () => {
describe('Auth', () => {
let page: Page
let context: BrowserContext
let url: AdminUrlUtil