Skip to content

Conversation

@ahuseyn
Copy link
Member

@ahuseyn ahuseyn commented Oct 28, 2025

Description

This PR adds E2E test suite to the plugin. It uses Playwright and @wordpress/e2e-test-utils-playwright. The E2E tests verify that admins can configure logging settings, execute GraphQL queries, and view the resulting logs with all expected data including CSV downloads. They also test data management features like query exclusion, field sanitization for privacy compliance, and automatic log cleanup based on retention policies.

Related Issue

Dependant PRs

Type of Change

  • ✅ Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactoring (no functional changes)
  • 📄 Example update (no functional changes)
  • 📝 Documentation update
  • 🔍 Performance improvement
  • 🧪 Test update

How Has This Been Tested?

Manually

Screenshots

Screenshot 2025-10-28 at 21 44 44

Checklist

  • I have read the CONTRIBUTING document
  • My code follows the project's coding standards
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (if applicable)
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works (if applicable)
  • Any dependent changes have been highlighted, merged or published

@changeset-bot
Copy link

changeset-bot bot commented Oct 28, 2025

⚠️ No Changeset found

Latest commit: fdbff2f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions
Copy link

github-actions bot commented Oct 28, 2025

📦 Plugin Artifacts Ready!

Download from GitHub Actions run

Available plugins:

  • ✅ wpgraphql-logging.zip

See the "Artifacts" section at the bottom of the Actions run page

@ahuseyn ahuseyn linked an issue Oct 29, 2025 that may be closed by this pull request
@ahuseyn ahuseyn marked this pull request as ready for review October 30, 2025 20:17
@ahuseyn ahuseyn requested a review from a team as a code owner October 30, 2025 20:17
@ahuseyn ahuseyn added this pull request to the merge queue Oct 31, 2025
Merged via the queue into main with commit 034247b Oct 31, 2025
21 checks passed
@ahuseyn ahuseyn deleted the wpgraphql-logging-e2e-tests branch October 31, 2025 11:22
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.

chore: E2E Tests for Logging Plugin

3 participants