Skip to content

Commit

Permalink
test: semantically splits admin e2e (#10213)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jacobsfletch authored Dec 28, 2024
1 parent 466ea29 commit 0be1a1d
Show file tree
Hide file tree
Showing 18 changed files with 1,702 additions and 1,737 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,9 @@ jobs:
suite:
- _community
- access-control
- admin__e2e__1
- admin__e2e__2
- admin__e2e__3
- admin__e2e__general
- admin__e2e__list-view
- admin__e2e__document-view
- admin-root
- auth
- auth-basic
Expand Down
2 changes: 1 addition & 1 deletion test/_community/e2e.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { TEST_TIMEOUT_LONG } from '../playwright.config.js'
const filename = fileURLToPath(import.meta.url)
const dirname = path.dirname(filename)

test.describe('Admin Panel', () => {
test.describe('Community', () => {
let page: Page
let url: AdminUrlUtil

Expand Down
2 changes: 1 addition & 1 deletion test/access-control/e2e.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const dirname = path.dirname(filename)

const { beforeAll, describe } = test
let payload: PayloadTestSDK<Config>
describe('access control', () => {
describe('Access Control', () => {
let page: Page
let url: AdminUrlUtil
let restrictedUrl: AdminUrlUtil
Expand Down
Loading

0 comments on commit 0be1a1d

Please sign in to comment.