Difference between revisions of "Classifieds test"

From Second Life Wiki
Jump to navigation Jump to search
Line 10: Line 10:


== Create Classifieds (User A) ==
== Create Classifieds (User A) ==
=== Blank Classifieds ===
* Give away most of your money to User B.  Make sure you have less than L$250.
* Give away most of your money to User B.  Make sure you have less than L$250.
* If you already have classifieds, delete them.
* If you already have classifieds, delete them.
* Right click avatar and choose Profile .
* Select the "Classified" tab.
* Verify that the "Delete" button is not clickable.
* Click the "New" button.  Verify that a dialog box pops up informing the the length of the classified, and that you will be asked for a price to pay when clicking Publish.
* Click Cancel.  The dialog box should go away without no other change.
* Click the "New" button again, then click the "OK" button on the popup dialog.
* Verify that the button "Publish..." is not clickable.
* Click the Auto-renew checkbox, confirm that the Publish button is clickable.
* Verify that dialog box appears asking about mature content.
* Click Cancel and verify that no changes were made.
* Uncheck the Auto-renew checkbox, confirm that the Publish button is once again grayed out.
* Enter text in provided fields and press Publish button.
* Verify the mature content dialog appears.
* Click No and verify that two things happen:
** A dialog box appears asking for "Price for Ad (L$)".
** "Not Mature Content" is now selected in the parent dialog.
* Press Cancel and reset the Mature content to default setting "- Select Mature -".
* Bring up the Mature Content Dialog and click Yes this time
** Verify a dialog box appears asking for "Price for Ad (L$)".
** Verify "Mature "Mature Content" is now selected in the parent dialog.
* Enter a value larger than the L$ your avatar currently holds.
* Verify that a dialog appears warning you that ad fees are non refundable.
* Click Cancel verify that no classified has been created. Press Publish button and repeat previous two steps.
* Click Yes and verify that no Classified is created, and the user is informed that they have insufficient funds.
* The unpublished classified should have the following text, "Ad placed: Not yet published"
* Click on the Delete button at the top of the classified.
* Verify that a dialog appears warning the user that there are no reimbursements for fees paid to place ad.
* Click Cancel and confirm that ad is still visible.
* Bring up reimbursement warning dialog and click OK
* Verify ad has been removed and Delete button is grayed out.


===== Section I =====
# Right click avatar and choose Profile .
# Select the "Classified" tab.
#* Verify that the "Delete" button is not clickable.
# Click the "New" button. 
#* Verify that a dialog box pops up informing the user:
#** Where they may find their ad and how long it will be viewable.
#** How to add their ad to the classifieds directory.
#** That the more money paid to post the ad, the higher up the list it will appear in the directory.
# Click Cancel.  The dialog box should go away and no classifieds ad should be created.
# Click the "New" button again, then click the "OK" button on the popup dialog.
#* You should have a blank unpublished classified.
#* Verify that the button "Publish..." is not clickable.
# Click the Auto-renew checkbox
#* Confirm that the Publish button is no longer grayed out.
# Click the "Publish..." button.
#* Verify that dialog box appears informing user that a classified ad name is required.
# Click "Close" on the dialog box and uncheck the Auto-renew checkbox
#* Confirm that the Publish button is once again grayed out.
# Change the classified ad category type from ''Shopping'' to one of the other available category types (e.g. ''Service'').
#* Verify that the "Publish..." button is still grayed out. '''(currently this "Publish..." button is enabled when any category other than Shopping is selected)'''
# Set the Classified category type back to ''Shopping''.
# Click "Delete...".
#* Verify that a dialog appears warning the user that there are no reimbursements for fees paid to place ad.
# Click "Cancel" button.
#* Verify that nothing happens.
# Click "Delete..." button again, then click the "OK" button on the popup dialog.
#* Verify classified ad has been removed and delete button is once again grayed out.
# Create a new blank unpublished classified.
# Close Profile window.
# Go back to the classifieds tab ('''steps 1-2''')
#* Verify that no classified ads are visible.
===== Section II =====
* Create another unpublished classified
# Enter text in provided fields.
#* Verify that classified title can only hold 63 characters max.
#  Press "Publish..." button.
#* Verify that dialog box appears asking about mature content.
# Click No and verify that two things happen:
## A dialog box appears asking for "Price for Ad (L$)".
## "Not Mature Content" is now selected in the parent dialog.
# Press the Cancel button.
# Reset the Mature content to default setting "- Select Mature -".
# Bring up the Mature Content Dialog and click the Yes button this time.
#* Verify a dialog box appears asking for "Price for Ad (L$)".
#* Verify "Mature Content" is now selected in the parent dialog.
# Enter a value larger than the L$ your avatar currently holds.
#* Verify that a dialog appears warning you that ad fees are non refundable.
# Click Cancel verify that no classified has been created.
# Press Publish button and repeat '''steps 6-7'''.
# Click "Yes" and verify that Classified ad is not published
#* Verify dialog appears informing the user that they have insufficient funds.
#* The unpublished classified should still have the following text near the bottom of the ad, "Ad placed: Not yet published"
# Click "Map" button.
#* Verify Map window opens showing current location.
#* Note your current region name.
# Click "Set Location" button.
#* Verify text "(will update after publish)" and current map coordinates are inserted into ad.
# Minimize Profile window and fly to neighboring region.
# Restore Profile window and click "Teleport" button
#* Verify that you are teleported back to
# Repeat '''steps 11-13''' of '''Section I'''


=== Published Classifieds ===
===== Section III =====
* Have User B give User A back enough money to create plenty of classifieds.
* Have User B give User A back enough money to create plenty of classifieds.
* Click the "New" button again, then click the "OK" button on the popup dialog.
* We will be making some classifieds to test browsing with. We want to be able to search for just these classified, so make up a unique name to search forGive each classified this name and append a number (e.g. "DonTestClassified 1")
* You should have a blank classified.
 
* Click "Delete...", then click "Cancel"Verify that nothing happens.
* Click "Delete...", then click "Delete". Verify that the classified is removed.
* Create another classified using the "New" button.
* Verify that you can modify all fields.
* Click "Save Changes".


* We will be making some classifieds to test browsing with.  We want to be able to search for just these classified, so make up a name to search for.  Name each classified this, and append a number (e.g. "DonClassified 1")
# Create the following classified ads:
** ''<Name>'' 1, Shopping, Price 0, Not Mature, Not Published.
#* ''<Name>'' 1, Shopping, Price 0, Not Mature, Not Published.
** ''<Name>'' 2, Shopping, Price 0, Not Mature, Published.
#* ''<Name>'' 2, Shopping, Price 0, Not Mature, Published.
** ''<Name>'' 3, Property Rental, Price 0, Mature, Not Published.
#* ''<Name>'' 3, Property Rental, Price 0, Mature, Not Published.
** ''<Name>'' 4, Property Rental, Price 0, Mature, Published.
#* ''<Name>'' 4, Property Rental, Price 0, Mature, Published.
** ''<Name>'' 5, New Product, Price 100, Not Mature, Not Published.
#* ''<Name>'' 5, New Product, Price 100, Not Mature, Not Published.
** ''<Name>'' 6, New Product, Price 100, Not Mature, Published.
#* ''<Name>'' 6, New Product, Price 100, Not Mature, Published.
** ''<Name>'' 7, Service, Price 100, Mature, Not Published.
#* ''<Name>'' 7, Service, Price 100, Mature, Not Published.
** ''<Name>'' 8, Service, Price 100, Mature, Published.
#* ''<Name>'' 8, Service, Price 100, Mature, Published.
* Close the Profile floater.
# Close the Profile floater.
* Reopen the Profile floater, and open the Classified tab.
# Reopen the Profile floater, and open the Classified tab.
* Verify that all classifieds are there, with the correct information.
# Verify that all classifieds are there, with the correct information.


== Browse Classifieds (User B) ==
== Browse Classifieds (User B) ==

Revision as of 18:13, 1 July 2008

Classifieds Test

Classifieds are created in the Profile window, and browsed in the Search window.

Requirements:

User A

User B

Create Classifieds (User A)

Blank Classifieds

  • Give away most of your money to User B. Make sure you have less than L$250.
  • If you already have classifieds, delete them.
Section I
  1. Right click avatar and choose Profile .
  2. Select the "Classified" tab.
    • Verify that the "Delete" button is not clickable.
  3. Click the "New" button.
    • Verify that a dialog box pops up informing the user:
      • Where they may find their ad and how long it will be viewable.
      • How to add their ad to the classifieds directory.
      • That the more money paid to post the ad, the higher up the list it will appear in the directory.
  4. Click Cancel. The dialog box should go away and no classifieds ad should be created.
  5. Click the "New" button again, then click the "OK" button on the popup dialog.
    • You should have a blank unpublished classified.
    • Verify that the button "Publish..." is not clickable.
  6. Click the Auto-renew checkbox
    • Confirm that the Publish button is no longer grayed out.
  7. Click the "Publish..." button.
    • Verify that dialog box appears informing user that a classified ad name is required.
  8. Click "Close" on the dialog box and uncheck the Auto-renew checkbox
    • Confirm that the Publish button is once again grayed out.
  9. Change the classified ad category type from Shopping to one of the other available category types (e.g. Service).
    • Verify that the "Publish..." button is still grayed out. (currently this "Publish..." button is enabled when any category other than Shopping is selected)
  10. Set the Classified category type back to Shopping.
  11. Click "Delete...".
    • Verify that a dialog appears warning the user that there are no reimbursements for fees paid to place ad.
  12. Click "Cancel" button.
    • Verify that nothing happens.
  13. Click "Delete..." button again, then click the "OK" button on the popup dialog.
    • Verify classified ad has been removed and delete button is once again grayed out.
  14. Create a new blank unpublished classified.
  15. Close Profile window.
  16. Go back to the classifieds tab (steps 1-2)
    • Verify that no classified ads are visible.


Section II
  • Create another unpublished classified
  1. Enter text in provided fields.
    • Verify that classified title can only hold 63 characters max.
  2. Press "Publish..." button.
    • Verify that dialog box appears asking about mature content.
  3. Click No and verify that two things happen:
    1. A dialog box appears asking for "Price for Ad (L$)".
    2. "Not Mature Content" is now selected in the parent dialog.
  4. Press the Cancel button.
  5. Reset the Mature content to default setting "- Select Mature -".
  6. Bring up the Mature Content Dialog and click the Yes button this time.
    • Verify a dialog box appears asking for "Price for Ad (L$)".
    • Verify "Mature Content" is now selected in the parent dialog.
  7. Enter a value larger than the L$ your avatar currently holds.
    • Verify that a dialog appears warning you that ad fees are non refundable.
  8. Click Cancel verify that no classified has been created.
  9. Press Publish button and repeat steps 6-7.
  10. Click "Yes" and verify that Classified ad is not published
    • Verify dialog appears informing the user that they have insufficient funds.
    • The unpublished classified should still have the following text near the bottom of the ad, "Ad placed: Not yet published"
  11. Click "Map" button.
    • Verify Map window opens showing current location.
    • Note your current region name.
  12. Click "Set Location" button.
    • Verify text "(will update after publish)" and current map coordinates are inserted into ad.
  13. Minimize Profile window and fly to neighboring region.
  14. Restore Profile window and click "Teleport" button
    • Verify that you are teleported back to
  15. Repeat steps 11-13 of Section I


Published Classifieds

Section III
  • Have User B give User A back enough money to create plenty of classifieds.
  • We will be making some classifieds to test browsing with. We want to be able to search for just these classified, so make up a unique name to search for. Give each classified this name and append a number (e.g. "DonTestClassified 1")


  1. Create the following classified ads:
    • <Name> 1, Shopping, Price 0, Not Mature, Not Published.
    • <Name> 2, Shopping, Price 0, Not Mature, Published.
    • <Name> 3, Property Rental, Price 0, Mature, Not Published.
    • <Name> 4, Property Rental, Price 0, Mature, Published.
    • <Name> 5, New Product, Price 100, Not Mature, Not Published.
    • <Name> 6, New Product, Price 100, Not Mature, Published.
    • <Name> 7, Service, Price 100, Mature, Not Published.
    • <Name> 8, Service, Price 100, Mature, Published.
  2. Close the Profile floater.
  3. Reopen the Profile floater, and open the Classified tab.
  4. Verify that all classifieds are there, with the correct information.

Browse Classifieds (User B)

  • Open up the Classifieds tab in the Search window.
  • Verify that all 4 filters function correctly for searching:
    • Search: <String> should limit results to case-insensitive matches of <String>
    • The Category combo box should limit results to only the specified category.
    • Price: <Number> should limit results to classifieds with a price of <Number> or less
    • The Include mature content checkbox should work as expected.
  • Verify that clicking on the "Name" and "Price" buttons sorts results by those columns. Repeated clicking should reverse the sort order.
  • Search for a classified that wouldn't exist (typing random letters for Search: <String> should work). Verify that "None found." is shown as the results.
  • Click on a few of the results. Verify that the Name and Price info shown on the right matches the selected result.
  • Try to modify values in the panel on the right. Verify that you can't change any values.
  • Select a result. Click the "Map" button. Verify that the location shown on the map corresponds to the location displayed in Search.
  • Select a different result. Click the "Teleport" button. Verify that you teleport and now have the correct location marked on your map.
  • Search for User A's classifieds using the following filter, then click "Search":
    • Search: <Name> from the previous section
    • Any Category
    • Price <= Blank
    • Uncheck "Include mature content"
  • Verify that only classifieds 2 and 6 show up.
  • Check "Include mature content" and click search.
  • Verify that classifieds 2, 4, 6, and 8 now show up.
  • Set Price <= to 99 and click search.
  • Verify that classifieds 2 and 4 show up.
  • Blank the Price <= field again.
  • Search for various categories. The following results should match up:
    • Shopping --> classified 2
    • Property Rental --> classified 4
    • New product --> classified 6
    • Service --> classified 8
  • Select a result. Click the "Profile" button. Verify that a User A's Profile appears.
  • Click the "Classified" tab for the Profile panel that just appeared. Verify that you can view all of User A's classifieds.
  • Verify that you can't modify any classifieds information via the Profile window.
  • Close the Profile window.
  • Make sure "Include mature content" is checked.
  • Log out, and log back in.
  • Re-open the Classifieds in the Search window.
  • Verify that the "Include mature content" checkbox is still checked.