Skip to content

Commit 0be1a1d

Browse files
authored
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.
1 parent 466ea29 commit 0be1a1d

File tree

18 files changed

+1702
-1737
lines changed

18 files changed

+1702
-1737
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,9 +278,9 @@ jobs:
278278
suite:
279279
- _community
280280
- access-control
281-
- admin__e2e__1
282-
- admin__e2e__2
283-
- admin__e2e__3
281+
- admin__e2e__general
282+
- admin__e2e__list-view
283+
- admin__e2e__document-view
284284
- admin-root
285285
- auth
286286
- auth-basic

test/_community/e2e.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { TEST_TIMEOUT_LONG } from '../playwright.config.js'
1212
const filename = fileURLToPath(import.meta.url)
1313
const dirname = path.dirname(filename)
1414

15-
test.describe('Admin Panel', () => {
15+
test.describe('Community', () => {
1616
let page: Page
1717
let url: AdminUrlUtil
1818

test/access-control/e2e.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const dirname = path.dirname(filename)
5454

5555
const { beforeAll, describe } = test
5656
let payload: PayloadTestSDK<Config>
57-
describe('access control', () => {
57+
describe('Access Control', () => {
5858
let page: Page
5959
let url: AdminUrlUtil
6060
let restrictedUrl: AdminUrlUtil

0 commit comments

Comments
 (0)