test: reorganize helpers into shared/e2e/int subdirectories#15479
Merged
test: reorganize helpers into shared/e2e/int subdirectories#15479
Conversation
Contributor
📦 esbuild Bundle Analysis for payloadThis analysis was generated by esbuild-bundle-analyzer. 🤖 |
JarrodMFlesch
approved these changes
Feb 3, 2026
Contributor
|
🚀 This is included in version v3.75.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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/e2efolder, some were just floating at the top-level of thetest/helpersfolder, some were stuffed intotest/helpers.tsfile.This also renames
helpersto__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 utilitiesThis PR also removes some previously unused files. We still had mock files sitting around from our 2.x webpack bundler magic days.
Before
After