Test plan for collections
Test cases
Number Description CA36 Create collection CA37 Edit collection
Test cycles
For creating/editing collection you have to log in as admin and then you have to get into administration, particulary in the menu Collections. Then you have to click Add collection buttom or select some collection created yet. The fields that has a collection are:
- Name (required field): it's the name of the portal menu.
- Slug (required field): autocomplete
- Content type (required field): type base to filter contents.
- Group by: group the results by the option selected.
- Order by: order the results by the option selected.
- Reverse order: revert the order if this option has checked.
- Filtering section: if the collection is into a section, filter for the contents of this section; if this option has checked.
- Filters include: select the filters to include results.
- Filters exclude: select the filters to exclude results.
CA36 Create collection
Test cases
- CA36 - Cl01. Basic success test case. Collection without filters. To do this test, it's necessary to create an environment: a section with some documents and this way, test if the collection works fine.
- Name: test collection CA36-Cl01
- Slug: test-collection-CA36-Cl01
- Content type: document
- Group by:
- Order by:
- Reverse order: unchecked
- Filtering section: unchecked
- Filters include:
- Filters exclude:
- CA36 - Cl02. Basic success test case. Collection filtering by section. To do this test, it's necessary to create an environmet: two sections, both with documents and only one with the collection. This way we test if the collection filter by section or not.
- Name: test collection CA36-Cl02
- Slug: test-collection-CA36-Cl02
- Content type: document
- Group by:
- Order by:
- Reverse order: unchecked
- Filtering section: checked
- Filters include:
- Filters exclude:
- CA36 - Cl03. Basic success test case. Collection with some filters (content types) and set "group by". To do this test, it's necessary to create an environment: a section with a collection, some documents and some news items (it's necessary to install the plugin). Here, we test if the collection can filter by two content types and can group by an attribute.
- Name: test collection CA36-Cl03
- Slug: test-collection-CA36-Cl03
- Content type: document, news item.
- Group by: status
- Order by:
- Reverse order: unchecked
- Filtering section: checked
- Filters include:
- Filters exclude:
- CA36 - Cl04. Basic success test case. Collection with include/exclude filters. To do this test, it's necessary to create an environment: a section with a collection and some documents. This document should be name, slugs, states differents, this way we can filter by this attributes and check if the collection works fine.
- Name: test collection CA36-Cl04
- Slug: test-collection-CA36-Cl04
- Content type: document
- Group by:
- Order by:
- Reverse order: unchecked
- Filtering section: checked
- Filters include: slug contain
- Filters exclude: name contain
CA37 Edit collection
- CA37 - Cl01. Basic success test case. Change filter by section. To do this test, it's necessary to create an environment: two sections, both with documents and one of them with a collection.
- Name: test collection CA37-Cl01
- Slug: test-collection-CA37-Cl01
- Content type: document
- Group by:
- Order by:
- Reverse order: unchecked
- Filtering section: checked
- Filters include:
- Filters exclude: Test if the results are correct and change the filter:
- Filtering section: unchecked Test if the results are correct now too.
- CA37 - Cl02. Basic success test case. Change collection filter by content types. To do this test, it's necessary to create an environment: a section with a collection, some documents and some news items (it's necessary to install the plugin).
- Name: test collection CA37-Cl02
- Slug: test-collection-CA37-Cl02
- Content type: document, news items
- Group by:
- Order by:
- Reverse order: unchecked
- Filtering section: checked
- Filters include:
- Filters exclude: Test if the results are correct and change the filter:
- Content type: document Test if the results are correct now too.
- CA37 - Cl03. Basic success test case. Change collection "order by" and "group by" filters. To do this test, it's necessary to create an environment: a section with a collection and some documents.
- Name: test collection CA37-Cl03
- Slug: test-collection-CA37-Cl03
- Content type: document, collection
- Group by: content type
- Order by: slug
- Reverse order: unchecked
- Filtering section: checked
- Filters include: slug contain
- Filters exclude: name contain Test if the results, order, and groups are correct and change the filter:
- Group by:
- Order by: slug
- Reverse order: checked Test if the results, order, and groups are correct now too.
- CA37 - Cl04. Basic success test case. Change collection "include/exclude" filters. To do this test, it's necessary to create an environment: a section with a collection and some documents. This document should be name, slugs, states differents, this way we can filter by this attributes and check if the collection works fine.
- Name: test collection CA37-Cl04
- Slug: test-collection-CA37-Cl04
- Content type: document
- Group by:
- Order by:
- Reverse order: unchecked
- Filtering section: checked
- Filters include: slug contain
- Filters exclude: name contain Test if the results are correct and change the filtsrs:
- Filters include:
- Filters exclude: slug contains Test if the results are correct now too.
