Find out the key data/params of the following, and write & execute them in your local.
Note: All the test cases should pass successfully. Each test case should have at least 2 assertions or checks
- CPT Posts assigned to a certain taxonomy term: create posts and taxonomy terms using Factory. Assign these Posts to taxonomies. Fetch Posts based on the tax query and check for results.
- Custom Widgets
- Gutenberg Blocks
Optional: