Acceptance Tests for Portals Package and Associated Modules
===========================================================

Portals Package
---------------

Default user Portal:

1. Go to /portals on your server.  You should see your personal
portal.  It should include a number of portlets, and no errors.  All
the links should work and you should be able to switch from one portal 
page to another.


Portal Customization:

1. Clicking the "Customize" link should bring you to a page where you
can rearrange your portal.  Make some changes and save them by clicking
"Save and Exit."  Returning to /portals/, your changes should have
taken effect.

2. Return to "Customize" and click the "revert" link.  Verify that the 
portal has returned to its default setting.


Administration (site-wide):

1. While logged in as a Site-Wide Administrator, enter
/admin/portals/.  You should see a page listing the portal domains
configured for your system.  If you've just installed Portals, the
only configured domain will be 'users'.  You should have links
allowing you to add a new portal domain, and to edit control panels.

2. Enter the 'users' portal domain by clicking its name.  You should
see a list of available portlets, including links to edit or delete
them, or to change their 'required' status.  Additionally, you should
have links enabling you to change the default portal configuration
and the portal display properties, to remove the domain, and to revert 
all portals in the domain.

3. You should be able to create a portlet for this portal domain using
both an ad-hoc HTML/ADP data feed, or a predefined Tcl data feed.  You
should not be able to create a portlet containing invalid ADP. You
should shown a correct and functional preview of your portlet before
it is created.

4. When creating or editing a portlet, you should be able to set a
link URL.  That URL should subsequently be linked from a small notepad
icon in the porlet's upper right corner.

4. From /admin/portals, verify that you can toggle a portlet's
'Required' flag.  Leave at least one portlet's required flag set to "Yes".

5. Choose "Default Portal Configuration" and make some changes to the
portal's default configuration.  Verify that you cannot remove
required portlets.

6. From /admin/portals, click "Revert all portals in ... Portal
Domain."  Verify that the portal at /portals is now using the new
default configuration.

7. From /admin/portals, click "Display Properties."  Change the
portal's display properties (say, the header color) and verify that
changes have taken effect on the portal.

8. Go to /admin/portals, choose "Add Portal Domain."  Add a domain for 
a group (how about "administration") and choose a used URL root for
the portal ("/admin" should work).  You should see an error telling
you that the directory already exists.  Back up and use an unused URL
root instead ("/adm" works for me, but you may need to choose
another).  Create the domain, and verify that it exists.


Domain Administration:

1. Go to /admin/portals, edit the 'administration' portal domain.
Create a few portlets and a default portal configuration.

2. Go to /portals/admin and verify that you can view and edit a few
group portals.


Group Portals:

1. Visit /adm/events, or the URL for some other group portal, and
verify that any changes you made in step 2 above have taken effect.


Portals and the Calendar Package
--------------------------------

1. If you have the Calendar Package installed, and are using the
portals-calendar package to generate calendar portlets, visit
/admin/portals.  Choose a portal domain, and within that domain,
choose "Create a New Portlet".  Verify that the following predefined
data feeds exist:

    Calendar
    Calendar 7-Day-View
    Calendar Day-View
    Calendar List-View
    Calendar Month-View
    Calendar New-Items
    Calendar Week-View
    Calendar Year-View
    Mini Calendar

2. Create a portlet for each calendar data feed.  Verify that the
links work and that all images are referenced correctly.


Portals and the Threaded BBoard Package
---------------------------------------

1. If you have the Threaded BBoard Package installed, and are using
the portals-threaded-bboard package to generate bboard portlets, visit
/admin/portals.  Choose a portal domain, and within that domain,
choose "Create a New Portlet".  Verify that the following predefined
data feeds exist:

    Bulletin Boards
    New Bboard Messages

2. If you don't actually have any bulletin boards, create a few and
post some test messages to them.  Create a user and group portlet for
each of the above data feeds, and verify that your messages appear and
are in context.

$Id: acceptance.txt,v 1.1.1.1 2001/01/24 18:03:35 tarik Exp $
