Skip to content

Conversation

@ahuseyn
Copy link
Member

@ahuseyn ahuseyn commented Jun 12, 2025

Description

This PR adds E2E test suite to the plugin. It uses Playwright and @wordpress/e2e-test-utils-playwright. Testing covers settings page, preview links and Faust integration. This PR also adds a GitHub workflow to automate the e2e testing.

Related Issue

Dependant PRs

N/A

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?

Screenshots

Screenshot 2025-06-13 at 16 45 38

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

@github-actions
Copy link

ℹ️ Download the hwp-previews plugin artifact from this workflow run (see the 'Artifacts' section at the bottom).

@github-actions
Copy link

ℹ️ Download the hwp-previews plugin artifact from this workflow run (see the 'Artifacts' section at the bottom).

@github-actions
Copy link

github-actions bot commented Jun 13, 2025

ℹ️ Download the latest hwp-previews plugin zip from this PR
(See the 'Artifacts' section at the bottom)

@ahuseyn ahuseyn linked an issue Jun 13, 2025 that may be closed by this pull request
@ahuseyn ahuseyn marked this pull request as ready for review June 13, 2025 14:47
@ahuseyn ahuseyn requested a review from a team as a code owner June 13, 2025 14:47
Copy link
Member

@colinmurphy colinmurphy left a comment

Choose a reason for hiding this comment

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

LGTM 🚀 🚀 🚀

@ahuseyn ahuseyn added this pull request to the merge queue Jun 16, 2025
Merged via the queue into main with commit aeb9466 Jun 16, 2025
17 checks passed
@ahuseyn ahuseyn deleted the add-end-to-end-tests branch June 16, 2025 09:56
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.

test(previews): Add E2E tests

3 participants