Skip to content

Member Content: Refactor Tests#1071

Open
n7studios wants to merge 4 commits intoconditionally-display-landing-page-settingfrom
refactor-restrict-content-tests
Open

Member Content: Refactor Tests#1071
n7studios wants to merge 4 commits intoconditionally-display-landing-page-settingfrom
refactor-restrict-content-tests

Conversation

@n7studios
Copy link
Copy Markdown
Contributor

@n7studios n7studios commented Apr 15, 2026

Summary

Refactors Member Content tests for Filters and Products, testing against Posts, Pages and Custom Post Types

Testing

  • RestrictContentFilterCest: Tests filters in the WordPress Admin for Posts, Pages and Custom Post Types, replacing the separate RestrictContentFilterCPTCest, RestrictContentFilterPageCest, RestrictContentFilterPostCest.
  • RestrictContentProductCest: Tests member content by product against Posts, Pages and Custom Post Types, replacing the separate RestrictContentProductCPTCest, RestrictContentProductPageCest, RestrictContentProductPageCest

Checklist

@n7studios n7studios added this to the 3.3.0 milestone Apr 15, 2026
@n7studios n7studios self-assigned this Apr 15, 2026
@github-actions
Copy link
Copy Markdown

WordPress Playground

🚀 Your PR has been built and is ready for testing in WordPress Playground!

Click here to test your changes in WordPress Playground

@n7studios n7studios requested review from a team, ciccio-kit and noelherrick and removed request for a team April 15, 2026 11:04
@n7studios n7studios marked this pull request as ready for review April 15, 2026 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants