Test plan for portal links
Test cases
Number Description CA04 Create portal link CA05 Edit portal link CA06 Delete portal link
Test cycles
CA04 Create portal link
Portal links are links that appears in every page at the same place. For creating portal links you have to log in as admin and then you have to get into administration, particulary in the menu Portal links. Then you have to click Add portal link buttom. The fields that has a portal link are:
- Name (required field): it's the name of the portal link.
- URL: portal link points to this url.
- Content: portal link points to this content.
- Category (required field): it's a select field about the kind of portal link. You can choose between primary or secondary.
- Order: it refers to the order of portal links in the public view. It begins at 0 (first link).
Test cases
- CA04 - Cl01. Basic success test case. Create a primary portal link that points to an url. Verify that in public view is visible and it points to the url.
- Name: TestTestCA04-Cl01 portal link
- URL: http://www.yaco.es
- Category: Primary link
- CA04 - Cl02. Create a primary portal link that points to a content. Verify that in public view is visible and it points to the content.
- Name: TestCA04-Cl02 portal link
- Content: TestCA04-Cl02 content
- Category: Primary link
- CA04 - Cl03. Create a primary portal link that points to a content and to an url at the same time. System should advise that it's not possible:
- Name: TestCA04-Cl03 portal link
- URL: http://www.yaco.es
- Content: TestCA04-Cl03 content
- Category: Primary link
- CA04 - Cl04. Create a primary portal link that doesn't point to any url or content. In public view it will point to home:
- Name: TestCA04-Cl04 portal link
- URL:
- Content:
- Category: Primary link
- CA04 - Cl05. Order field test. Create two primary portal links with different order and verify that it works:
- Name: TestCA04-Cl05first portal link, TestCA04-Cl05second portal link.
- URL: http://www.yaco.es
- Category: Primary link
- CA04 - Cl06. Create a secondary portal link that points to an url. Verify that in public view is visible and it points to the url.
- Name: TestTestCA04-Cl06 portal link
- URL: http://www.yaco.es
- Category: Secondary link
- CA04 - Cl07. Create a secondary portal link that points to a content. Verify that in public view is visible and it points to the content.
- Name: TestCA04-Cl07 portal link
- Content: TestCA04-Cl07 content
- Category: Secondary link
- CA04 - Cl08. Create a secondary portal link that points to a content and to an url at the same time. System should advise that it's not possible:
- Name: TestCA04-Cl08 portal link
- URL: http://www.yaco.es
- Content: TestCA04-Cl08 content
- Category: Secondary link
- CA04 - Cl09. Create a secondary portal link that doesn't point to any url or content. In public view it will point to home:
- Name: TestCA04-Cl09 portal link
- URL:
- Content:
- Category: Seconday link
- CA04 - Cl010. Order field test. Create two secondary portal links with different order and verify that it works:
- Name: TestCA04-Cl10first portal link, TestCA04-Cl10second portal link.
- URL: http://www.yaco.es
- Category: Secondary link
- CA04 - Cl011. Fields URL and order validation. Check that only numbers are allowed in order field and only valid urls are allowed in URL field.
CA05 Edit portal link
For editing a portal link you have to log in as admin and then you have to get into administration, particulary in the menu Portal links. Then you have to click the portal links that you want to edit. After making changes, you have to click save buttom. Test cases
- CA05 - Cl01. Edit url/content field. Create a primary portal link that points to an url. Save it and then delete the url and make the portal link points to a content. Then delete the content and make the portal link points to an url. Finally delete the url and try to save the portal link. We should be able to change between url and content but not for deleting both of them.
- Name: TestCA05-Cl01 portal link
- URL: http://www.yaco.es
- Content: TestCA05-Cl01 content
- Category: Primary link
- CA05 - Cl02. Edit name field. Create a primary portal link and save it. Then, change its name and check that in public view it's changed.
- Name: TestCA05-Cl02 portal link --> TestCA05-Cl02 portal link changed
- URL: http://www.yaco.es
- Category: Primary link
- CA05 - Cl03. Edit category field. Create a primary portal link and save it. Then make it secondary. Check that in public view it's changed.
- Name: TestCA05-Cl03 portal link
- URL: http://www.yaco.es
- Category: Primary link --> Secondary link
- CA05 - Cl04. Edit order field. Create two primary portal links with different order. Then exchange them and check that in public view the order is changed.
- Name: TestCA05-Cl04 portal link
- URL: http://www.yaco.es
- Category: Primary link --> Secondary link
CA06 Delete portal link
For deleting portal links you have to log in as admin and then you have to get into administration, particulary in the menu Portal links. Then you have to get into the portal link that you want to delete. Finally you have to click in delete link. Test cases
- CA06 - Cl01. Delete primary portal links. Create a primary portal link and delete it from its view.
- Name: TestCA06-Cl01 portal link
- URL: http://www.yaco.es
- Category: Primary link
- CA06 - Cl02. Delete secondary portal links. Create a secondary portal link and delete it from its view.
- Name: TestCA06-Cl02 portal link
- URL: http://www.yaco.es
- Category: Secondary link
- CA06 - Cl03. Delete primary portal links. Create a primary portal link and delete it from portal links list.
- Name: TestCA06-Cl03 portal link
- URL: http://www.yaco.es
- Category: Primary link
- CA06 - Cl04. Delete secondary portal links. Create a secondary portal link and delete it from portal links list.
- Name: TestCA06-Cl04 portal link
- URL: http://www.yaco.es
- Category: Secondary link
- CA06 - Cl05. Delete a primary/secondary portal link that points to a content and check that if you delete it, the content is not deleted.
- Name: TestCA06-Cl05 portal link
- URL: http://www.yaco.es
- Category: Primary link
- Content: TestCA05-Cl05 content
All delete tests are included in the other tests, so they won't be tested separately
