Skip to content

Remove wp-e2e-playwright folder to fix Dependabot errors#2313

Merged
IndiraBiswas merged 1 commit intodevelopfrom
remove-e2e-tests-dependabot-error
Mar 5, 2026
Merged

Remove wp-e2e-playwright folder to fix Dependabot errors#2313
IndiraBiswas merged 1 commit intodevelopfrom
remove-e2e-tests-dependabot-error

Conversation

@IndiraBiswas
Copy link
Contributor

Remove wp-e2e-playwright folder to resolve Dependabot security alerts

Copilot AI review requested due to automatic review settings March 5, 2026 05:29
@gemini-code-assist
Copy link

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes the tests/wp-e2e-playwright Playwright E2E test subproject to eliminate Dependabot security alerts originating from that subproject’s Node dependencies.

Changes:

  • Deleted the tests/wp-e2e-playwright Playwright E2E test suite (specs + helpers).
  • Removed the subproject’s Node/TS build and Playwright configuration files.
  • Removed related subproject docs and environment/config artifacts.

Reviewed changes

Copilot reviewed 29 out of 34 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tests/wp-e2e-playwright/utils/urls.js Removed URL helper used by the Playwright tests.
tests/wp-e2e-playwright/tsconfig.json Removed TS project config for the subproject.
tests/wp-e2e-playwright/tsconfig.base.json Removed shared TS compiler options for the subproject.
tests/wp-e2e-playwright/test_utils/backend.js Removed Playwright backend page-object helper.
tests/wp-e2e-playwright/test_utils/activity.js Removed Playwright activity page-object helper.
tests/wp-e2e-playwright/test-data Removed gitlink/subproject pointer for test data.
tests/wp-e2e-playwright/specs/types.spec.js Removed E2E coverage for media type validation flows.
tests/wp-e2e-playwright/specs/prerequisite.spec.js Removed E2E prerequisite setup spec.
tests/wp-e2e-playwright/specs/other_settings/privacy.spec.js Removed E2E privacy settings coverage.
tests/wp-e2e-playwright/specs/other_settings/custom_css.spec.js Removed E2E custom CSS settings coverage.
tests/wp-e2e-playwright/specs/other_settings/03_footer_link.spec.js Removed E2E footer link coverage.
tests/wp-e2e-playwright/specs/other_settings/02_user_terms.spec.js Removed E2E terms-of-service coverage.
tests/wp-e2e-playwright/specs/other_settings/01_admin-settings.spec.js Removed E2E admin bar integration coverage.
tests/wp-e2e-playwright/specs/media_size.spec.js Removed E2E media size coverage.
tests/wp-e2e-playwright/specs/display/01_single-media-view.spec.js Removed E2E single-media view/display coverage.
tests/wp-e2e-playwright/specs/cleanup.spec.js Removed E2E cleanup/reset spec.
tests/wp-e2e-playwright/specs/buddypress/03_album_settings.spec.js Removed BuddyPress album settings E2E coverage.
tests/wp-e2e-playwright/specs/buddypress/02_comment_media.spec.js Removed BuddyPress comment media E2E coverage.
tests/wp-e2e-playwright/specs/buddypress/01_integrated-features.spec.js Removed BuddyPress integrated features E2E coverage.
tests/wp-e2e-playwright/specs/TESTS.md Removed documentation describing the E2E suite.
tests/wp-e2e-playwright/playwright.config.ts Removed Playwright runner configuration.
tests/wp-e2e-playwright/package.json Removed the subproject’s Node dependencies (source of Dependabot alerts).
tests/wp-e2e-playwright/config/global-setup.ts Removed Playwright global setup/auth bootstrap.
tests/wp-e2e-playwright/config/flaky-tests-reporter.ts Removed custom reporter for flaky tests.
tests/wp-e2e-playwright/config.ts Removed E2E env/config constants.
tests/wp-e2e-playwright/bin/pr-status.js Removed PR status notifier script.
tests/wp-e2e-playwright/bin/packages/validate-typescript-version.js Removed TS version validation script.
tests/wp-e2e-playwright/bin/packages/build.js Removed subproject build pipeline script.
tests/wp-e2e-playwright/bin/packages/build-worker.js Removed worker implementation for the build pipeline.
tests/wp-e2e-playwright/README.md Removed subproject README.
tests/wp-e2e-playwright/.prettierrc.js Removed Prettier config specific to the subproject.
tests/wp-e2e-playwright/.gitignore Removed subproject gitignore.
tests/wp-e2e-playwright/.env Removed subproject env file.
Comments suppressed due to low confidence (1)

tests/wp-e2e-playwright/package.json:1

  • This PR removes tests/wp-e2e-playwright, but the GitHub Actions workflow still references this directory (.github/workflows/playwright.yml uses working-directory: ./tests/wp-e2e-playwright and uploads ./tests/wp-e2e-playwright/playwright-report). With the folder removed, re-enabling that workflow/job later will fail; consider updating or removing the workflow (or guarding those paths) as part of this change so CI config stays consistent with the repo layout.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

4 participants