Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it easy to get a full list of page factories #62

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ababic
Copy link

@ababic ababic commented Oct 5, 2022

This is the PageFactory equivalent of wagtail.models.get_page_models(). It can be used to:

  • Write tests that check functionality across all page types
  • Write tests that check the factories themselves
  • Write tests that randomise the types of page that are created

@ababic ababic changed the title Store page factories in a globally accessible list Make it easy to get a full list of page factories to work with Oct 5, 2022
@ababic ababic changed the title Make it easy to get a full list of page factories to work with Make it easy to get a full list of page factories Oct 5, 2022
@ababic ababic force-pushed the feature/store_global_list_of_page_factories branch from 3908a90 to 38f7638 Compare October 5, 2022 09:40
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.

1 participant