Skip to content

test: reorganize helpers into shared/e2e/int subdirectories#15479

Merged
AlessioGr merged 17 commits intomainfrom
test/reorganize
Feb 3, 2026
Merged

test: reorganize helpers into shared/e2e/int subdirectories#15479
AlessioGr merged 17 commits intomainfrom
test/reorganize

Conversation

@AlessioGr
Copy link
Copy Markdown
Member

@AlessioGr AlessioGr commented Feb 2, 2026

Clean up test/helpers/ folder structure in preparation for upcoming fixtures support.

Previously, all helper files were in a flat structure making it hard to distinguish between shared utilities and <e2e/int>-specific helpers. Some were part of the test/helpers/e2e folder, some were just floating at the top-level of the test/helpers folder, some were stuffed into test/helpers.ts file.

This also renames helpers to __helpers, so that the folder shows up at the very top.

New structure:

  • __helpers/shared/ - Common utilities (adminUrlUtil, initPayloadInt, REST clients, etc.)
  • __helpers/e2e/ - Playwright/e2e test utilities
  • __helpers/int/ - Integration test utilities

This PR also removes some previously unused files. We still had mock files sitting around from our 2.x webpack bundler magic days.

Before

Screenshot 2026-02-02 at 12 54 20

After

Screenshot 2026-02-02 at 12 53 42

@AlessioGr AlessioGr requested a review from denolfe as a code owner February 2, 2026 20:44
@AlessioGr AlessioGr enabled auto-merge (squash) February 2, 2026 20:45
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 2, 2026

📦 esbuild Bundle Analysis for payload

This analysis was generated by esbuild-bundle-analyzer. 🤖
This PR introduced no changes to the esbuild bundle! 🙌

@AlessioGr AlessioGr merged commit b901231 into main Feb 3, 2026
296 of 298 checks passed
@AlessioGr AlessioGr deleted the test/reorganize branch February 3, 2026 17:22
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 5, 2026

🚀 This is included in version v3.75.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants